Lines Matching refs:bh_result
1124 struct buffer_head *bh_result, in __xfs_get_blocks() argument
1143 ASSERT(bh_result->b_size >= (1 << inode->i_blkbits)); in __xfs_get_blocks()
1144 size = bh_result->b_size; in __xfs_get_blocks()
1196 xfs_map_buffer(inode, bh_result, &imap, offset); in __xfs_get_blocks()
1199 bh_result->b_private = inode; in __xfs_get_blocks()
1200 set_buffer_unwritten(bh_result); in __xfs_get_blocks()
1208 bh_result->b_bdev = xfs_find_bdev_for_inode(inode); in __xfs_get_blocks()
1220 ((!buffer_mapped(bh_result) && !buffer_uptodate(bh_result)) || in __xfs_get_blocks()
1223 set_buffer_new(bh_result); in __xfs_get_blocks()
1228 set_buffer_uptodate(bh_result); in __xfs_get_blocks()
1229 set_buffer_mapped(bh_result); in __xfs_get_blocks()
1230 set_buffer_delay(bh_result); in __xfs_get_blocks()
1250 bh_result->b_size = mapping_size; in __xfs_get_blocks()
1264 struct buffer_head *bh_result, in xfs_get_blocks() argument
1267 return __xfs_get_blocks(inode, iblock, bh_result, create, 0); in xfs_get_blocks()
1274 struct buffer_head *bh_result, in xfs_get_blocks_direct() argument
1277 return __xfs_get_blocks(inode, iblock, bh_result, create, 1); in xfs_get_blocks_direct()