ESP-IDF
SPIFFS_PAGES_PER_BLOCK
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
SPIFFS_PAGES_PER_BLOCK
SPIFFS_PAGES_PER_BLOCK macro
Syntax
Show:
Summary
Declaration
from
spiffs_nucleus.h:189
#define
SPIFFS_PAGES_PER_BLOCK
(
fs
)
\
(
SPIFFS_CFG_LOG_BLOCK_SZ
(
fs
)
/
SPIFFS_CFG_LOG_PAGE_SZ
(
fs
)
)
Arguments
Argument
fs
Examples
References
from
examples
Code
Location
#define
SPIFFS_PAGES_PER_BLOCK
(
fs
)
\
spiffs_nucleus.h:189
while
(
pix_offset
<
SPIFFS_PAGES_PER_BLOCK
(
fs
)
*
fs
->
block_count
)
{
spiffs_check.c:530
(
pix_offset
*
256
)
/
(
SPIFFS_PAGES_PER_BLOCK
(
fs
)
*
fs
->
block_count
)
+
spiffs_check.c:539
(
(
(
(
cur_block
*
pages_per_scan
*
256
)
/
(
SPIFFS_PAGES_PER_BLOCK
(
fs
)
*
fs
->
block_count
)
)
)
/
fs
->
block_count
)
,
spiffs_check.c:540
spiffs_page_ix
cur_pix
=
SPIFFS_OBJ_LOOKUP_PAGES
(
fs
)
+
SPIFFS_PAGES_PER_BLOCK
(
fs
)
*
cur_block
;
spiffs_check.c:543
while
(
!
restart
&&
cur_pix
<
SPIFFS_PAGES_PER_BLOCK
(
fs
)
*
(
cur_block
+
1
)
)
{
spiffs_check.c:544
for
(
i
=
0
;
i
<
SPIFFS_PAGES_PER_BLOCK
(
fs
)
;
i
++
)
{
spiffs_gc.c:21
cur_entry
<
(
int
)
(
SPIFFS_PAGES_PER_BLOCK
(
fs
)
-
SPIFFS_OBJ_LOOKUP_PAGES
(
fs
)
)
)
{
spiffs_gc.c:63
deleted_pages_in_block
+
free_pages_in_block
==
SPIFFS_PAGES_PER_BLOCK
(
fs
)
-
SPIFFS_OBJ_LOOKUP_PAGES
(
fs
)
&&
spiffs_gc.c:88
(
SPIFFS_PAGES_PER_BLOCK
(
fs
)
-
SPIFFS_OBJ_LOOKUP_PAGES
(
fs
)
)
*
(
fs
->
block_count
-
2
)
spiffs_gc.c:114
(
SPIFFS_PAGES_PER_BLOCK
(
fs
)
-
SPIFFS_OBJ_LOOKUP_PAGES
(
fs
)
)
*
(
fs
->
block_count
-
2
)
spiffs_gc.c:172
(
SPIFFS_PAGES_PER_BLOCK
(
fs
)
-
SPIFFS_OBJ_LOOKUP_PAGES
(
fs
)
)
*
(
fs
->
block_count
-
2
)
spiffs_gc.c:185
cur_entry
-
entry_offset
<
entries_per_page
&&
cur_entry
<
(
int
)
(
SPIFFS_PAGES_PER_BLOCK
(
fs
)
-
SPIFFS_OBJ_LOOKUP_PAGES
(
fs
)
)
)
{
spiffs_gc.c:217
cur_entry
<
(
int
)
(
SPIFFS_PAGES_PER_BLOCK
(
fs
)
-
SPIFFS_OBJ_LOOKUP_PAGES
(
fs
)
)
)
{
spiffs_gc.c:278
cur_entry
-
entry_offset
<
entries_per_page
&&
cur_entry
<
(
int
)
(
SPIFFS_PAGES_PER_BLOCK
(
fs
)
-
SPIFFS_OBJ_LOOKUP_PAGES
(
fs
)
)
)
{
spiffs_gc.c:415
u32_t
pages_per_block
=
SPIFFS_PAGES_PER_BLOCK
(
fs
)
;
spiffs_hydrogen.c:1171
if
(
pix
%
SPIFFS_PAGES_PER_BLOCK
(
fs
)
<
SPIFFS_OBJ_LOOKUP_PAGES
(
fs
)
)
{
spiffs_nucleus.c:10
if
(
pix
%
SPIFFS_PAGES_PER_BLOCK
(
fs
)
<
SPIFFS_OBJ_LOOKUP_PAGES
(
fs
)
)
{
spiffs_nucleus.c:39
(
MAX
(
1
,
(
SPIFFS_PAGES_PER_BLOCK
(
fs
)
*
sizeof
(
spiffs_obj_id
)
)
/
SPIFFS_CFG_LOG_PAGE_SZ
(
fs
)
)
)
spiffs_nucleus.h:193
(
(
(
pix
)
%
SPIFFS_PAGES_PER_BLOCK
(
fs
)
)
<
SPIFFS_OBJ_LOOKUP_PAGES
(
fs
)
)
spiffs_nucleus.h:196
(
SPIFFS_PAGES_PER_BLOCK
(
fs
)
-
SPIFFS_OBJ_LOOKUP_PAGES
(
fs
)
)
spiffs_nucleus.h:199
(
(
block
)
*
SPIFFS_PAGES_PER_BLOCK
(
fs
)
+
(
SPIFFS_OBJ_LOOKUP_PAGES
(
fs
)
+
entry
)
)
spiffs_nucleus.h:205
(
(
page
)
/
SPIFFS_PAGES_PER_BLOCK
(
fs
)
)
spiffs_nucleus.h:220
(
(
block
)
*
SPIFFS_PAGES_PER_BLOCK
(
fs
)
)
spiffs_nucleus.h:223
(
(
page
)
%
SPIFFS_PAGES_PER_BLOCK
(
fs
)
-
SPIFFS_OBJ_LOOKUP_PAGES
(
fs
)
)
spiffs_nucleus.h:226
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
Lifecycle
from
examples
All items filtered out
All items filtered out