Searched refs:block_count (Results 1 – 12 of 12) sorted by relevance
/littlefs-3.7.0-3.6.0/tests/ |
D | test_superblocks.toml | 17 # mount/unmount from interpretting a previous superblock block_count 25 tweaked_cfg.block_count = 0; 27 assert(lfs.block_count == cfg->block_count); 216 # mount with unknown block_count 222 // known block_size/block_count 224 cfg->block_count = BLOCK_COUNT; 229 assert(fsinfo.block_count == BLOCK_COUNT); 232 // unknown block_count 234 cfg->block_count = 0; 238 assert(fsinfo.block_count == BLOCK_COUNT); [all …]
|
D | test_bd.toml | 118 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) {
|
D | test_alloc.toml | 581 i < (cfg->block_count-4)*(cfg->block_size-8); 623 i < ((cfg->block_count-2)/2)*(cfg->block_size-8); 634 i < ((cfg->block_count-2+1)/2)*(cfg->block_size-8); 651 i < ((cfg->block_count-2)/2)*(cfg->block_size-8); 665 i < ((cfg->block_count-2+1)/2)*(cfg->block_size-8); 691 i < ((cfg->block_count-2)/2)*(cfg->block_size-8); 702 i < ((cfg->block_count-2+1)/2)*(cfg->block_size-8); 719 i < ((cfg->block_count-2)/2 - 1)*(cfg->block_size-8);
|
D | test_compat.toml | 1313 .block_count = lfs.cfg->block_count, 1346 .block_count = lfs.cfg->block_count, 1390 .block_count = lfs.cfg->block_count,
|
D | test_evil.toml | 4 # invalid pointer tests (outside of block_count)
|
/littlefs-3.7.0-3.6.0/ |
D | lfs.c | 53 || (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() 480 superblock->block_count = lfs_fromle32(superblock->block_count); in lfs_superblock_fromle32() 490 superblock->block_count = lfs_tole32(superblock->block_count); in lfs_superblock_tole32() 605 + lfs->block_count) % lfs->block_count; in lfs_alloc_lookahead() 619 lfs->free.ack = lfs->block_count; in lfs_alloc_ack() 634 lfs->free.off = (lfs->free.off + lfs->free.i) % lfs->block_count; in lfs_fs_rawgc() [all …]
|
D | lfs.h | 209 lfs_size_t block_count; member 300 lfs_size_t block_count; member 404 lfs_size_t block_count; member 442 lfs_size_t block_count; member 746 int lfs_fs_grow(lfs_t *lfs, lfs_size_t block_count);
|
D | README.md | 53 .block_count = 128,
|
/littlefs-3.7.0-3.6.0/scripts/ |
D | tracebd.py | 572 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-3.7.0-3.6.0/bd/ |
D | lfs_emubd.c | 459 LFS_ASSERT(block < cfg->block_count); in lfs_emubd_rawcrc() 492 for (lfs_block_t i = 0; i < cfg->block_count; i++) { in lfs_emubd_bdcrc()
|
/littlefs-3.7.0-3.6.0/runners/ |
D | test_runner.c | 1345 .block_count = BLOCK_COUNT, in run_powerloss_none() 1421 .block_count = BLOCK_COUNT, in run_powerloss_linear() 1514 .block_count = BLOCK_COUNT, in run_powerloss_log() 1605 .block_count = BLOCK_COUNT, in run_powerloss_cycles() 1794 .block_count = BLOCK_COUNT, in run_powerloss_exhaustive()
|
D | bench_runner.c | 1320 .block_count = BLOCK_COUNT, in perm_run()
|