ESP-IDF
spiffs_fd
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (1/5)...
Summary
Syntax
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
spiffs_fd
spiffs_fd struct
Syntax
Show:
Summary
Declaration
from
spiffs_nucleus.h:441
typedef
struct
{
spiffs
*
fs
;
spiffs_file
file_nbr
;
spiffs_obj_id
obj_id
;
u32_t
size
;
spiffs_page_ix
objix_hdr_pix
;
spiffs_page_ix
cursor_objix_pix
;
spiffs_span_ix
cursor_objix_spix
;
u32_t
offset
;
u32_t
fdoffset
;
spiffs_flags
flags
;
#if
SPIFFS_CACHE_WR
spiffs_cache_page
*
cache_page
;
#endif
#if
SPIFFS_TEMPORAL_FD_CACHE
u32_t
name_hash
;
u16_t
score
;
#endif
#if
SPIFFS_IX_MAP
spiffs_ix_map
*
ix_map
;
#endif
}
spiffs_fd
;
Fields
Field
Declared as
spiffs_fd::fs
spiffs
*
spiffs_fd::file_nbr
spiffs_file
spiffs_fd::obj_id
spiffs_obj_id
spiffs_fd::size
u32_t
spiffs_fd::objix_hdr_pix
spiffs_page_ix
spiffs_fd::cursor_objix_pix
spiffs_page_ix
spiffs_fd::cursor_objix_spix
spiffs_span_ix
spiffs_fd::offset
u32_t
spiffs_fd::fdoffset
u32_t
spiffs_fd::flags
spiffs_flags
spiffs_fd::cache_page
spiffs_cache_page
*
spiffs_fd::name_hash
u32_t
spiffs_fd::score
u16_t
spiffs_fd::ix_map
spiffs_ix_map
*
Related Functions
Found 16 other functions taking a
spiffs_fd
argument:
Function
spiffs_object_update_index_hdr()
spiffs_fd_get()
spiffs_page_index_check()
spiffs_object_open_by_page()
spiffs_object_truncate()
spiffs_fd_find_new()
spiffs_populate_ix_map()
spiffs_hydro_write()
spiffs_page_data_check()
spiffs_object_read()
spiffs_cache_page_get_by_fd()
spiffs_object_append()
spiffs_object_modify()
spiffs_cache_page_allocate_by_fd()
spiffs_update_ix_map()
spiffs_object_open_by_id()
Examples
References
from
examples
Code
Location
Scope
Referrer
typedef
struct
{
spiffs_nucleus.h:441
}
spiffs_fd
;
spiffs_nucleus.h:475
efs
->
fds_sz
=
conf
->
max_files
*
sizeof
(
spiffs_fd
)
;
esp_spiffs.c:230
esp_spiffs_init()
spiffs_cache_page
*
spiffs_cache_page_get_by_fd
(
spiffs
*
fs
,
spiffs_fd
*
fd
)
{
spiffs_cache.c:227
spiffs_cache_page_get_by_fd()
spiffs_cache_page_get_by_fd()::fd
spiffs_cache_page
*
spiffs_cache_page_allocate_by_fd
(
spiffs
*
fs
,
spiffs_fd
*
fd
)
{
spiffs_cache.c:250
spiffs_cache_page_allocate_by_fd()
spiffs_cache_page_allocate_by_fd()::fd
spiffs_fd
*
fds
=
(
spiffs_fd
*
)
fs
->
fd_space
;
spiffs_cache.c:271
spiffs_cache_fd_release()
spiffs_fd
*
cur_fd
=
&
fds
[
i
]
;
spiffs_cache.c:273
spiffs_cache_fd_release()
fs
->
fd_count
=
(
fd_space_size
/
sizeof
(
spiffs_fd
)
)
;
spiffs_hydrogen.c:105
SPIFFS_mount()
spiffs_fd
*
fds
=
(
spiffs_fd
*
)
fs
->
fd_space
;
spiffs_hydrogen.c:160
SPIFFS_unmount()
spiffs_fd
*
cur_fd
=
&
fds
[
i
]
;
spiffs_hydrogen.c:162
SPIFFS_unmount()
spiffs_fd
*
fd
;
spiffs_hydrogen.c:219
SPIFFS_open()
spiffs_fd
*
fd
;
spiffs_hydrogen.c:296
SPIFFS_open_by_dirent()
spiffs_fd
*
fd
;
spiffs_hydrogen.c:329
SPIFFS_open_by_page()
spiffs_fd
*
fd
;
spiffs_hydrogen.c:375
spiffs_hydro_read()
static
s32_t
spiffs_hydro_write
(
spiffs
*
fs
,
spiffs_fd
*
fd
,
void
*
buf
,
u32_t
offset
,
s32_t
len
)
{
spiffs_hydrogen.c:435
spiffs_hydro_write()
spiffs_hydro_write()::fd
spiffs_fd
*
fd
;
spiffs_hydrogen.c:468
SPIFFS_write()
spiffs_fd
*
fd
;
spiffs_hydrogen.c:603
SPIFFS_lseek()
spiffs_fd
*
fd
;
spiffs_hydrogen.c:662
SPIFFS_remove()
spiffs_fd
*
fd
;
spiffs_hydrogen.c:702
SPIFFS_fremove()
spiffs_fd
*
fd
;
spiffs_hydrogen.c:736
SPIFFS_ftruncate()
spiffs_fd
*
fd
;
spiffs_hydrogen.c:820
SPIFFS_fstat()
spiffs_fd
*
fd
;
spiffs_hydrogen.c:847
spiffs_fflush_cache()
spiffs_fd
*
fd
;
spiffs_hydrogen.c:927
SPIFFS_rename()
spiffs_fd
*
fd
;
spiffs_hydrogen.c:978
SPIFFS_update_meta()
spiffs_fd
*
fd
;
spiffs_hydrogen.c:1015
SPIFFS_fupdate_meta()
spiffs_fd
*
fd
;
spiffs_hydrogen.c:1237
SPIFFS_eof()
spiffs_fd
*
fd
;
spiffs_hydrogen.c:1261
SPIFFS_tell()
spiffs_fd
*
fd
;
spiffs_hydrogen.c:1296
SPIFFS_ix_map()
spiffs_fd
*
fd
;
spiffs_hydrogen.c:1329
SPIFFS_ix_unmap()
spiffs_fd
*
fd
;
spiffs_hydrogen.c:1352
SPIFFS_ix_remap()
static
s32_t
spiffs_page_data_check
(
spiffs
*
fs
,
spiffs_fd
*
fd
,
spiffs_page_ix
pix
,
spiffs_span_ix
spix
)
{
spiffs_nucleus.c:4
spiffs_page_data_check()
spiffs_page_data_check()::fd
static
s32_t
spiffs_page_index_check
(
spiffs
*
fs
,
spiffs_fd
*
fd
,
spiffs_page_ix
pix
,
spiffs_span_ix
spix
)
{
spiffs_nucleus.c:33
spiffs_page_index_check()
spiffs_page_index_check()::fd
spiffs_fd
*
fd
,
spiffs_span_ix
objix_spix
,
spiffs_page_object_ix
*
objix
)
{
spiffs_nucleus.c:607
spiffs_update_ix_map()
spiffs_update_ix_map()::fd
spiffs_fd
*
fd
;
spiffs_nucleus.c:659
spiffs_ix_map_populate_state
spiffs_ix_map_populate_state::fd
s32_t
spiffs_populate_ix_map
(
spiffs
*
fs
,
spiffs_fd
*
fd
,
u32_t
vec_entry_start
,
u32_t
vec_entry_end
)
{
spiffs_nucleus.c:712
spiffs_populate_ix_map()
spiffs_populate_ix_map()::fd
spiffs_fd
*
fd
,
spiffs_nucleus.c:992
spiffs_object_update_index_hdr()
spiffs_object_update_index_hdr()::fd
spiffs_fd
*
fds
=
(
spiffs_fd
*
)
fs
->
fd_space
;
spiffs_nucleus.c:1067
spiffs_cb_object_event()
spiffs_fd
*
cur_fd
=
&
fds
[
i
]
;
spiffs_nucleus.c:1071
spiffs_cb_object_event()
spiffs_fd
*
cur_fd
=
&
fds
[
i
]
;
spiffs_nucleus.c:1134
spiffs_cb_object_event()
spiffs_fd
*
fd
,
spiffs_nucleus.c:1169
spiffs_object_open_by_id()
spiffs_fd
*
fd
,
spiffs_nucleus.c:1187
spiffs_object_open_by_page()
s32_t
spiffs_object_append
(
spiffs_fd
*
fd
,
u32_t
offset
,
u8_t
*
data
,
u32_t
len
)
{
spiffs_nucleus.c:1224
spiffs_object_append()
spiffs_object_append()::fd
s32_t
spiffs_object_modify
(
spiffs_fd
*
fd
,
u32_t
offset
,
u8_t
*
data
,
u32_t
len
)
{
spiffs_nucleus.c:1471
spiffs_object_modify()
spiffs_object_modify()::fd
spiffs_fd
*
fd
,
spiffs_nucleus.c:1740
spiffs_object_truncate()
spiffs_object_truncate()::fd
spiffs_fd
*
fd
,
spiffs_nucleus.c:1979
spiffs_object_read()
spiffs_object_read()::fd
s32_t
spiffs_fd_find_new
(
spiffs
*
fs
,
spiffs_fd
*
*
fd
,
const
char
*
name
)
{
spiffs_nucleus.c:2254
spiffs_fd_find_new()
spiffs_fd_find_new()::fd
spiffs_fd
*
fds
=
(
spiffs_fd
*
)
fs
->
fd_space
;
spiffs_nucleus.c:2260
spiffs_fd_find_new()
spiffs_fd
*
cur_fd
=
&
fds
[
i
]
;
spiffs_nucleus.c:2265
spiffs_fd_find_new()
spiffs_fd
*
cur_fd
=
&
fds
[
i
]
;
spiffs_nucleus.c:2276
spiffs_fd_find_new()
spiffs_fd
*
cur_fd
=
&
fds
[
cand_ix
]
;
spiffs_nucleus.c:2290
spiffs_fd_find_new()
spiffs_fd
*
fds
=
(
spiffs_fd
*
)
fs
->
fd_space
;
spiffs_nucleus.c:2336
spiffs_fd_return()
spiffs_fd
*
fd
=
&
fds
[
f
-
1
]
;
spiffs_nucleus.c:2337
spiffs_fd_return()
s32_t
spiffs_fd_get
(
spiffs
*
fs
,
spiffs_file
f
,
spiffs_fd
*
*
fd
)
{
spiffs_nucleus.c:2348
spiffs_fd_get()
spiffs_fd_get()::fd
spiffs_fd
*
fds
=
(
spiffs_fd
*
)
fs
->
fd_space
;
spiffs_nucleus.c:2352
spiffs_fd_get()
spiffs_fd
*
fds
=
(
spiffs_fd
*
)
fs
->
fd_space
;
spiffs_nucleus.c:2368
spiffs_fd_temporal_cache_rehash()
spiffs_fd
*
cur_fd
=
&
fds
[
i
]
;
spiffs_nucleus.c:2370
spiffs_fd_temporal_cache_rehash()
}
spiffs_fd
;
spiffs_nucleus.h:475
spiffs_fd
spiffs_fd
*
fd
,
spiffs_nucleus.h:673
spiffs_object_update_index_hdr()
spiffs_object_update_index_hdr()::fd
spiffs_fd
*
fd
,
spiffs_nucleus.h:686
spiffs_populate_ix_map()
spiffs_populate_ix_map()::fd
spiffs_fd
*
f
,
spiffs_nucleus.h:704
spiffs_object_open_by_id()
spiffs_object_open_by_id()::f
spiffs_fd
*
f
,
spiffs_nucleus.h:711
spiffs_object_open_by_page()
spiffs_object_open_by_page()::f
spiffs_fd
*
fd
,
spiffs_nucleus.h:716
spiffs_object_append()
spiffs_object_append()::fd
spiffs_fd
*
fd
,
spiffs_nucleus.h:722
spiffs_object_modify()
spiffs_object_modify()::fd
spiffs_fd
*
fd
,
spiffs_nucleus.h:728
spiffs_object_read()
spiffs_object_read()::fd
spiffs_fd
*
fd
,
spiffs_nucleus.h:734
spiffs_object_truncate()
spiffs_object_truncate()::fd
spiffs_fd
*
*
fd
,
spiffs_nucleus.h:770
spiffs_fd_find_new()
spiffs_fd_find_new()::fd
spiffs_fd
*
*
fd
)
;
spiffs_nucleus.h:780
spiffs_fd_get()
spiffs_fd_get()::fd
spiffs_fd
*
fd
)
;
spiffs_nucleus.h:800
spiffs_cache_page_allocate_by_fd()
spiffs_cache_page_allocate_by_fd()::fd
spiffs_fd
*
fd
)
;
spiffs_nucleus.h:808
spiffs_cache_page_get_by_fd()
spiffs_cache_page_get_by_fd()::fd
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
Instance
Scope
Location
Project
spiffs_object_update_index_hdr()::fd
spiffs_object_update_index_hdr()
spiffs_nucleus.h:673
spiffs_populate_ix_map()::fd
spiffs_populate_ix_map()
spiffs_nucleus.h:686
spiffs_object_open_by_id()::f
spiffs_object_open_by_id()
spiffs_nucleus.h:704
spiffs_object_open_by_page()::f
spiffs_object_open_by_page()
spiffs_nucleus.h:711
spiffs_object_append()::fd
spiffs_object_append()
spiffs_nucleus.h:716
spiffs_object_modify()::fd
spiffs_object_modify()
spiffs_nucleus.h:722
spiffs_object_read()::fd
spiffs_object_read()
spiffs_nucleus.h:728
spiffs_object_truncate()::fd
spiffs_object_truncate()
spiffs_nucleus.h:734
spiffs_fd_find_new()::fd
spiffs_fd_find_new()
spiffs_nucleus.h:770
spiffs_fd_get()::fd
spiffs_fd_get()
spiffs_nucleus.h:780
spiffs_cache_page_allocate_by_fd()::fd
spiffs_cache_page_allocate_by_fd()
spiffs_nucleus.h:800
spiffs_cache_page_get_by_fd()::fd
spiffs_cache_page_get_by_fd()
spiffs_nucleus.h:808
spiffs_cache_page_get_by_fd()::fd
spiffs_cache_page_get_by_fd()
spiffs_cache.c:227
spiffs_cache_page_allocate_by_fd()::fd
spiffs_cache_page_allocate_by_fd()
spiffs_cache.c:250
spiffs_hydro_write()::fd
spiffs_hydro_write()
spiffs_hydrogen.c:435
spiffs_page_data_check()::fd
spiffs_page_data_check()
spiffs_nucleus.c:4
spiffs_page_index_check()::fd
spiffs_page_index_check()
spiffs_nucleus.c:33
spiffs_update_ix_map()::fd
spiffs_update_ix_map()
spiffs_nucleus.c:607
spiffs_ix_map_populate_state::fd
spiffs_ix_map_populate_state
spiffs_nucleus.c:659
spiffs_populate_ix_map()::fd
spiffs_populate_ix_map()
spiffs_nucleus.c:712
spiffs_object_update_index_hdr()::fd
spiffs_object_update_index_hdr()
spiffs_nucleus.c:992
spiffs_object_append()::fd
spiffs_object_append()
spiffs_nucleus.c:1224
spiffs_object_modify()::fd
spiffs_object_modify()
spiffs_nucleus.c:1471
spiffs_object_truncate()::fd
spiffs_object_truncate()
spiffs_nucleus.c:1740
spiffs_object_read()::fd
spiffs_object_read()
spiffs_nucleus.c:1979
spiffs_fd_find_new()::fd
spiffs_fd_find_new()
spiffs_nucleus.c:2254
spiffs_fd_get()::fd
spiffs_fd_get()
spiffs_nucleus.c:2348
Lifecycle
from
examples
All items filtered out
All items filtered out