Searched refs:BLOCK_SIZE (Results 1 – 11 of 11) sorted by relevance
/littlefs-3.7.0-3.6.0/tests/ |
D | test_superblocks.toml | 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); 273 cfg->block_size = BLOCK_SIZE; 278 assert(fsinfo.block_size == BLOCK_SIZE); 283 cfg->block_size = BLOCK_SIZE; 288 cfg->block_size = BLOCK_SIZE; [all …]
|
D | test_bd.toml | 8 defines.READ = ['READ_SIZE', 'BLOCK_SIZE'] 9 defines.PROG = ['PROG_SIZE', 'BLOCK_SIZE'] 33 defines.READ = ['READ_SIZE', 'BLOCK_SIZE'] 34 defines.PROG = ['PROG_SIZE', 'BLOCK_SIZE'] 91 defines.READ = ['READ_SIZE', 'BLOCK_SIZE'] 92 defines.PROG = ['PROG_SIZE', 'BLOCK_SIZE'] 149 defines.READ = ['READ_SIZE', 'BLOCK_SIZE'] 150 defines.PROG = ['PROG_SIZE', 'BLOCK_SIZE'] 195 defines.READ = ['READ_SIZE', 'BLOCK_SIZE'] 196 defines.PROG = ['PROG_SIZE', 'BLOCK_SIZE']
|
D | test_powerloss.toml | 44 uint8_t bbuffer[BLOCK_SIZE]; 45 cfg->read(cfg, pair[1], 0, bbuffer, BLOCK_SIZE) => 0; 50 cfg->prog(cfg, pair[1], 0, bbuffer, BLOCK_SIZE) => 0; 94 PROG_SIZE < BLOCK_SIZE 140 uint8_t bbuffer[BLOCK_SIZE]; 141 cfg->read(cfg, block, 0, bbuffer, BLOCK_SIZE) => 0; 146 cfg->prog(cfg, block, 0, bbuffer, BLOCK_SIZE) => 0;
|
D | test_move.toml | 111 uint8_t buffer[BLOCK_SIZE]; 112 cfg->read(cfg, block, 0, buffer, BLOCK_SIZE) => 0; 113 int off = BLOCK_SIZE-1; 117 memset(&buffer[off-3], BLOCK_SIZE, 3); 119 cfg->prog(cfg, block, 0, buffer, BLOCK_SIZE) => 0; 192 uint8_t buffer[BLOCK_SIZE]; 193 cfg->read(cfg, block, 0, buffer, BLOCK_SIZE) => 0; 194 int off = BLOCK_SIZE-1; 198 memset(&buffer[off-3], BLOCK_SIZE, 3); 200 cfg->prog(cfg, block, 0, buffer, BLOCK_SIZE) => 0; [all …]
|
D | test_evil.toml | 127 if (SIZE > 2*BLOCK_SIZE) { 134 defines.SIZE = ['2*BLOCK_SIZE', '3*BLOCK_SIZE', '4*BLOCK_SIZE'] 156 uint8_t buffer[4*BLOCK_SIZE]; 169 uint8_t bbuffer[BLOCK_SIZE]; 170 cfg->read(cfg, ctz.head, 0, bbuffer, BLOCK_SIZE) => 0; 175 cfg->prog(cfg, ctz.head, 0, bbuffer, BLOCK_SIZE) => 0; 192 if (SIZE > 2*BLOCK_SIZE) {
|
D | test_orphans.toml | 23 uint8_t buffer[BLOCK_SIZE]; 24 cfg->read(cfg, block, 0, buffer, BLOCK_SIZE) => 0; 25 int off = BLOCK_SIZE-1; 29 memset(&buffer[off-3], BLOCK_SIZE, 3); 31 cfg->prog(cfg, block, 0, buffer, BLOCK_SIZE) => 0;
|
D | test_alloc.toml | 8 defines.SIZE = '(((BLOCK_SIZE-8)*(BLOCK_COUNT-6)) / FILES)' 61 defines.SIZE = '(((BLOCK_SIZE-8)*(BLOCK_COUNT-6)) / FILES)' 112 defines.SIZE = '(((BLOCK_SIZE-8)*(BLOCK_COUNT-6)) / FILES)' 174 defines.SIZE = '(((BLOCK_SIZE-8)*(BLOCK_COUNT-6)) / FILES)' 276 defines.SIZE = '(((BLOCK_SIZE-8)*(BLOCK_COUNT-4)) / 3)' 411 filesize -= 3*BLOCK_SIZE;
|
/littlefs-3.7.0-3.6.0/runners/ |
D | bench_runner.h | 108 #define BLOCK_SIZE bench_define(BLOCK_SIZE_i) macro 122 BENCH_DEF(ERASE_COUNT, (1024*1024)/BLOCK_SIZE) \ 123 BENCH_DEF(BLOCK_SIZE, ERASE_SIZE) \ 124 BENCH_DEF(BLOCK_COUNT, ERASE_COUNT/lfs_max(BLOCK_SIZE/ERASE_SIZE,1))\
|
D | test_runner.h | 102 #define BLOCK_SIZE TEST_DEFINE(BLOCK_SIZE_i) macro 118 TEST_DEF(BLOCK_SIZE, ERASE_SIZE) \ 119 TEST_DEF(BLOCK_COUNT, ERASE_COUNT/lfs_max(BLOCK_SIZE/ERASE_SIZE,1)) \
|
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()
|