Searched refs:lfs_size_t (Results 1 – 21 of 21) sorted by relevance
/littlefs-3.7.0-3.6.0/tests/ |
D | test_files.toml | 10 lfs_size_t size = strlen("Hello World!")+1; 39 for (lfs_size_t i = 0; i < SIZE; i += CHUNKSIZE) { 40 lfs_size_t chunk = lfs_min(CHUNKSIZE, SIZE-i); 41 for (lfs_size_t b = 0; b < chunk; b++) { 54 for (lfs_size_t i = 0; i < SIZE; i += CHUNKSIZE) { 55 lfs_size_t chunk = lfs_min(CHUNKSIZE, SIZE-i); 57 for (lfs_size_t b = 0; b < chunk; b++) { 81 for (lfs_size_t i = 0; i < SIZE1; i += CHUNKSIZE) { 82 lfs_size_t chunk = lfs_min(CHUNKSIZE, SIZE1-i); 83 for (lfs_size_t b = 0; b < chunk; b++) { [all …]
|
D | test_compat.toml | 107 for (lfs_size_t i = 0; i < COUNT; i++) { 135 for (lfs_size_t i = 0; i < COUNT; i++) { 168 for (lfs_size_t i = 0; i < COUNT; i++) { 174 for (lfs_size_t j = 0; j < SIZE; j += CHUNK) { 176 for (lfs_size_t k = 0; k < CHUNK; k++) { 207 for (lfs_size_t i = 0; i < COUNT; i++) { 220 for (lfs_size_t i = 0; i < COUNT; i++) { 225 for (lfs_size_t j = 0; j < SIZE; j += CHUNK) { 229 for (lfs_size_t k = 0; k < CHUNK; k++) { 258 for (lfs_size_t i = 0; i < COUNT; i++) { [all …]
|
D | test_exhaustion.toml | 29 lfs_size_t size = 1 << ((TEST_PRNG(&prng) % 10)+2); 35 for (lfs_size_t j = 0; j < size; j++) { 60 lfs_size_t size = 1 << ((TEST_PRNG(&prng) % 10)+2); 64 for (lfs_size_t j = 0; j < size; j++) { 119 lfs_size_t size = 1 << ((TEST_PRNG(&prng) % 10)+2); 125 for (lfs_size_t j = 0; j < size; j++) { 150 lfs_size_t size = 1 << ((TEST_PRNG(&prng) % 10)+2); 154 for (lfs_size_t j = 0; j < size; j++) { 218 lfs_size_t size = 1 << ((TEST_PRNG(&prng) % 10)+2); 224 for (lfs_size_t j = 0; j < size; j++) { [all …]
|
D | test_alloc.toml | 32 for (lfs_size_t i = 0; i < SIZE; i += size) { 48 for (lfs_size_t i = 0; i < SIZE; i += size) { 400 lfs_size_t filesize = 0; 415 for (lfs_size_t i = 0; i < filesize/size; i++) { 465 for (lfs_size_t i = 0; i < filesize/size; i++) { 569 for (lfs_size_t i = 0; i < cfg->block_size; i += 2) { 580 for (lfs_size_t i = 0; 597 for (lfs_size_t i = 0; i < cfg->block_size; i += 2) { 622 for (lfs_size_t i = 0; 633 for (lfs_size_t i = 0; [all …]
|
D | test_badblocks.toml | 43 lfs_size_t size = NAMEMULT; 123 lfs_size_t size = NAMEMULT; 151 lfs_size_t size = NAMEMULT; 202 lfs_size_t size = NAMEMULT; 230 lfs_size_t size = NAMEMULT;
|
D | test_entries.toml | 19 lfs_size_t size; 112 lfs_size_t size; 205 lfs_size_t size; 282 lfs_size_t size; 375 lfs_size_t size; 483 lfs_size_t size; 585 lfs_size_t size = 400; 613 lfs_size_t size = 40;
|
D | test_powerloss.toml | 18 lfs_size_t size = strlen("hello"); 111 lfs_size_t size = strlen("hello");
|
D | test_truncate.toml | 123 lfs_size_t qsize = size / 4; 139 lfs_size_t trunc = size - qsize;
|
/littlefs-3.7.0-3.6.0/ |
D | lfs.h | 39 typedef uint32_t lfs_size_t; typedef 166 lfs_off_t off, void *buffer, lfs_size_t size); 172 lfs_off_t off, const void *buffer, lfs_size_t size); 196 lfs_size_t read_size; 200 lfs_size_t prog_size; 206 lfs_size_t block_size; 209 lfs_size_t block_count; 224 lfs_size_t cache_size; 230 lfs_size_t lookahead_size; 249 lfs_size_t name_max; [all …]
|
D | lfs.c | 48 const lfs_cache_t *pcache, lfs_cache_t *rcache, lfs_size_t hint, in lfs_bd_read() 50 void *buffer, lfs_size_t size) { in lfs_bd_read() 58 lfs_size_t diff = size; in lfs_bd_read() 131 const lfs_cache_t *pcache, lfs_cache_t *rcache, lfs_size_t hint, in lfs_bd_cmp() 133 const void *buffer, lfs_size_t size) { in lfs_bd_cmp() 135 lfs_size_t diff = 0; in lfs_bd_cmp() 158 const lfs_cache_t *pcache, lfs_cache_t *rcache, lfs_size_t hint, in lfs_bd_crc() 159 lfs_block_t block, lfs_off_t off, lfs_size_t size, uint32_t *crc) { in lfs_bd_crc() 160 lfs_size_t diff = 0; in lfs_bd_crc() 183 lfs_size_t diff = lfs_alignup(pcache->size, lfs->cfg->prog_size); in lfs_bd_flush() [all …]
|
/littlefs-3.7.0-3.6.0/benches/ |
D | bench_dir.toml | 17 for (lfs_size_t i = 0; i < N; i++) { 24 for (lfs_size_t j = 0; j < FILE_SIZE; j += CHUNK_SIZE) { 25 for (lfs_size_t k = 0; k < CHUNK_SIZE; k++) { 37 for (lfs_size_t i = 0; i < N; i++) { 47 for (lfs_size_t j = 0; j < FILE_SIZE; j += CHUNK_SIZE) { 49 for (lfs_size_t k = 0; k < CHUNK_SIZE; k++) { 78 for (lfs_size_t i = 0; i < N; i++) { 89 for (lfs_size_t j = 0; j < FILE_SIZE; j += CHUNK_SIZE) { 90 for (lfs_size_t k = 0; k < CHUNK_SIZE; k++) { 119 for (lfs_size_t i = 0; i < N; i++) { [all …]
|
D | bench_file.toml | 12 lfs_size_t chunks = (SIZE+CHUNK_SIZE-1)/CHUNK_SIZE; 19 for (lfs_size_t i = 0; i < chunks; i++) { 21 for (lfs_size_t j = 0; j < CHUNK_SIZE; j++) { 35 for (lfs_size_t i = 0; i < chunks; i++) { 45 for (lfs_size_t j = 0; j < CHUNK_SIZE; j++) { 67 lfs_size_t chunks = (SIZE+CHUNK_SIZE-1)/CHUNK_SIZE; 76 for (lfs_size_t i = 0; i < chunks; i++) { 82 for (lfs_size_t j = 0; j < CHUNK_SIZE; j++) {
|
D | bench_superblock.toml | 14 for (lfs_size_t i = 0; i < N; i++) { 20 for (lfs_size_t j = 0; j < FILE_SIZE; j += CHUNK_SIZE) { 21 for (lfs_size_t k = 0; k < CHUNK_SIZE; k++) {
|
/littlefs-3.7.0-3.6.0/bd/ |
D | lfs_filebd.h | 32 lfs_size_t read_size; 35 lfs_size_t prog_size; 38 lfs_size_t erase_size; 41 lfs_size_t erase_count; 60 lfs_off_t off, void *buffer, lfs_size_t size); 66 lfs_off_t off, const void *buffer, lfs_size_t size);
|
D | lfs_rambd.h | 32 lfs_size_t read_size; 35 lfs_size_t prog_size; 38 lfs_size_t erase_size; 41 lfs_size_t erase_count; 63 lfs_off_t off, void *buffer, lfs_size_t size); 69 lfs_off_t off, const void *buffer, lfs_size_t size);
|
D | lfs_emubd.h | 71 lfs_size_t read_size; 74 lfs_size_t prog_size; 77 lfs_size_t erase_size; 80 lfs_size_t erase_count; 172 lfs_off_t off, void *buffer, lfs_size_t size); 178 lfs_off_t off, const void *buffer, lfs_size_t size);
|
D | lfs_rambd.c | 56 lfs_off_t off, void *buffer, lfs_size_t size) { in lfs_rambd_read() 76 lfs_off_t off, const void *buffer, lfs_size_t size) { in lfs_rambd_prog()
|
D | lfs_filebd.c | 66 lfs_off_t off, void *buffer, lfs_size_t size) { in lfs_filebd_read() 102 lfs_off_t off, const void *buffer, lfs_size_t size) { in lfs_filebd_prog()
|
D | lfs_emubd.c | 216 lfs_off_t off, void *buffer, lfs_size_t size) { in lfs_emubd_read() 266 lfs_off_t off, const void *buffer, lfs_size_t size) { in lfs_emubd_prog() 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 | bench_runner.c | 1740 lfs_size_t sizes[4]; in main() 1789 lfs_size_t sizes[4]; in main()
|
D | test_runner.c | 2309 lfs_size_t sizes[4]; in main() 2358 lfs_size_t sizes[4]; in main()
|