ESP-IDF
spiffs_t::block_count
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (3/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_t::block_count
spiffs_t::block_count field
Syntax
Show:
Summary
Declaration
from
spiffs.h:235
u32_t
block_count
;
Examples
References
from
examples
Code
Location
Referrer
u32_t
block_count
;
spiffs.h:235
(
cur_block
*
256
)
/
fs
->
block_count
,
0
)
;
spiffs_check.c:467
spiffs_lookup_check_v()
while
(
pix_offset
<
SPIFFS_PAGES_PER_BLOCK
(
fs
)
*
fs
->
block_count
)
{
spiffs_check.c:530
spiffs_page_consistency_check_i()
while
(
!
restart
&&
cur_block
<
fs
->
block_count
)
{
spiffs_check.c:537
spiffs_page_consistency_check_i()
(
pix_offset
*
256
)
/
(
SPIFFS_PAGES_PER_BLOCK
(
fs
)
*
fs
->
block_count
)
+
spiffs_check.c:539
spiffs_page_consistency_check_i()
(
(
(
(
cur_block
*
pages_per_scan
*
256
)
/
(
SPIFFS_PAGES_PER_BLOCK
(
fs
)
*
fs
->
block_count
)
)
)
/
fs
->
block_count
)
,
spiffs_check.c:540
spiffs_page_consistency_check_i()
(
cur_block
*
256
)
/
fs
->
block_count
,
0
)
;
spiffs_check.c:900
spiffs_object_index_consistency_check_v()
u32_t
blocks
=
fs
->
block_count
;
spiffs_gc.c:35
spiffs_gc_quick()
(
SPIFFS_PAGES_PER_BLOCK
(
fs
)
-
SPIFFS_OBJ_LOOKUP_PAGES
(
fs
)
)
*
(
fs
->
block_count
-
2
)
spiffs_gc.c:114
spiffs_gc_check()
(
SPIFFS_PAGES_PER_BLOCK
(
fs
)
-
SPIFFS_OBJ_LOOKUP_PAGES
(
fs
)
)
*
(
fs
->
block_count
-
2
)
spiffs_gc.c:172
spiffs_gc_check()
(
SPIFFS_PAGES_PER_BLOCK
(
fs
)
-
SPIFFS_OBJ_LOOKUP_PAGES
(
fs
)
)
*
(
fs
->
block_count
-
2
)
spiffs_gc.c:185
spiffs_gc_check()
u32_t
blocks
=
fs
->
block_count
;
spiffs_gc.c:242
spiffs_gc_find_candidate()
int
max_candidates
=
MIN
(
fs
->
block_count
,
(
SPIFFS_CFG_LOG_PAGE_SZ
(
fs
)
-
8
)
/
(
sizeof
(
spiffs_block_ix
)
+
sizeof
(
s32_t
)
)
)
;
spiffs_gc.c:249
spiffs_gc_find_candidate()
fs
->
free_cursor_block_ix
=
(
bix
+
1
)
%
fs
->
block_count
;
spiffs_gc.c:395
spiffs_gc_clean()
while
(
bix
<
fs
->
block_count
)
{
spiffs_hydrogen.c:45
SPIFFS_format()
fs
->
block_count
=
SPIFFS_CFG_PHYS_SZ
(
fs
)
/
SPIFFS_CFG_LOG_BLOCK_SZ
(
fs
)
;
spiffs_hydrogen.c:93
SPIFFS_mount()
u32_t
blocks
=
fs
->
block_count
;
spiffs_hydrogen.c:1172
SPIFFS_info()
s32_t
entry_count
=
fs
->
block_count
*
SPIFFS_OBJ_LOOKUP_MAX_ENTRIES
(
fs
)
;
spiffs_nucleus.c:136
spiffs_obj_lu_find_entry_visitor()
if
(
cur_block
>=
fs
->
block_count
)
{
spiffs_nucleus.c:149
spiffs_obj_lu_find_entry_visitor()
if
(
cur_block
>=
fs
->
block_count
)
{
spiffs_nucleus.c:209
spiffs_obj_lu_find_entry_visitor()
spiffs_obj_id
magic
=
SPIFFS_MAGIC
(
fs
,
bix
)
;
spiffs_nucleus.c:251
spiffs_erase_block()
dummy_fs
.
block_count
=
0
;
spiffs_nucleus.c:274
spiffs_probe()
bix_count
[
bix
]
=
magic
[
bix
]
^
SPIFFS_MAGIC
(
&
dummy_fs
,
0
)
;
spiffs_nucleus.c:291
spiffs_probe()
while
(
bix
<
fs
->
block_count
)
{
spiffs_nucleus.c:363
spiffs_obj_lu_scan()
if
(
magic
!=
SPIFFS_MAGIC
(
fs
,
bix
)
)
{
spiffs_nucleus.c:372
spiffs_obj_lu_scan()
u32_t
max_objects
=
(
fs
->
block_count
*
SPIFFS_OBJ_LOOKUP_MAX_ENTRIES
(
fs
)
)
/
2
;
spiffs_nucleus.c:2147
spiffs_obj_lu_find_free_obj_id()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
spiffs_t::block_count
is written by 2 functions and is read by 14 functions:
SPIFFS_mount()
spiffs_probe()
All items filtered out
spiffs_t::block_count
spiffs_lookup_check_v()
spiffs_page_consistency_check_i()
spiffs_object_index_consistency_check_v()
spiffs_gc_quick()
spiffs_gc_check()
spiffs_gc_find_candidate()
spiffs_gc_clean()
SPIFFS_format()
SPIFFS_info()
spiffs_obj_lu_find_entry_visitor()
spiffs_erase_block()
spiffs_probe()
spiffs_obj_lu_scan()
spiffs_obj_lu_find_free_obj_id()
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