Lines Matching defs:bitmap_bh
478 struct buffer_head *bitmap_bh = NULL;
513 brelse(bitmap_bh);
514 bitmap_bh = read_block_bitmap(sb, block_group);
515 if (!bitmap_bh)
537 bit + i, bitmap_bh->b_data)) {
545 mark_buffer_dirty(bitmap_bh);
547 sync_dirty_buffer(bitmap_bh);
558 brelse(bitmap_bh);
642 * @bitmap_bh: bufferhead holds the block bitmap
662 struct buffer_head *bitmap_bh, ext2_grpblk_t grp_goal,
685 grp_goal = find_next_usable_block(start, bitmap_bh, end);
693 bitmap_bh->b_data);
701 grp_goal, bitmap_bh->b_data)) {
839 * @bitmap_bh: The block group block bitmap.
865 unsigned int group, struct buffer_head *bitmap_bh)
956 bitmap_bh, group_end_block - group_first_block + 1);
1034 * @bitmap_bh: bufferhead holds the block bitmap
1058 struct buffer_head *bitmap_bh, ext2_grpblk_t grp_goal,
1073 return ext2_try_to_allocate(sb, group, bitmap_bh,
1107 group, bitmap_bh);
1133 ret = ext2_try_to_allocate(sb, group, bitmap_bh, grp_goal,
1204 struct buffer_head *bitmap_bh = NULL;
1289 * working out or fs corruption), the bitmap_bh is non-null
1293 brelse(bitmap_bh);
1294 bitmap_bh = read_block_bitmap(sb, group_no);
1295 if (!bitmap_bh)
1298 bitmap_bh, grp_target_blk,
1334 brelse(bitmap_bh);
1335 bitmap_bh = read_block_bitmap(sb, group_no);
1336 if (!bitmap_bh)
1342 bitmap_bh, -1, my_rsv, &num);
1402 mark_buffer_dirty(bitmap_bh);
1404 sync_dirty_buffer(bitmap_bh);
1407 brelse(bitmap_bh);
1425 brelse(bitmap_bh);
1452 struct buffer_head *bitmap_bh;
1457 bitmap_bh = read_block_bitmap(sb, i);
1458 if (!bitmap_bh)
1461 x = ext2_count_free(bitmap_bh, sb->s_blocksize);
1465 brelse(bitmap_bh);