FatFS
disk_ioctl
is only used within FatFS.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (1/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
FatFS
disk_ioctl
disk_ioctl macro
Syntax
Show:
Summary
Declaration
from
ffconf.h:367
#define
disk_ioctl
ff_disk_ioctl
Examples
References
from
examples
Code
Location
#define
disk_ioctl
ff_disk_ioctl
ffconf.h:367
DRESULT
disk_ioctl
(
BYTE
pdrv
,
BYTE
cmd
,
void
*
buff
)
;
diskio.h:35
if
(
disk_ioctl
(
fs
->
pdrv
,
CTRL_SYNC
,
0
)
!=
RES_OK
)
res
=
FR_DISK_ERR
;
ff.c:1135
disk_ioctl
(
fs
->
pdrv
,
CTRL_TRIM
,
rt
)
;
/* Inform storage device that the data in the block may be erased */
ff.c:1485
if
(
disk_ioctl
(
fs
->
pdrv
,
GET_SECTOR_SIZE
,
&
SS
(
fs
)
)
!=
RES_OK
)
return
FR_DISK_ERR
;
ff.c:3441
if
(
disk_ioctl
(
drv
,
GET_SECTOR_COUNT
,
&
sz_drv
)
!=
RES_OK
)
return
FR_DISK_ERR
;
ff.c:5794
if
(
sz_blk
==
0
)
disk_ioctl
(
pdrv
,
GET_BLOCK_SIZE
,
&
sz_blk
)
;
/* Block size from the paramter or lower layer */
ff.c:5962
if
(
disk_ioctl
(
pdrv
,
GET_SECTOR_SIZE
,
&
ss
)
!=
RES_OK
)
return
FR_DISK_ERR
;
ff.c:5965
if
(
disk_ioctl
(
pdrv
,
GET_SECTOR_COUNT
,
&
sz_vol
)
!=
RES_OK
)
LEAVE_MKFS
(
FR_DISK_ERR
)
;
ff.c:6024
disk_ioctl
(
pdrv
,
CTRL_TRIM
,
lba
)
;
ff.c:6307
if
(
disk_ioctl
(
pdrv
,
CTRL_SYNC
,
0
)
!=
RES_OK
)
LEAVE_MKFS
(
FR_DISK_ERR
)
;
ff.c:6418
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
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