Lines Matching refs:bh_result
7649 struct buffer_head *bh_result, in btrfs_get_blocks_direct_read() argument
7659 bh_result->b_blocknr = (em->block_start + (start - em->start)) >> in btrfs_get_blocks_direct_read()
7661 bh_result->b_size = len; in btrfs_get_blocks_direct_read()
7662 bh_result->b_bdev = em->bdev; in btrfs_get_blocks_direct_read()
7663 set_buffer_mapped(bh_result); in btrfs_get_blocks_direct_read()
7669 struct buffer_head *bh_result, in btrfs_get_blocks_direct_write() argument
7731 len = bh_result->b_size; in btrfs_get_blocks_direct_write()
7742 bh_result->b_blocknr = (em->block_start + (start - em->start)) >> in btrfs_get_blocks_direct_write()
7744 bh_result->b_size = len; in btrfs_get_blocks_direct_write()
7745 bh_result->b_bdev = em->bdev; in btrfs_get_blocks_direct_write()
7746 set_buffer_mapped(bh_result); in btrfs_get_blocks_direct_write()
7749 set_buffer_new(bh_result); in btrfs_get_blocks_direct_write()
7767 struct buffer_head *bh_result, int create) in btrfs_get_blocks_direct() argument
7775 u64 len = bh_result->b_size; in btrfs_get_blocks_direct()
7835 ret = btrfs_get_blocks_direct_write(&em, bh_result, inode, in btrfs_get_blocks_direct()
7844 ret = btrfs_get_blocks_direct_read(em, bh_result, inode, in btrfs_get_blocks_direct()
7856 lockstart = start + bh_result->b_size; in btrfs_get_blocks_direct()