Searched refs:block_size (Results 1 – 14 of 14) sorted by relevance
/littlefs-3.7.0-3.6.0/tests/ |
D | test_superblocks.toml | 222 // known block_size/block_count 223 cfg->block_size = BLOCK_SIZE; 228 assert(fsinfo.block_size == BLOCK_SIZE); 233 cfg->block_size = BLOCK_SIZE; 237 assert(fsinfo.block_size == BLOCK_SIZE); 244 assert(fsinfo.block_size == BLOCK_SIZE); 255 assert(fsinfo.block_size == BLOCK_SIZE); 272 // known block_size/block_count 273 cfg->block_size = BLOCK_SIZE; 278 assert(fsinfo.block_size == BLOCK_SIZE); [all …]
|
D | test_bd.toml | 15 for (lfs_off_t i = 0; i < cfg->block_size; i += PROG) { 23 for (lfs_off_t i = 0; i < cfg->block_size; i += READ) { 42 for (lfs_off_t i = 0; i < cfg->block_size; i += PROG) { 51 for (lfs_off_t i = 0; i < cfg->block_size; i += READ) { 62 for (lfs_off_t i = 0; i < cfg->block_size; i += PROG) { 71 for (lfs_off_t i = 0; i < cfg->block_size; i += READ) { 81 for (lfs_off_t i = 0; i < cfg->block_size; i += READ) { 100 for (lfs_off_t i = 0; i < cfg->block_size; i += PROG) { 109 for (lfs_off_t i = 0; i < cfg->block_size; i += READ) { 120 for (lfs_off_t i = 0; i < cfg->block_size; i += PROG) { [all …]
|
D | test_alloc.toml | 569 for (lfs_size_t i = 0; i < cfg->block_size; i += 2) { 574 lfs_file_write(&lfs, &file, buffer, cfg->block_size) => cfg->block_size; 581 i < (cfg->block_count-4)*(cfg->block_size-8); 597 for (lfs_size_t i = 0; i < cfg->block_size; i += 2) { 600 lfs_file_write(&lfs, &file, buffer, 2*cfg->block_size) => LFS_ERR_NOSPC; 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); [all …]
|
D | test_compat.toml | 1312 .block_size = lfs.cfg->block_size, 1345 .block_size = lfs.cfg->block_size, 1389 .block_size = lfs.cfg->block_size,
|
/littlefs-3.7.0-3.6.0/ |
D | lfs.c | 52 if (off+size > lfs->cfg->block_size in lfs_bd_read() 116 lfs->cfg->block_size) in lfs_bd_read() 236 LFS_ASSERT(off + size <= lfs->cfg->block_size); in lfs_bd_prog() 479 superblock->block_size = lfs_fromle32(superblock->block_size); in lfs_superblock_fromle32() 489 superblock->block_size = lfs_tole32(superblock->block_size); in lfs_superblock_tole32() 765 if (off+size > lfs->cfg->block_size) { in lfs_dir_getread() 1139 NULL, &lfs->rcache, lfs->cfg->block_size, in lfs_dir_fetchmatch() 1158 } else if (off + lfs_tag_dsize(tag) > lfs->cfg->block_size) { in lfs_dir_fetchmatch() 1168 NULL, &lfs->rcache, lfs->cfg->block_size, in lfs_dir_fetchmatch() 1207 NULL, &lfs->rcache, lfs->cfg->block_size, in lfs_dir_fetchmatch() [all …]
|
D | lfs.h | 206 lfs_size_t block_size; member 297 lfs_size_t block_size; member 403 lfs_size_t block_size; member
|
D | README.md | 52 .block_size = 4096,
|
/littlefs-3.7.0-3.6.0/scripts/ |
D | readblock.py | 7 f.seek(args.block * args.block_size) 8 block = (f.read(args.block_size) 9 .ljust(args.block_size, b'\xff'))
|
D | readtree.py | 32 f.seek(block * args.block_size) 33 data.append(f.read(args.block_size) 34 .ljust(args.block_size, b'\xff'))
|
D | readmdir.py | 347 f.seek(block * args.block_size) 348 blocks.append(f.read(args.block_size) 349 .ljust(args.block_size, b'\xff'))
|
D | tracebd.py | 571 block_size=None, argument 631 if off_stop is None and block_size is not None: 632 off_stop = block_size 641 if block_size is not None: 642 size = block_size
|
/littlefs-3.7.0-3.6.0/bd/ |
D | lfs_emubd.c | 465 crc_ = lfs_crc(crc_, b->data, cfg->block_size); in lfs_emubd_rawcrc() 470 for (lfs_size_t i = 0; i < cfg->block_size; i++) { in lfs_emubd_rawcrc()
|
/littlefs-3.7.0-3.6.0/runners/ |
D | test_runner.c | 1344 .block_size = BLOCK_SIZE, in run_powerloss_none() 1420 .block_size = BLOCK_SIZE, in run_powerloss_linear() 1513 .block_size = BLOCK_SIZE, in run_powerloss_log() 1604 .block_size = BLOCK_SIZE, in run_powerloss_cycles() 1793 .block_size = BLOCK_SIZE, in run_powerloss_exhaustive()
|
D | bench_runner.c | 1319 .block_size = BLOCK_SIZE, in perm_run()
|