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()
426 struct buffer_head *bitmap_bh = NULL; in ext2_new_inode() local
465 brelse(bitmap_bh); in ext2_new_inode()
466 bitmap_bh = read_inode_bitmap(sb, group); in ext2_new_inode()
467 if (!bitmap_bh) { in ext2_new_inode()
474 ino = ext2_find_next_zero_bit((unsigned long *)bitmap_bh->b_data, in ext2_new_inode()
490 ino, bitmap_bh->b_data)) { in ext2_new_inode()
507 brelse(bitmap_bh); in ext2_new_inode()
511 mark_buffer_dirty(bitmap_bh); in ext2_new_inode()
513 sync_dirty_buffer(bitmap_bh); in ext2_new_inode()
514 brelse(bitmap_bh); in ext2_new_inode()
624 struct buffer_head *bitmap_bh = NULL; in ext2_count_free_inodes() local
634 brelse(bitmap_bh); in ext2_count_free_inodes()
635 bitmap_bh = read_inode_bitmap(sb, i); in ext2_count_free_inodes()
636 if (!bitmap_bh) in ext2_count_free_inodes()
639 x = ext2_count_free(bitmap_bh, EXT2_INODES_PER_GROUP(sb) / 8); in ext2_count_free_inodes()
644 brelse(bitmap_bh); in ext2_count_free_inodes()