ESP-IDF
spiffs_fd::size
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
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::size
spiffs_fd::size field
Syntax
Show:
Summary
Declaration
from
spiffs_nucleus.h:449
u32_t
size
;
Examples
References
from
examples
Code
Location
Referrer
u32_t
size
;
spiffs_nucleus.h:449
if
(
fd
->
size
==
SPIFFS_UNDEFINED_LEN
&&
len
>
0
)
{
spiffs_hydrogen.c:387
spiffs_hydro_read()
if
(
fd
->
fdoffset
+
len
>=
fd
->
size
)
{
spiffs_hydrogen.c:397
spiffs_hydro_read()
s32_t
avail
=
fd
->
size
-
fd
->
fdoffset
;
spiffs_hydrogen.c:399
spiffs_hydro_read()
if
(
fd
->
size
!=
SPIFFS_UNDEFINED_LEN
&&
offset
<
fd
->
size
)
{
spiffs_hydrogen.c:439
spiffs_hydro_write()
s32_t
m_len
=
MIN
(
(
s32_t
)
(
fd
->
size
-
offset
)
,
len
)
;
spiffs_hydrogen.c:440
spiffs_hydro_write()
fd
->
fdoffset
=
fd
->
size
==
SPIFFS_UNDEFINED_LEN
?
0
:
fd
->
size
;
spiffs_hydrogen.c:482
SPIFFS_write()
if
(
fd
->
size
==
SPIFFS_UNDEFINED_LEN
)
{
spiffs_hydrogen.c:493
SPIFFS_write()
offset
=
fd
->
size
;
spiffs_hydrogen.c:496
SPIFFS_write()
s32_t
file_size
=
fd
->
size
==
SPIFFS_UNDEFINED_LEN
?
0
:
fd
->
size
;
spiffs_hydrogen.c:613
SPIFFS_lseek()
u32_t
file_size
=
(
fd
->
size
==
SPIFFS_UNDEFINED_LEN
)
?
0
:
fd
->
size
;
spiffs_hydrogen.c:751
SPIFFS_ftruncate()
res
=
(
fd
->
fdoffset
>=
(
fd
->
size
==
SPIFFS_UNDEFINED_LEN
?
0
:
fd
->
size
)
)
;
spiffs_hydrogen.c:1246
SPIFFS_eof()
cur_fd
->
size
=
new_size
;
spiffs_nucleus.c:1086
spiffs_cb_object_event()
fd
->
size
=
oix_hdr
.
size
;
spiffs_nucleus.c:1207
spiffs_object_open_by_page()
if
(
offset
>
fd
->
size
)
{
spiffs_nucleus.c:1231
spiffs_object_append()
offset
=
fd
->
size
;
spiffs_nucleus.c:1233
spiffs_object_append()
fd
->
size
=
offset
+
written
;
spiffs_nucleus.c:1303
spiffs_object_append()
spiffs_span_ix
len_objix_spix
=
SPIFFS_OBJ_IX_ENTRY_SPAN_IX
(
fs
,
(
fd
->
size
-
1
)
/
SPIFFS_DATA_PAGE_SIZE
(
fs
)
)
;
spiffs_nucleus.c:1316
spiffs_object_append()
fd
->
size
=
offset
+
written
;
spiffs_nucleus.c:1352
spiffs_object_append()
fd
->
size
=
offset
+
written
;
spiffs_nucleus.c:1409
spiffs_object_append()
if
(
(
fd
->
size
==
SPIFFS_UNDEFINED_LEN
||
fd
->
size
==
0
)
&&
!
remove_full
)
{
spiffs_nucleus.c:1746
spiffs_object_truncate()
spiffs_span_ix
data_spix
=
(
fd
->
size
>
0
?
fd
->
size
-
1
:
0
)
/
SPIFFS_DATA_PAGE_SIZE
(
fs
)
;
spiffs_nucleus.c:1758
spiffs_object_truncate()
u32_t
cur_size
=
fd
->
size
==
(
u32_t
)
SPIFFS_UNDEFINED_LEN
?
0
:
fd
->
size
;
spiffs_nucleus.c:1759
spiffs_object_truncate()
fd
->
size
=
cur_size
;
spiffs_nucleus.c:1807
spiffs_object_truncate()
fd
->
size
=
cur_size
;
spiffs_nucleus.c:1866
spiffs_object_truncate()
fd
->
size
=
new_size
;
spiffs_nucleus.c:1913
spiffs_object_truncate()
fd
->
size
=
cur_size
;
spiffs_nucleus.c:1972
spiffs_object_truncate()
len_to_read
=
MIN
(
len_to_read
,
fd
->
size
-
cur_offset
)
;
spiffs_nucleus.c:2045
spiffs_object_read()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
spiffs_fd::size
is written by 4 functions and is read by 9 functions:
spiffs_cb_object_event()
spiffs_object_open_by_page()
spiffs_object_append()
spiffs_object_truncate()
All items filtered out
spiffs_fd::size
spiffs_hydro_read()
spiffs_hydro_write()
SPIFFS_write()
SPIFFS_lseek()
SPIFFS_ftruncate()
SPIFFS_eof()
spiffs_object_append()
spiffs_object_truncate()
spiffs_object_read()
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