Lines Matching defs:bh_map
1193 * @bh_map: The bh to be mapped
1196 * The size of the requested mapping is defined in bh_map->b_size.
1198 * Clears buffer_mapped(bh_map) and leaves bh_map->b_size unchanged
1199 * when @lblock is not mapped. Sets buffer_mapped(bh_map) and
1200 * bh_map->b_size to indicate the size of the mapping when @lblock and
1211 struct buffer_head *bh_map, int create)
1215 loff_t length = bh_map->b_size;
1219 clear_buffer_mapped(bh_map);
1220 clear_buffer_new(bh_map);
1221 clear_buffer_boundary(bh_map);
1222 trace_gfs2_bmap(ip, bh_map, lblock, create, 1);
1231 if (iomap.length > bh_map->b_size) {
1232 iomap.length = bh_map->b_size;
1236 map_bh(bh_map, inode->i_sb, iomap.addr >> inode->i_blkbits);
1237 bh_map->b_size = iomap.length;
1239 set_buffer_boundary(bh_map);
1241 set_buffer_new(bh_map);
1244 trace_gfs2_bmap(ip, bh_map, lblock, create, ret);