Lines Matching refs:bh_map
448 struct buffer_head *bh_map, struct metapath *mp, in gfs2_bmap_alloc() argument
565 if (buffer_zeronew(bh_map)) { in gfs2_bmap_alloc()
571 clear_buffer_zeronew(bh_map); in gfs2_bmap_alloc()
581 map_bh(bh_map, inode->i_sb, dblock); in gfs2_bmap_alloc()
582 bh_map->b_size = dblks << inode->i_blkbits; in gfs2_bmap_alloc()
583 set_buffer_new(bh_map); in gfs2_bmap_alloc()
602 struct buffer_head *bh_map, int create) in gfs2_block_map() argument
607 const unsigned int maxlen = bh_map->b_size >> inode->i_blkbits; in gfs2_block_map()
622 clear_buffer_mapped(bh_map); in gfs2_block_map()
623 clear_buffer_new(bh_map); in gfs2_block_map()
624 clear_buffer_boundary(bh_map); in gfs2_block_map()
625 trace_gfs2_bmap(ip, bh_map, lblock, create, 1); in gfs2_block_map()
651 map_bh(bh_map, inode->i_sb, be64_to_cpu(*ptr)); in gfs2_block_map()
654 bh_map->b_size = (len << inode->i_blkbits); in gfs2_block_map()
656 set_buffer_boundary(bh_map); in gfs2_block_map()
660 trace_gfs2_bmap(ip, bh_map, lblock, create, ret); in gfs2_block_map()
673 ret = gfs2_bmap_alloc(inode, lblock, bh_map, &mp, ret, height, maxlen); in gfs2_block_map()