Lines Matching defs:bh_map
1266 * @bh_map: The bh to be mapped
1269 * The size of the requested mapping is defined in bh_map->b_size.
1271 * Clears buffer_mapped(bh_map) and leaves bh_map->b_size unchanged
1272 * when @lblock is not mapped. Sets buffer_mapped(bh_map) and
1273 * bh_map->b_size to indicate the size of the mapping when @lblock and
1284 struct buffer_head *bh_map, int create)
1288 loff_t length = bh_map->b_size;
1294 clear_buffer_mapped(bh_map);
1295 clear_buffer_new(bh_map);
1296 clear_buffer_boundary(bh_map);
1297 trace_gfs2_bmap(ip, bh_map, lblock, create, 1);
1306 if (iomap.length > bh_map->b_size) {
1307 iomap.length = bh_map->b_size;
1311 map_bh(bh_map, inode->i_sb, iomap.addr >> inode->i_blkbits);
1312 bh_map->b_size = iomap.length;
1314 set_buffer_boundary(bh_map);
1316 set_buffer_new(bh_map);
1319 trace_gfs2_bmap(ip, bh_map, lblock, create, ret);