Home
last modified time | relevance | path

Searched refs:lfs_min (Results 1 – 4 of 4) sorted by relevance

/third_party/littlefs/tests/
Dtest_files.toml34 lfs_size_t chunk = lfs_min(CHUNKSIZE, SIZE-i);
49 lfs_size_t chunk = lfs_min(CHUNKSIZE, SIZE-i);
73 lfs_size_t chunk = lfs_min(CHUNKSIZE, SIZE1-i);
88 lfs_size_t chunk = lfs_min(CHUNKSIZE, SIZE1-i);
103 lfs_size_t chunk = lfs_min(CHUNKSIZE, SIZE2-i);
118 lfs_size_t chunk = lfs_min(CHUNKSIZE, SIZE2-i);
130 lfs_size_t chunk = lfs_min(CHUNKSIZE, SIZE1-i);
155 lfs_size_t chunk = lfs_min(CHUNKSIZE, SIZE1-i);
170 lfs_size_t chunk = lfs_min(CHUNKSIZE, SIZE1-i);
185 lfs_size_t chunk = lfs_min(CHUNKSIZE, SIZE2-i);
[all …]
Dtest_truncate.toml103 size = lfs_min(lfs.cfg->cache_size, sizeof(buffer)/2);
/third_party/littlefs/
Dlfs.c61 diff = lfs_min(diff, pcache->size - (off-pcache->off)); in lfs_bd_read()
71 diff = lfs_min(diff, pcache->off-off); in lfs_bd_read()
78 diff = lfs_min(diff, rcache->size - (off-rcache->off)); in lfs_bd_read()
88 diff = lfs_min(diff, rcache->off-off); in lfs_bd_read()
110 rcache->size = lfs_min( in lfs_bd_read()
111 lfs_min( in lfs_bd_read()
137 diff = lfs_min(size-i, sizeof(dat)); in lfs_bd_cmp()
219 lfs_size_t diff = lfs_min(size, in lfs_bd_prog()
590 lfs->free.size = lfs_min(8*lfs->cfg->lookahead_size, lfs->free.ack); in lfs_alloc()
650 lfs_size_t diff = lfs_min(lfs_tag_size(tag), gsize); in lfs_dir_getslice()
[all …]
Dlfs_util.h112 static inline uint32_t lfs_min(uint32_t a, uint32_t b) { in lfs_min() function