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()
97 diff = lfs_aligndown(diff, lfs->cfg->read_size); in lfs_bd_read()112 rcache->off = lfs_aligndown(off, lfs->cfg->read_size); in lfs_bd_read()269 pcache->off = lfs_aligndown(off, lfs->cfg->prog_size); in lfs_bd_prog()808 rcache->off = lfs_aligndown(off, lfs->cfg->read_size); in lfs_dir_getread()