Searched +full:- +full:- +full:depth (Results 1 – 4 of 4) sorted by relevance
/littlefs-2.7.6/tests/ |
D | test_relocations.toml | 12 while (LFS_BLOCK_COUNT - lfs_fs_size(&lfs) > 16) { 39 if (j == ITERATIONS-1) { 78 while (LFS_BLOCK_COUNT - lfs_fs_size(&lfs) > 16) { 150 # TODO fix this case, caused by non-DAG trees 151 if = '!(DEPTH == 3 && LFS_CACHE_SIZE != 64)' 153 {FILES=6, DEPTH=1, CYCLES=20, LFS_BLOCK_CYCLES=1}, 154 {FILES=26, DEPTH=1, CYCLES=20, LFS_BLOCK_CYCLES=1}, 155 {FILES=3, DEPTH=3, CYCLES=20, LFS_BLOCK_CYCLES=1}, 169 for (int d = 0; d < DEPTH; d++) { 177 for (int d = 0; d < DEPTH; d++) { [all …]
|
D | test_orphans.toml | 14 // to the linked-list entry, which should orphan the orphan. Note this 23 int off = LFS_BLOCK_SIZE-1; 25 off -= 1; 27 memset(&bbuffer[off-3], LFS_BLOCK_SIZE, 3); 61 # TODO fix this case, caused by non-DAG trees 62 if = '!(DEPTH == 3 && LFS_CACHE_SIZE != 64)' 64 {FILES=6, DEPTH=1, CYCLES=20}, 65 {FILES=26, DEPTH=1, CYCLES=20}, 66 {FILES=3, DEPTH=3, CYCLES=20}, 80 for (int d = 0; d < DEPTH; d++) { [all …]
|
/littlefs-2.7.6/ |
D | .travis.yml | 4 - CFLAGS=-Werror 5 - MAKEFLAGS=-j 11 - $HOME/.cache/apt 14 _: &install-common 16 - sudo apt-get install python3 python3-pip 17 - sudo pip3 install toml 18 # setup a ram-backed disk to speed up reentrant tests 19 - mkdir disks 20 - sudo mount -t tmpfs -o size=100m tmpfs disks 21 - export TFLAGS="$TFLAGS --disk=disks/disk" [all …]
|
D | lfs.c | 5 * SPDX-License-Identifier: BSD-3-Clause 10 #define LFS_BLOCK_NULL ((lfs_block_t)-1) 11 #define LFS_BLOCK_INLINE ((lfs_block_t)-2) 18 rcache->block = LFS_BLOCK_NULL; in lfs_cache_drop() 23 memset(pcache->buffer, 0xff, lfs->cfg->cache_size); in lfs_cache_zero() 24 pcache->block = LFS_BLOCK_NULL; in lfs_cache_zero() 32 if (block >= lfs->cfg->block_count || in lfs_bd_read() 33 off+size > lfs->cfg->block_size) { in lfs_bd_read() 40 if (pcache && block == pcache->block && in lfs_bd_read() 41 off < pcache->off + pcache->size) { in lfs_bd_read() [all …]
|