Lines Matching refs:bitmap_bh

480 	struct buffer_head *bitmap_bh = NULL;  in ext2_free_blocks()  local
515 brelse(bitmap_bh); in ext2_free_blocks()
516 bitmap_bh = read_block_bitmap(sb, block_group); in ext2_free_blocks()
517 if (!bitmap_bh) in ext2_free_blocks()
539 bit + i, bitmap_bh->b_data)) { in ext2_free_blocks()
547 mark_buffer_dirty(bitmap_bh); in ext2_free_blocks()
549 sync_dirty_buffer(bitmap_bh); in ext2_free_blocks()
560 brelse(bitmap_bh); in ext2_free_blocks()
664 struct buffer_head *bitmap_bh, ext2_grpblk_t grp_goal, in ext2_try_to_allocate() argument
687 grp_goal = find_next_usable_block(start, bitmap_bh, end); in ext2_try_to_allocate()
695 bitmap_bh->b_data); in ext2_try_to_allocate()
703 grp_goal, bitmap_bh->b_data)) { in ext2_try_to_allocate()
876 unsigned int group, struct buffer_head *bitmap_bh) in alloc_new_reservation() argument
967 bitmap_bh, group_end_block - group_first_block + 1); in alloc_new_reservation()
1069 struct buffer_head *bitmap_bh, ext2_grpblk_t grp_goal, in ext2_try_to_allocate_with_rsv() argument
1084 return ext2_try_to_allocate(sb, group, bitmap_bh, in ext2_try_to_allocate_with_rsv()
1118 group, bitmap_bh); in ext2_try_to_allocate_with_rsv()
1139 ret = ext2_try_to_allocate(sb, group, bitmap_bh, grp_goal, in ext2_try_to_allocate_with_rsv()
1209 struct buffer_head *bitmap_bh = NULL; in ext2_new_blocks() local
1298 brelse(bitmap_bh); in ext2_new_blocks()
1299 bitmap_bh = read_block_bitmap(sb, group_no); in ext2_new_blocks()
1300 if (!bitmap_bh) in ext2_new_blocks()
1303 bitmap_bh, grp_target_blk, in ext2_new_blocks()
1339 brelse(bitmap_bh); in ext2_new_blocks()
1340 bitmap_bh = read_block_bitmap(sb, group_no); in ext2_new_blocks()
1341 if (!bitmap_bh) in ext2_new_blocks()
1347 bitmap_bh, -1, my_rsv, &num); in ext2_new_blocks()
1407 mark_buffer_dirty(bitmap_bh); in ext2_new_blocks()
1409 sync_dirty_buffer(bitmap_bh); in ext2_new_blocks()
1412 brelse(bitmap_bh); in ext2_new_blocks()
1430 brelse(bitmap_bh); in ext2_new_blocks()
1464 struct buffer_head *bitmap_bh; in ext2_count_free_blocks() local
1469 bitmap_bh = read_block_bitmap(sb, i); in ext2_count_free_blocks()
1470 if (!bitmap_bh) in ext2_count_free_blocks()
1473 x = ext2_count_free(bitmap_bh, sb->s_blocksize); in ext2_count_free_blocks()
1477 brelse(bitmap_bh); in ext2_count_free_blocks()