Searched refs:lfs_alignup (Results 1 – 2 of 2) sorted by relevance
120 static inline uint32_t lfs_alignup(uint32_t a, uint32_t alignment) { in lfs_alignup() function
96 lfs_alignup(off+hint, lfs->cfg->read_size), in lfs_bd_read()149 lfs_size_t diff = lfs_alignup(pcache->size, lfs->cfg->prog_size); in lfs_bd_flush()701 rcache->size = lfs_min(lfs_alignup(off+hint, lfs->cfg->read_size), in lfs_dir_getread()1344 const lfs_off_t end = lfs_alignup(commit->off + 2*sizeof(uint32_t), in lfs_dir_commitcrc()1470 dir->rev = lfs_alignup(dir->rev, ((lfs->cfg->block_cycles+1)|1)); in lfs_dir_alloc()1595 lfs_alignup((lfs->cfg->metadata_max ? in lfs_dir_compact()