FatFS
ff_disk_ioctl()
is only used within FatFS.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
FatFS
ff_disk_ioctl()
ff_disk_ioctl() function
Syntax
Show:
Summary
Declaration
Definition
from
diskio.h:35
DRESULT
disk_ioctl
(
BYTE
pdrv
,
BYTE
cmd
,
void
*
buff
)
;
Implemented in
diskio.c:102
Arguments
Argument
pdrv
cmd
buff
Examples
References
from
examples
Code
Location
Referrer
DRESULT
ff_disk_ioctl
(
BYTE
pdrv
,
BYTE
cmd
,
void
*
buff
)
diskio.c:102
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
sync_fs()
disk_ioctl
(
fs
->
pdrv
,
CTRL_TRIM
,
rt
)
;
/* Inform storage device that the data in the block may be erased */
ff.c:1485
remove_chain()
if
(
disk_ioctl
(
fs
->
pdrv
,
GET_SECTOR_SIZE
,
&
SS
(
fs
)
)
!=
RES_OK
)
return
FR_DISK_ERR
;
ff.c:3441
mount_volume()
if
(
disk_ioctl
(
drv
,
GET_SECTOR_COUNT
,
&
sz_drv
)
!=
RES_OK
)
return
FR_DISK_ERR
;
ff.c:5794
create_partition()
if
(
sz_blk
==
0
)
disk_ioctl
(
pdrv
,
GET_BLOCK_SIZE
,
&
sz_blk
)
;
/* Block size from the paramter or lower layer */
ff.c:5962
f_mkfs()
if
(
disk_ioctl
(
pdrv
,
GET_SECTOR_SIZE
,
&
ss
)
!=
RES_OK
)
return
FR_DISK_ERR
;
ff.c:5965
f_mkfs()
if
(
disk_ioctl
(
pdrv
,
GET_SECTOR_COUNT
,
&
sz_vol
)
!=
RES_OK
)
LEAVE_MKFS
(
FR_DISK_ERR
)
;
ff.c:6024
f_mkfs()
disk_ioctl
(
pdrv
,
CTRL_TRIM
,
lba
)
;
ff.c:6307
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
ff_disk_ioctl()
is called by 5 functions and calls 1 function:
sync_fs()
remove_chain()
mount_volume()
create_partition()
f_mkfs()
All items filtered out
ff_disk_ioctl()
ff_diskio_impl_t::ioctl
All items filtered out
Data Use
from
examples
ff_disk_ioctl()
reads 1 variable:
s_impls
All items filtered out
ff_disk_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