Searched refs:BTRFS_BYTES_TO_BLKS (Results 1 – 4 of 4) sorted by relevance
1794 num_sectors = BTRFS_BYTES_TO_BLKS(fs_info, reserve_bytes); in btrfs_buffered_write()1797 dirty_sectors = BTRFS_BYTES_TO_BLKS(fs_info, dirty_sectors); in btrfs_buffered_write()3020 same_block = (BTRFS_BYTES_TO_BLKS(fs_info, offset)) in btrfs_punch_hole()3021 == (BTRFS_BYTES_TO_BLKS(fs_info, offset + len - 1)); in btrfs_punch_hole()3303 if (BTRFS_BYTES_TO_BLKS(fs_info, offset) == in btrfs_zero_range()3304 BTRFS_BYTES_TO_BLKS(fs_info, offset + len - 1)) { in btrfs_zero_range()
683 nr_sectors = BTRFS_BYTES_TO_BLKS(fs_info, in btrfs_csum_one_bio()
1566 #define BTRFS_BYTES_TO_BLKS(fs_info, bytes) \ macro
8266 nr_sectors = BTRFS_BYTES_TO_BLKS(fs_info, bvec.bv_len); in btrfs_check_read_dio_bio()