Searched refs:BTRFS_BYTES_TO_BLKS (Results 1 – 4 of 4) sorted by relevance
/fs/btrfs/ |
D | file.c | 1624 num_sectors = BTRFS_BYTES_TO_BLKS(root->fs_info, in __btrfs_buffered_write() 1628 dirty_sectors = BTRFS_BYTES_TO_BLKS(root->fs_info, in __btrfs_buffered_write() 2379 same_block = (BTRFS_BYTES_TO_BLKS(root->fs_info, offset)) in btrfs_punch_hole() 2380 == (BTRFS_BYTES_TO_BLKS(root->fs_info, offset + len - 1)); in btrfs_punch_hole()
|
D | file-item.c | 486 nr_sectors = BTRFS_BYTES_TO_BLKS(root->fs_info, in btrfs_csum_one_bio()
|
D | inode.c | 8055 nr_sectors = BTRFS_BYTES_TO_BLKS(fs_info, bvec->bv_len); in __btrfs_correct_data_nocsum() 8152 nr_sectors = BTRFS_BYTES_TO_BLKS(fs_info, bvec->bv_len); in __btrfs_subio_endio_read() 8156 csum_pos = BTRFS_BYTES_TO_BLKS(fs_info, offset); in __btrfs_subio_endio_read() 8481 nr_sectors = BTRFS_BYTES_TO_BLKS(root->fs_info, bvec->bv_len); in btrfs_submit_direct_hook()
|
D | ctree.h | 1423 #define BTRFS_BYTES_TO_BLKS(fs_info, bytes) \ macro
|