• Home
  • Raw
  • Download

Lines Matching refs:bitmap_bh

236 	struct buffer_head *bitmap_bh = NULL;  in ext4_free_inode()  local
289 bitmap_bh = ext4_read_inode_bitmap(sb, block_group); in ext4_free_inode()
292 if (IS_ERR(bitmap_bh)) { in ext4_free_inode()
293 fatal = PTR_ERR(bitmap_bh); in ext4_free_inode()
294 bitmap_bh = NULL; in ext4_free_inode()
302 BUFFER_TRACE(bitmap_bh, "get_write_access"); in ext4_free_inode()
303 fatal = ext4_journal_get_write_access(handle, bitmap_bh); in ext4_free_inode()
314 cleared = ext4_test_and_clear_bit(bit, bitmap_bh->b_data); in ext4_free_inode()
327 ext4_inode_bitmap_csum_set(sb, block_group, gdp, bitmap_bh, in ext4_free_inode()
346 BUFFER_TRACE(bitmap_bh, "call ext4_handle_dirty_metadata"); in ext4_free_inode()
347 err = ext4_handle_dirty_metadata(handle, NULL, bitmap_bh); in ext4_free_inode()
362 brelse(bitmap_bh); in ext4_free_inode()
1129 struct buffer_head *bitmap_bh = NULL; in ext4_orphan_get() local
1138 bitmap_bh = ext4_read_inode_bitmap(sb, block_group); in ext4_orphan_get()
1139 if (IS_ERR(bitmap_bh)) { in ext4_orphan_get()
1141 ino, PTR_ERR(bitmap_bh)); in ext4_orphan_get()
1142 return (struct inode *) bitmap_bh; in ext4_orphan_get()
1149 if (!ext4_test_bit(bit, bitmap_bh->b_data)) in ext4_orphan_get()
1172 brelse(bitmap_bh); in ext4_orphan_get()
1177 if (bitmap_bh) in ext4_orphan_get()
1179 bit, (unsigned long long)bitmap_bh->b_blocknr, in ext4_orphan_get()
1180 ext4_test_bit(bit, bitmap_bh->b_data)); in ext4_orphan_get()
1193 brelse(bitmap_bh); in ext4_orphan_get()
1205 struct buffer_head *bitmap_bh = NULL; in ext4_count_free_inodes() local
1216 brelse(bitmap_bh); in ext4_count_free_inodes()
1217 bitmap_bh = ext4_read_inode_bitmap(sb, i); in ext4_count_free_inodes()
1218 if (IS_ERR(bitmap_bh)) { in ext4_count_free_inodes()
1219 bitmap_bh = NULL; in ext4_count_free_inodes()
1223 x = ext4_count_free(bitmap_bh->b_data, in ext4_count_free_inodes()
1229 brelse(bitmap_bh); in ext4_count_free_inodes()