Searched refs:lfs_alignup (Results 1 – 2 of 2) sorted by relevance
121 static inline uint32_t lfs_alignup(uint32_t a, uint32_t alignment) { in lfs_alignup() function
116 lfs_alignup(off+hint, lfs->cfg->read_size), in lfs_bd_read()163 lfs_size_t diff = lfs_alignup(pcache->size, lfs->cfg->prog_size); in lfs_bd_flush()729 rcache->size = lfs_min(lfs_alignup(off+hint, lfs->cfg->read_size), in lfs_dir_getread()1507 const lfs_off_t end = lfs_alignup(commit->off + 2*sizeof(uint32_t), in lfs_dir_commitcrc()1633 dir->rev = lfs_alignup(dir->rev, ((lfs->cfg->block_cycles+1)|1)); in lfs_dir_alloc()1945 lfs_alignup( in lfs_dir_splittingcompact()