Searched refs:lfs_aligndown (Results 1 – 2 of 2) sorted by relevance
117 static inline uint32_t lfs_aligndown(uint32_t a, uint32_t alignment) { in lfs_aligndown() function122 return lfs_aligndown(a + alignment-1, alignment); in lfs_alignup()
98 diff = lfs_aligndown(diff, lfs->cfg->read_size); in lfs_bd_read()113 rcache->off = lfs_aligndown(off, lfs->cfg->read_size); in lfs_bd_read()249 pcache->off = lfs_aligndown(off, lfs->cfg->prog_size); in lfs_bd_prog()728 rcache->off = lfs_aligndown(off, lfs->cfg->read_size); in lfs_dir_getread()