FatFS
f_expand()
is only used within FatFS.
Symbol previews are coming soon...
Symbols
loading (4/5)...
Files
loading (5/5)...
FatFS
diskio
port
src
diskio.h
ff.c
FatFs
Fsid
ExCvt
ld_word()
ld_dword()
st_word()
st_dword()
dbc_1st()
dbc_2nd()
lock_volume()
unlock_volume()
sync_window()
move_window()
sync_fs()
clst2sect()
get_fat()
put_fat()
remove_chain()
create_chain()
dir_clear()
dir_sdi()
dir_next()
dir_alloc()
ld_clust()
st_clust()
dir_read()
dir_find()
dir_register()
dir_remove()
get_fileinfo()
create_name()
follow_path()
get_ldnumber()
check_fs()
find_volume()
mount_volume()
validate()
f_mount()
f_open()
f_read()
f_write()
f_sync()
f_close()
f_lseek()
f_opendir()
f_closedir()
f_readdir()
f_stat()
f_getfree()
f_truncate()
f_unlink()
f_mkdir()
f_rename()
f_chmod()
f_utime()
f_expand()
create_partition()
f_mkfs()
f_fdisk()
ff.h
ffconf.h
ffunicode.c
vfs
ESP-IDF
lwIP
FreeRTOS
cJSON
Summary
Syntax
Arguments
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
FatFS
f_expand()
f_expand() function
Syntax
Show:
Summary
Declaration
Definition
from
ff.h:337
FRESULT
f_expand
(
FIL
*
fp
,
FSIZE_t
fsz
,
BYTE
opt
)
;
Implemented in
ff.c:5606
Arguments
Argument
fp
fsz
opt
Related Functions
Found 14 other functions taking a
FIL
argument:
Function
f_lseek()
f_close()
f_open()
f_write()
f_read()
f_truncate()
f_sync()
f_write_zero_mem()
test_contiguous_file()
f_forward()
f_putc()
f_puts()
f_printf()
f_gets()
Examples
References
from
examples
Code
Location
Referrer
FRESULT
f_expand
(
ff.c:5606
FRESULT
f_expand
(
FIL
*
fp
,
FSIZE_t
fsz
,
BYTE
opt
)
;
/* Allocate a contiguous block to the file */
ff.h:337
res
=
f_expand
(
file
,
size
,
alloc_now
?
1
:
0
)
;
vfs_fat.c:1420
esp_vfs_fat_create_contiguous_file()
Call Tree
from
examples
f_expand()
is called by 1 function and calls 4 functions:
esp_vfs_fat_create_contiguous_file()
All items filtered out
f_expand()
validate()
get_fat()
unlock_volume()
put_fat()
All items filtered out
Data Use
from
examples
f_expand()
reads 14 variables and writes 7 variables:
FFOBJID::objsize
FIL::obj
FIL::flag
FIL::err
FRESULT::FR_OK
FRESULT::FR_DISK_ERR
FRESULT::FR_INT_ERR
FRESULT::FR_DENIED
FATFS::fsi_flag
FATFS::csize
FATFS::ssize
FATFS::last_clst
FATFS::free_clst
FATFS::n_fatent
All items filtered out
f_expand()
FFOBJID::objsize
FIL::flag
FATFS::fsi_flag
FATFS::last_clst
FATFS::free_clst
FFOBJID::stat
FFOBJID::sclust
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