Home
last modified time | relevance | path

Searched refs:block_count (Results 1 – 12 of 12) sorted by relevance

/littlefs-latest/tests/
Dtest_superblocks.toml35 # mount/unmount from interpretting a previous superblock block_count
43 tweaked_cfg.block_count = 0;
45 assert(lfs.block_count == cfg->block_count);
275 # mount with unknown block_count
281 // known block_size/block_count
283 cfg->block_count = BLOCK_COUNT;
288 assert(fsinfo.block_count == BLOCK_COUNT);
291 // unknown block_count
293 cfg->block_count = 0;
297 assert(fsinfo.block_count == BLOCK_COUNT);
[all …]
Dtest_alloc.toml20 cfg_.block_count = 0;
78 cfg_.block_count = 0;
135 cfg_.block_count = 0;
201 cfg_.block_count = 0;
261 cfg_.block_count = 0;
310 cfg_.block_count = 0;
369 cfg_.block_count = 0;
618 i < (cfg->block_count-4)*(cfg->block_size-8);
660 i < ((cfg->block_count-2)/2)*(cfg->block_size-8);
671 i < ((cfg->block_count-2+1)/2)*(cfg->block_size-8);
[all …]
Dtest_bd.toml118 block = cfg->block_count-1;
128 block = cfg->block_count-1;
156 while (block < cfg->block_count) {
180 while (block < cfg->block_count) {
203 while (block < cfg->block_count) {
230 while (block < cfg->block_count) {
Dtest_compat.toml1313 .block_count = lfs.cfg->block_count,
1346 .block_count = lfs.cfg->block_count,
1390 .block_count = lfs.cfg->block_count,
Dtest_evil.toml4 # invalid pointer tests (outside of block_count)
/littlefs-latest/
Dlfs.c53 || (lfs->block_count && block >= lfs->block_count)) { in lfs_bd_read()
110 LFS_ASSERT(!lfs->block_count || block < lfs->block_count); in lfs_bd_read()
182 LFS_ASSERT(pcache->block < lfs->block_count); in lfs_bd_flush()
235 LFS_ASSERT(block == LFS_BLOCK_INLINE || block < lfs->block_count); in lfs_bd_prog()
279 LFS_ASSERT(block < lfs->block_count); in lfs_bd_erase()
495 superblock->block_count = lfs_fromle32(superblock->block_count); in lfs_superblock_fromle32()
505 superblock->block_count = lfs_tole32(superblock->block_count); in lfs_superblock_tole32()
622 lfs->lookahead.ckpoint = lfs->block_count; in lfs_alloc_ckpoint()
637 + lfs->block_count) % lfs->block_count; in lfs_alloc_lookahead()
654 % lfs->block_count; in lfs_alloc_scan()
[all …]
Dlfs.h209 lfs_size_t block_count; member
319 lfs_size_t block_count; member
423 lfs_size_t block_count; member
461 lfs_size_t block_count; member
772 int lfs_fs_grow(lfs_t *lfs, lfs_size_t block_count);
DREADME.md53 .block_count = 128,
/littlefs-latest/scripts/
Dtracebd.py572 block_count=None, argument
627 if block_stop is None and block_count is not None:
628 block_stop = block_count
646 if block_count is not None:
647 count = block_count
/littlefs-latest/runners/
Dtest_runner.c1345 .block_count = BLOCK_COUNT, in run_powerloss_none()
1424 .block_count = BLOCK_COUNT, in run_powerloss_linear()
1520 .block_count = BLOCK_COUNT, in run_powerloss_log()
1614 .block_count = BLOCK_COUNT, in run_powerloss_cycles()
1806 .block_count = BLOCK_COUNT, in run_powerloss_exhaustive()
Dbench_runner.c1320 .block_count = BLOCK_COUNT, in perm_run()
/littlefs-latest/bd/
Dlfs_emubd.c551 LFS_ASSERT(block < cfg->block_count); in lfs_emubd_crc_()
584 for (lfs_block_t i = 0; i < cfg->block_count; i++) { in lfs_emubd_bdcrc()