ESP-IDF
spiffs_fd::file_nbr
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (2/5)...
Files
loading (4/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
spiffs_fd::file_nbr
spiffs_fd::file_nbr field
Syntax
Show:
Summary
Declaration
from
spiffs_nucleus.h:445
spiffs_file
file_nbr
;
Examples
References
from
examples
Code
Location
Referrer
spiffs_file
file_nbr
;
spiffs_nucleus.h:445
if
(
cur_fd
->
file_nbr
!=
0
&&
cur_fd
->
cache_page
==
cp
)
{
spiffs_cache.c:274
spiffs_cache_fd_release()
if
(
cur_fd
->
file_nbr
!=
0
)
{
spiffs_hydrogen.c:163
SPIFFS_unmount()
(
void
)
spiffs_fflush_cache
(
fs
,
cur_fd
->
file_nbr
)
;
spiffs_hydrogen.c:165
SPIFFS_unmount()
spiffs_fd_return
(
fs
,
cur_fd
->
file_nbr
)
;
spiffs_hydrogen.c:167
SPIFFS_unmount()
spiffs_fd_return
(
fs
,
fd
->
file_nbr
)
;
spiffs_hydrogen.c:233
SPIFFS_open()
spiffs_fd_return
(
fs
,
fd
->
file_nbr
)
;
spiffs_hydrogen.c:242
SPIFFS_open()
spiffs_fd_return
(
fs
,
fd
->
file_nbr
)
;
spiffs_hydrogen.c:252
SPIFFS_open()
spiffs_fd_return
(
fs
,
fd
->
file_nbr
)
;
spiffs_hydrogen.c:257
SPIFFS_open()
spiffs_fd_return
(
fs
,
fd
->
file_nbr
)
;
spiffs_hydrogen.c:264
SPIFFS_open()
spiffs_fd_return
(
fs
,
fd
->
file_nbr
)
;
spiffs_hydrogen.c:270
SPIFFS_open()
spiffs_fd_return
(
fs
,
fd
->
file_nbr
)
;
spiffs_hydrogen.c:277
SPIFFS_open()
return
SPIFFS_FH_OFFS
(
fs
,
fd
->
file_nbr
)
;
spiffs_hydrogen.c:287
SPIFFS_open()
spiffs_fd_return
(
fs
,
fd
->
file_nbr
)
;
spiffs_hydrogen.c:303
SPIFFS_open_by_dirent()
spiffs_fd_return
(
fs
,
fd
->
file_nbr
)
;
spiffs_hydrogen.c:310
SPIFFS_open_by_dirent()
return
SPIFFS_FH_OFFS
(
fs
,
fd
->
file_nbr
)
;
spiffs_hydrogen.c:320
SPIFFS_open_by_dirent()
spiffs_fd_return
(
fs
,
fd
->
file_nbr
)
;
spiffs_hydrogen.c:336
SPIFFS_open_by_page()
spiffs_fd_return
(
fs
,
fd
->
file_nbr
)
;
spiffs_hydrogen.c:349
SPIFFS_open_by_page()
spiffs_fd_return
(
fs
,
fd
->
file_nbr
)
;
spiffs_hydrogen.c:357
SPIFFS_open_by_page()
return
SPIFFS_FH_OFFS
(
fs
,
fd
->
file_nbr
)
;
spiffs_hydrogen.c:367
SPIFFS_open_by_page()
spiffs_fd_return
(
fs
,
fd
->
file_nbr
)
;
spiffs_hydrogen.c:671
SPIFFS_remove()
spiffs_fd_return
(
fs
,
fd
->
file_nbr
)
;
spiffs_hydrogen.c:677
SPIFFS_remove()
spiffs_fd_return
(
fs
,
fd
->
file_nbr
)
;
spiffs_hydrogen.c:683
SPIFFS_remove()
spiffs_fd_return
(
fs
,
fd
->
file_nbr
)
;
spiffs_hydrogen.c:945
SPIFFS_rename()
spiffs_fd_return
(
fs
,
fd
->
file_nbr
)
;
spiffs_hydrogen.c:957
SPIFFS_rename()
spiffs_fd_return
(
fs
,
fd
->
file_nbr
)
;
spiffs_hydrogen.c:988
SPIFFS_update_meta()
spiffs_fd_return
(
fs
,
fd
->
file_nbr
)
;
spiffs_hydrogen.c:995
SPIFFS_update_meta()
fd
->
file_nbr
,
spiffs_nucleus.c:22
spiffs_page_data_check()
fd
->
file_nbr
,
spiffs_nucleus.c:51
spiffs_page_index_check()
fd
->
file_nbr
,
SPIFFS_PAGE_TO_PADDR
(
fs
,
objix_hdr_pix
)
,
SPIFFS_CFG_LOG_PAGE_SZ
(
fs
)
,
fs
->
work
)
;
spiffs_nucleus.c:1012
spiffs_object_update_index_hdr()
res
=
spiffs_page_move
(
fs
,
fd
==
0
?
0
:
fd
->
file_nbr
,
(
u8_t
*
)
objix_hdr
,
obj_id
,
0
,
objix_hdr_pix
,
&
new_objix_hdr_pix
)
;
spiffs_nucleus.c:1036
spiffs_object_update_index_hdr()
if
(
cur_fd
->
file_nbr
&&
cur_fd
->
cache_page
)
{
spiffs_nucleus.c:1109
spiffs_cb_object_event()
cur_fd
->
file_nbr
=
0
;
spiffs_nucleus.c:1115
spiffs_cb_object_event()
if
(
cur_fd
->
file_nbr
==
0
||
spiffs_nucleus.c:1136
spiffs_cb_object_event()
fd
->
file_nbr
,
SPIFFS_PAGE_TO_PADDR
(
fs
,
pix
)
,
sizeof
(
spiffs_page_object_ix_header
)
,
(
u8_t
*
)
&
oix_hdr
)
;
spiffs_nucleus.c:1196
spiffs_object_open_by_page()
fd
->
file_nbr
,
SPIFFS_PAGE_TO_PADDR
(
fs
,
cur_objix_pix
)
,
SPIFFS_CFG_LOG_PAGE_SZ
(
fs
)
,
fs
->
work
)
;
spiffs_nucleus.c:1276
spiffs_object_append()
fd
->
file_nbr
,
SPIFFS_PAGE_TO_PADDR
(
fs
,
cur_objix_pix
)
,
SPIFFS_CFG_LOG_PAGE_SZ
(
fs
)
,
fs
->
work
)
;
spiffs_nucleus.c:1292
spiffs_object_append()
fd
->
file_nbr
,
SPIFFS_PAGE_TO_PADDR
(
fs
,
cur_objix_pix
)
,
SPIFFS_CFG_LOG_PAGE_SZ
(
fs
)
,
fs
->
work
)
;
spiffs_nucleus.c:1312
spiffs_object_append()
fd
->
file_nbr
,
SPIFFS_PAGE_TO_PADDR
(
fs
,
pix
)
,
SPIFFS_CFG_LOG_PAGE_SZ
(
fs
)
,
fs
->
work
)
;
spiffs_nucleus.c:1344
spiffs_object_append()
fd
->
file_nbr
,
SPIFFS_PAGE_TO_PADDR
(
fs
,
data_page
)
+
sizeof
(
spiffs_page_header
)
+
page_offs
,
to_write
,
&
data
[
written
]
)
;
spiffs_nucleus.c:1382
spiffs_object_append()
fd
->
file_nbr
,
SPIFFS_PAGE_TO_PADDR
(
fs
,
cur_objix_pix
)
,
SPIFFS_CFG_LOG_PAGE_SZ
(
fs
)
,
fs
->
work
)
;
spiffs_nucleus.c:1426
spiffs_object_append()
fd
->
file_nbr
,
SPIFFS_PAGE_TO_PADDR
(
fs
,
cur_objix_pix
)
,
SPIFFS_CFG_LOG_PAGE_SZ
(
fs
)
,
fs
->
work
)
;
spiffs_nucleus.c:1449
spiffs_object_append()
res
=
spiffs_page_move
(
fs
,
fd
->
file_nbr
,
(
u8_t
*
)
objix
,
fd
->
obj_id
,
0
,
cur_objix_pix
,
&
new_objix_pix
)
;
spiffs_nucleus.c:1517
spiffs_object_modify()
fd
->
file_nbr
,
SPIFFS_PAGE_TO_PADDR
(
fs
,
cur_objix_pix
)
,
SPIFFS_CFG_LOG_PAGE_SZ
(
fs
)
,
fs
->
work
)
;
spiffs_nucleus.c:1530
spiffs_object_modify()
fd
->
file_nbr
,
SPIFFS_PAGE_TO_PADDR
(
fs
,
pix
)
,
SPIFFS_CFG_LOG_PAGE_SZ
(
fs
)
,
fs
->
work
)
;
spiffs_nucleus.c:1545
spiffs_object_modify()
res
=
spiffs_phys_cpy
(
fs
,
fd
->
file_nbr
,
spiffs_nucleus.c:1588
spiffs_object_modify()
res
=
spiffs_phys_cpy
(
fs
,
fd
->
file_nbr
,
spiffs_nucleus.c:1596
spiffs_object_modify()
fd
->
file_nbr
,
spiffs_nucleus.c:1604
spiffs_object_modify()
fd
->
file_nbr
,
spiffs_nucleus.c:1609
spiffs_object_modify()
res2
=
spiffs_page_move
(
fs
,
fd
->
file_nbr
,
(
u8_t
*
)
objix
,
fd
->
obj_id
,
0
,
cur_objix_pix
,
&
new_objix_pix
)
;
spiffs_nucleus.c:1653
spiffs_object_modify()
fd
->
file_nbr
,
SPIFFS_PAGE_TO_PADDR
(
fs
,
fd
->
objix_hdr_pix
)
+
offsetof
(
spiffs_page_header
,
flags
)
,
spiffs_nucleus.c:1771
spiffs_object_truncate()
fd
->
file_nbr
,
SPIFFS_PAGE_TO_PADDR
(
fs
,
objix_pix
)
,
SPIFFS_CFG_LOG_PAGE_SZ
(
fs
)
,
fs
->
work
)
;
spiffs_nucleus.c:1820
spiffs_object_truncate()
fd
->
file_nbr
,
spiffs_nucleus.c:1896
spiffs_object_truncate()
res
=
spiffs_page_move
(
fs
,
fd
->
file_nbr
,
(
u8_t
*
)
objix_hdr
,
fd
->
obj_id
,
0
,
objix_pix
,
&
new_objix_pix
)
;
spiffs_nucleus.c:1959
spiffs_object_truncate()
fd
->
file_nbr
,
SPIFFS_PAGE_TO_PADDR
(
fs
,
objix_pix
)
,
SPIFFS_CFG_LOG_PAGE_SZ
(
fs
)
,
fs
->
work
)
;
spiffs_nucleus.c:2019
spiffs_object_read()
fd
->
file_nbr
,
spiffs_nucleus.c:2056
spiffs_object_read()
if
(
cur_fd
->
file_nbr
==
0
)
{
spiffs_nucleus.c:2266
spiffs_fd_find_new()
if
(
cur_fd
->
file_nbr
==
0
)
{
spiffs_nucleus.c:2277
spiffs_fd_find_new()
cur_fd
->
file_nbr
=
cand_ix
+
1
;
spiffs_nucleus.c:2310
spiffs_fd_find_new()
if
(
fd
->
file_nbr
==
0
)
{
spiffs_nucleus.c:2338
spiffs_fd_return()
fd
->
file_nbr
=
0
;
spiffs_nucleus.c:2341
spiffs_fd_return()
if
(
(
*
fd
)
->
file_nbr
==
0
)
{
spiffs_nucleus.c:2354
spiffs_fd_get()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
spiffs_fd::file_nbr
is written by 3 functions and is read by 20 functions:
spiffs_cb_object_event()
spiffs_fd_find_new()
spiffs_fd_return()
All items filtered out
spiffs_fd::file_nbr
spiffs_cache_fd_release()
SPIFFS_unmount()
SPIFFS_open()
SPIFFS_open_by_dirent()
SPIFFS_open_by_page()
SPIFFS_remove()
SPIFFS_rename()
SPIFFS_update_meta()
spiffs_page_data_check()
spiffs_page_index_check()
spiffs_object_update_index_hdr()
spiffs_cb_object_event()
spiffs_object_open_by_page()
spiffs_object_append()
spiffs_object_modify()
spiffs_object_truncate()
spiffs_object_read()
spiffs_fd_find_new()
spiffs_fd_return()
spiffs_fd_get()
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