Searched refs:F2FS_BLK_ALIGN (Results 1 – 5 of 5) sorted by relevance
30 #define F2FS_BLK_ALIGN(x) (F2FS_BYTES_TO_BLK((x) + F2FS_BLKSIZE - 1)) macro
728 free_from = (pgoff_t)F2FS_BLK_ALIGN(from); in f2fs_do_truncate_blocks()3411 end = F2FS_BLK_ALIGN(i_size_read(inode)); in f2fs_precache_extents()4740 (F2FS_BYTES_TO_BLK(pos) < F2FS_BLK_ALIGN(i_size_read(inode)))) in f2fs_preallocate_blocks()4761 map.m_lblk = F2FS_BLK_ALIGN(pos); in f2fs_preallocate_blocks()
3169 nm_i->nat_bits_blocks = F2FS_BLK_ALIGN((nat_bits_bytes << 1) + 8); in __get_nat_bitmaps()
1809 last_lblk = F2FS_BLK_ALIGN(pos + len); in f2fs_overwrite_io()
3768 nat_bits_blocks = F2FS_BLK_ALIGN((nat_bits_bytes << 1) + 8); in f2fs_sanity_check_ckpt()