Lines Matching refs:bh_result
255 struct extent_info *ei, struct buffer_head *bh_result) in f2fs_map_bh() argument
258 size_t max_size = bh_result->b_size; in f2fs_map_bh()
261 clear_buffer_new(bh_result); in f2fs_map_bh()
262 map_bh(bh_result, sb, ei->blk + pgofs - ei->fofs); in f2fs_map_bh()
264 bh_result->b_size = min(max_size, mapped_size); in f2fs_map_bh()
1219 struct buffer_head *bh_result, int create, bool fiemap) in __get_data_block() argument
1222 unsigned maxblocks = bh_result->b_size >> blkbits; in __get_data_block()
1234 f2fs_map_bh(inode->i_sb, pgofs, &ei, bh_result); in __get_data_block()
1253 clear_buffer_new(bh_result); in __get_data_block()
1254 map_bh(bh_result, inode->i_sb, dn.data_blkaddr); in __get_data_block()
1260 set_buffer_new(bh_result); in __get_data_block()
1261 map_bh(bh_result, inode->i_sb, dn.data_blkaddr); in __get_data_block()
1267 bh_result->b_size = (((size_t)1) << blkbits); in __get_data_block()
1291 if (maxblocks > (bh_result->b_size >> blkbits)) { in __get_data_block()
1298 set_buffer_new(bh_result); in __get_data_block()
1302 if (blkaddr == (bh_result->b_blocknr + ofs)) { in __get_data_block()
1306 bh_result->b_size += (((size_t)1) << blkbits); in __get_data_block()
1319 trace_f2fs_get_data_block(inode, iblock, bh_result, err); in __get_data_block()
1324 struct buffer_head *bh_result, int create) in get_data_block() argument
1326 return __get_data_block(inode, iblock, bh_result, create, false); in get_data_block()
1330 struct buffer_head *bh_result, int create) in get_data_block_fiemap() argument
1332 return __get_data_block(inode, iblock, bh_result, create, true); in get_data_block_fiemap()