FatFS
RES_OK
is only used within FatFS.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
FatFS
RES_OK
RES_OK value
Syntax
Show:
Summary
Declaration
from
diskio.h:19
RES_OK
=
0
;
Examples
References
from
examples
Code
Location
Referrer
RES_OK
=
0
,
/* 0: Successful */
diskio.h:19
return
RES_OK
;
diskio_rawflash.c:83
ff_raw_read()
return
RES_OK
;
diskio_rawflash.c:99
ff_raw_ioctl()
return
RES_OK
;
diskio_rawflash.c:102
ff_raw_ioctl()
return
RES_OK
;
diskio_rawflash.c:105
ff_raw_ioctl()
return
RES_OK
;
diskio_sdmmc.c:59
ff_sdmmc_read()
return
RES_OK
;
diskio_sdmmc.c:71
ff_sdmmc_write()
return
RES_OK
;
diskio_sdmmc.c:87
ff_sdmmc_trim()
return
RES_OK
;
diskio_sdmmc.c:97
ff_sdmmc_ioctl()
return
RES_OK
;
diskio_sdmmc.c:100
ff_sdmmc_ioctl()
return
RES_OK
;
diskio_sdmmc.c:103
ff_sdmmc_ioctl()
return
RES_OK
;
diskio_wl.c:42
ff_wl_read()
return
RES_OK
;
diskio_wl.c:60
ff_wl_write()
return
RES_OK
;
diskio_wl.c:70
ff_wl_ioctl()
return
RES_OK
;
diskio_wl.c:73
ff_wl_ioctl()
return
RES_OK
;
diskio_wl.c:76
ff_wl_ioctl()
if
(
disk_write
(
fs
->
pdrv
,
fs
->
win
,
fs
->
winsect
,
1
)
==
RES_OK
)
{
/* Write it back into the volume */
ff.c:1068
sync_window()
if
(
disk_read
(
fs
->
pdrv
,
fs
->
win
,
sect
,
1
)
!=
RES_OK
)
{
ff.c:1095
move_window()
if
(
disk_ioctl
(
fs
->
pdrv
,
CTRL_SYNC
,
0
)
!=
RES_OK
)
res
=
FR_DISK_ERR
;
ff.c:1135
sync_fs()
for
(
n
=
0
;
n
<
fs
->
csize
&&
disk_write
(
fs
->
pdrv
,
ibuf
,
sect
+
n
,
szb
)
==
RES_OK
;
n
+=
szb
)
;
/* Fill the cluster with 0 */
ff.c:1683
dir_clear()
for
(
n
=
0
;
n
<
fs
->
csize
&&
disk_write
(
fs
->
pdrv
,
ibuf
,
sect
+
n
,
szb
)
==
RES_OK
;
n
+=
szb
)
;
/* Fill the cluster with 0 */
ff.c:1689
dir_clear()
if
(
disk_ioctl
(
fs
->
pdrv
,
GET_SECTOR_SIZE
,
&
SS
(
fs
)
)
!=
RES_OK
)
return
FR_DISK_ERR
;
ff.c:3441
mount_volume()
if
(
disk_read
(
fs
->
pdrv
,
fp
->
buf
,
fp
->
sect
,
1
)
!=
RES_OK
)
res
=
FR_DISK_ERR
;
ff.c:3913
f_open()
if
(
disk_read
(
fs
->
pdrv
,
rbuff
,
sect
,
cc
)
!=
RES_OK
)
ABORT
(
fs
,
FR_DISK_ERR
)
;
ff.c:4002
f_read()
if
(
disk_write
(
fs
->
pdrv
,
fp
->
buf
,
fp
->
sect
,
1
)
!=
RES_OK
)
ABORT
(
fs
,
FR_DISK_ERR
)
;
ff.c:4021
f_read()
if
(
disk_read
(
fs
->
pdrv
,
fp
->
buf
,
sect
,
1
)
!=
RES_OK
)
ABORT
(
fs
,
FR_DISK_ERR
)
;
/* Fill sector cache */
ff.c:4025
f_read()
if
(
disk_write
(
fs
->
pdrv
,
fp
->
buf
,
fp
->
sect
,
1
)
!=
RES_OK
)
ABORT
(
fs
,
FR_DISK_ERR
)
;
ff.c:4105
f_write()
if
(
disk_write
(
fs
->
pdrv
,
wbuff
,
sect
,
cc
)
!=
RES_OK
)
ABORT
(
fs
,
FR_DISK_ERR
)
;
ff.c:4117
f_write()
disk_read
(
fs
->
pdrv
,
fp
->
buf
,
sect
,
1
)
!=
RES_OK
)
{
ff.c:4142
f_write()
if
(
disk_write
(
fs
->
pdrv
,
fp
->
buf
,
fp
->
sect
,
1
)
!=
RES_OK
)
LEAVE_FF
(
fs
,
FR_DISK_ERR
)
;
ff.c:4187
f_sync()
if
(
disk_write
(
fs
->
pdrv
,
fp
->
buf
,
fp
->
sect
,
1
)
!=
RES_OK
)
ABORT
(
fs
,
FR_DISK_ERR
)
;
ff.c:4618
f_lseek()
if
(
disk_read
(
fs
->
pdrv
,
fp
->
buf
,
nsect
,
1
)
!=
RES_OK
)
ABORT
(
fs
,
FR_DISK_ERR
)
;
/* Fill sector cache */
ff.c:4622
f_lseek()
if
(
disk_write
(
fs
->
pdrv
,
fp
->
buf
,
fp
->
sect
,
1
)
!=
RES_OK
)
{
ff.c:4983
f_truncate()
if
(
disk_ioctl
(
drv
,
GET_SECTOR_COUNT
,
&
sz_drv
)
!=
RES_OK
)
return
FR_DISK_ERR
;
ff.c:5794
create_partition()
if
(
disk_write
(
drv
,
buf
,
0
,
1
)
!=
RES_OK
)
return
FR_DISK_ERR
;
/* Write it to the MBR */
ff.c:5915
create_partition()
if
(
disk_ioctl
(
pdrv
,
GET_SECTOR_SIZE
,
&
ss
)
!=
RES_OK
)
return
FR_DISK_ERR
;
ff.c:5965
f_mkfs()
if
(
disk_read
(
pdrv
,
buf
,
0
,
1
)
!=
RES_OK
)
LEAVE_MKFS
(
FR_DISK_ERR
)
;
/* Load MBR */
ff.c:5991
f_mkfs()
if
(
disk_ioctl
(
pdrv
,
GET_SECTOR_COUNT
,
&
sz_vol
)
!=
RES_OK
)
LEAVE_MKFS
(
FR_DISK_ERR
)
;
ff.c:6024
f_mkfs()
if
(
disk_write
(
pdrv
,
buf
,
b_vol
,
1
)
!=
RES_OK
)
LEAVE_MKFS
(
FR_DISK_ERR
)
;
/* Write it to the VBR sector */
ff.c:6343
f_mkfs()
if
(
disk_write
(
pdrv
,
buf
,
sect
,
(
UINT
)
n
)
!=
RES_OK
)
LEAVE_MKFS
(
FR_DISK_ERR
)
;
ff.c:6372
f_mkfs()
if
(
disk_write
(
pdrv
,
buf
,
sect
,
(
UINT
)
n
)
!=
RES_OK
)
LEAVE_MKFS
(
FR_DISK_ERR
)
;
ff.c:6382
f_mkfs()
if
(
disk_read
(
pdrv
,
buf
,
0
,
1
)
!=
RES_OK
)
LEAVE_MKFS
(
FR_DISK_ERR
)
;
/* Read the MBR */
ff.c:6406
f_mkfs()
if
(
disk_write
(
pdrv
,
buf
,
0
,
1
)
!=
RES_OK
)
LEAVE_MKFS
(
FR_DISK_ERR
)
;
/* Write it back to the MBR */
ff.c:6408
f_mkfs()
if
(
disk_ioctl
(
pdrv
,
CTRL_SYNC
,
0
)
!=
RES_OK
)
LEAVE_MKFS
(
FR_DISK_ERR
)
;
ff.c:6418
f_mkfs()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
RES_OK
is read by 22 functions:
All items filtered out
RES_OK
ff_raw_read()
ff_raw_ioctl()
ff_wl_read()
ff_wl_write()
ff_wl_ioctl()
sync_window()
move_window()
sync_fs()
dir_clear()
mount_volume()
f_open()
f_read()
f_write()
f_sync()
f_lseek()
f_truncate()
create_partition()
f_mkfs()
ff_sdmmc_read()
ff_sdmmc_write()
ff_sdmmc_trim()
ff_sdmmc_ioctl()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out