Lines Matching refs:block_bytes
294 for (i = round_up(start_offset, block_bytes(c)) >> 9; in __bch2_truncate_folio()
295 i < round_down(end_offset, block_bytes(c)) >> 9; in __bch2_truncate_folio()
503 u64 block_start = round_up(offset, block_bytes(c)); in bchfs_fpunch()
504 u64 block_end = round_down(end, block_bytes(c)); in bchfs_fpunch()
547 if ((offset | len) & (block_bytes(c) - 1)) in bchfs_fcollapse_finsert()
709 u64 block_start = round_down(offset, block_bytes(c)); in bchfs_fallocate()
710 u64 block_end = round_up(end, block_bytes(c)); in bchfs_fallocate()
729 block_start = round_up(offset, block_bytes(c)); in bchfs_fallocate()
730 block_end = round_down(end, block_bytes(c)); in bchfs_fallocate()
842 if ((pos_src & (block_bytes(c) - 1)) || in bch2_remap_file_range()
843 (pos_dst & (block_bytes(c) - 1))) in bch2_remap_file_range()
862 aligned_len = round_up((u64) len, block_bytes(c)); in bch2_remap_file_range()