FatFS
dir_alloc()
is only used within FatFS.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
FatFS
dir_alloc()
dir_alloc() function
Syntax
Show:
Summary
Declaration
from
ff.c:1811
static
FRESULT
dir_alloc
(
FF_DIR
*
dp
,
UINT
n_ent
)
;
Arguments
Argument
dp
n_ent
Related Functions
Found 14 other functions taking a
FF_DIR
argument:
Function
follow_path()
dir_sdi()
dir_next()
f_readdir()
dir_register()
f_opendir()
f_closedir()
dir_read()
dir_find()
dir_remove()
get_fileinfo()
create_name()
f_findfirst()
f_findnext()
Examples
References
from
examples
Code
Location
Referrer
static
FRESULT
dir_alloc
(
/* FR_OK(0):succeeded, !=0:error */
ff.c:1811
res
=
dir_alloc
(
dp
,
n_ent
)
;
/* Allocate entries */
ff.c:2531
dir_register()
res
=
dir_alloc
(
dp
,
1
)
;
/* Allocate an entry for SFN */
ff.c:2547
dir_register()
Call Tree
from
examples
dir_alloc()
is called by 1 function and calls 3 functions:
dir_register()
All items filtered out
dir_alloc()
move_window()
dir_next()
dir_sdi()
All items filtered out
Data Use
from
examples
dir_alloc()
reads 7 variables:
FF_DIR::obj
FF_DIR::sect
FF_DIR::dir
FRESULT::FR_OK
FRESULT::FR_NO_FILE
FRESULT::FR_DENIED
FFOBJID::fs
All items filtered out
dir_alloc()
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