Lines Matching refs:bitmap_bh
110 struct buffer_head *bitmap_bh; in ext2_free_inode() local
137 bitmap_bh = read_inode_bitmap(sb, block_group); in ext2_free_inode()
138 if (!bitmap_bh) in ext2_free_inode()
143 bit, (void *) bitmap_bh->b_data)) in ext2_free_inode()
148 mark_buffer_dirty(bitmap_bh); in ext2_free_inode()
150 sync_dirty_buffer(bitmap_bh); in ext2_free_inode()
152 brelse(bitmap_bh); in ext2_free_inode()
432 struct buffer_head *bitmap_bh = NULL; in ext2_new_inode() local
471 brelse(bitmap_bh); in ext2_new_inode()
472 bitmap_bh = read_inode_bitmap(sb, group); in ext2_new_inode()
473 if (!bitmap_bh) { in ext2_new_inode()
480 ino = ext2_find_next_zero_bit((unsigned long *)bitmap_bh->b_data, in ext2_new_inode()
496 ino, bitmap_bh->b_data)) { in ext2_new_inode()
513 brelse(bitmap_bh); in ext2_new_inode()
517 mark_buffer_dirty(bitmap_bh); in ext2_new_inode()
519 sync_dirty_buffer(bitmap_bh); in ext2_new_inode()
520 brelse(bitmap_bh); in ext2_new_inode()
630 struct buffer_head *bitmap_bh = NULL; in ext2_count_free_inodes() local
640 brelse(bitmap_bh); in ext2_count_free_inodes()
641 bitmap_bh = read_inode_bitmap(sb, i); in ext2_count_free_inodes()
642 if (!bitmap_bh) in ext2_count_free_inodes()
645 x = ext2_count_free(bitmap_bh, EXT2_INODES_PER_GROUP(sb) / 8); in ext2_count_free_inodes()
650 brelse(bitmap_bh); in ext2_count_free_inodes()