Lines Matching refs:bitmap_bh

485 	struct buffer_head *bitmap_bh = NULL;  in ext2_free_blocks()  local
520 brelse(bitmap_bh); in ext2_free_blocks()
521 bitmap_bh = read_block_bitmap(sb, block_group); in ext2_free_blocks()
522 if (!bitmap_bh) in ext2_free_blocks()
544 bit + i, bitmap_bh->b_data)) { in ext2_free_blocks()
552 mark_buffer_dirty(bitmap_bh); in ext2_free_blocks()
554 sync_dirty_buffer(bitmap_bh); in ext2_free_blocks()
565 brelse(bitmap_bh); in ext2_free_blocks()
669 struct buffer_head *bitmap_bh, ext2_grpblk_t grp_goal, in ext2_try_to_allocate() argument
692 grp_goal = find_next_usable_block(start, bitmap_bh, end); in ext2_try_to_allocate()
700 bitmap_bh->b_data); in ext2_try_to_allocate()
708 grp_goal, bitmap_bh->b_data)) { in ext2_try_to_allocate()
872 unsigned int group, struct buffer_head *bitmap_bh) in alloc_new_reservation() argument
963 bitmap_bh, group_end_block - group_first_block + 1); in alloc_new_reservation()
1065 struct buffer_head *bitmap_bh, ext2_grpblk_t grp_goal, in ext2_try_to_allocate_with_rsv() argument
1080 return ext2_try_to_allocate(sb, group, bitmap_bh, in ext2_try_to_allocate_with_rsv()
1114 group, bitmap_bh); in ext2_try_to_allocate_with_rsv()
1140 ret = ext2_try_to_allocate(sb, group, bitmap_bh, grp_goal, in ext2_try_to_allocate_with_rsv()
1211 struct buffer_head *bitmap_bh = NULL; in ext2_new_blocks() local
1300 brelse(bitmap_bh); in ext2_new_blocks()
1301 bitmap_bh = read_block_bitmap(sb, group_no); in ext2_new_blocks()
1302 if (!bitmap_bh) in ext2_new_blocks()
1305 bitmap_bh, grp_target_blk, in ext2_new_blocks()
1341 brelse(bitmap_bh); in ext2_new_blocks()
1342 bitmap_bh = read_block_bitmap(sb, group_no); in ext2_new_blocks()
1343 if (!bitmap_bh) in ext2_new_blocks()
1349 bitmap_bh, -1, my_rsv, &num); in ext2_new_blocks()
1409 mark_buffer_dirty(bitmap_bh); in ext2_new_blocks()
1411 sync_dirty_buffer(bitmap_bh); in ext2_new_blocks()
1414 brelse(bitmap_bh); in ext2_new_blocks()
1432 brelse(bitmap_bh); in ext2_new_blocks()
1459 struct buffer_head *bitmap_bh; in ext2_count_free_blocks() local
1464 bitmap_bh = read_block_bitmap(sb, i); in ext2_count_free_blocks()
1465 if (!bitmap_bh) in ext2_count_free_blocks()
1468 x = ext2_count_free(bitmap_bh, sb->s_blocksize); in ext2_count_free_blocks()
1472 brelse(bitmap_bh); in ext2_count_free_blocks()