Searched refs:lfs_min (Results 1 – 4 of 4) sorted by relevance
/littlefs-3.5.0-3.4.0/tests/ |
D | test_files.toml | 34 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 …]
|
D | test_truncate.toml | 103 size = lfs_min(lfs.cfg->cache_size, sizeof(buffer)/2);
|
/littlefs-3.5.0-3.4.0/ |
D | lfs.c | 65 diff = lfs_min(diff, pcache->size - (off-pcache->off)); in lfs_bd_read() 75 diff = lfs_min(diff, pcache->off-off); in lfs_bd_read() 82 diff = lfs_min(diff, rcache->size - (off-rcache->off)); in lfs_bd_read() 92 diff = lfs_min(diff, rcache->off-off); in lfs_bd_read() 114 rcache->size = lfs_min( in lfs_bd_read() 115 lfs_min( in lfs_bd_read() 141 diff = lfs_min(size-i, sizeof(dat)); in lfs_bd_cmp() 223 lfs_size_t diff = lfs_min(size, in lfs_bd_prog() 596 lfs->free.size = lfs_min(8*lfs->cfg->lookahead_size, lfs->free.ack); in lfs_alloc() 656 lfs_size_t diff = lfs_min(lfs_tag_size(tag), gsize); in lfs_dir_getslice() [all …]
|
D | lfs_util.h | 112 static inline uint32_t lfs_min(uint32_t a, uint32_t b) { in lfs_min() function
|