Searched refs:alignment (Results 1 – 2 of 2) sorted by relevance
143 static inline uint32_t lfs_aligndown(uint32_t a, uint32_t alignment) { in lfs_aligndown() argument144 return a - (a % alignment); in lfs_aligndown()147 static inline uint32_t lfs_alignup(uint32_t a, uint32_t alignment) { in lfs_alignup() argument148 return lfs_aligndown(a + alignment-1, alignment); in lfs_alignup()
28 These determine the alignment of block device operations, but don't need89 alignment.