Searched refs:bitmap_bh (Results 1 – 6 of 6) sorted by relevance
| /linux/fs/ext4/ |
| H A D | ialloc.c | 240 struct buffer_head *bitmap_bh = NULL; in ext4_free_inode() local 287 bitmap_bh = ext4_read_inode_bitmap(sb, block_group); in ext4_free_inode() 289 if (IS_ERR(bitmap_bh)) { in ext4_free_inode() 290 fatal = PTR_ERR(bitmap_bh); in ext4_free_inode() 291 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, sb, bitmap_bh, in ext4_free_inode() 316 cleared = ext4_test_and_clear_bit(bit, bitmap_bh->b_data); in ext4_free_inode() 330 ext4_inode_bitmap_csum_set(sb, gdp, bitmap_bh); in ext4_free_inode() 349 BUFFER_TRACE(bitmap_bh, "call ext4_handle_dirty_metadata"); in ext4_free_inode() [all …]
|
| H A D | mballoc-test.c | 14 struct buffer_head bitmap_bh; member 220 grp_ctx->bitmap_bh.b_data = kzalloc(EXT4_BLOCK_SIZE(sb), GFP_KERNEL); in mbt_grp_ctx_init() 221 if (grp_ctx->bitmap_bh.b_data == NULL) in mbt_grp_ctx_init() 223 mb_set_bits(grp_ctx->bitmap_bh.b_data, max, sb->s_blocksize * 8 - max); in mbt_grp_ctx_init() 231 kfree(grp_ctx->bitmap_bh.b_data); in mbt_grp_ctx_release() 232 grp_ctx->bitmap_bh.b_data = NULL; in mbt_grp_ctx_release() 240 mb_set_bits(grp_ctx->bitmap_bh.b_data, start, len); in mbt_ctx_mark_used() 247 return grp_ctx->bitmap_bh.b_data; in mbt_ctx_bitmap() 269 mb_set_bits(ctx->grp_ctx[0].bitmap_bh.b_data, 0, 1); in mbt_ctx_init() 298 get_bh(&grp_ctx->bitmap_bh); in ext4_read_block_bitmap_nowait_stub() [all …]
|
| H A D | mballoc.c | 4093 struct buffer_head *bitmap_bh = NULL; in ext4_mb_mark_context() local 4105 bitmap_bh = ext4_read_block_bitmap(sb, group); in ext4_mb_mark_context() 4106 if (IS_ERR(bitmap_bh)) in ext4_mb_mark_context() 4107 return PTR_ERR(bitmap_bh); in ext4_mb_mark_context() 4110 BUFFER_TRACE(bitmap_bh, "getting write access"); in ext4_mb_mark_context() 4111 err = ext4_journal_get_write_access(handle, sb, bitmap_bh, in ext4_mb_mark_context() 4141 if (mb_test_bit(blkoff + i, bitmap_bh->b_data) == in ext4_mb_mark_context() 4148 mb_set_bits(bitmap_bh->b_data, blkoff, len); in ext4_mb_mark_context() 4152 mb_clear_bits(bitmap_bh->b_data, blkoff, len); in ext4_mb_mark_context() 4157 ext4_block_bitmap_csum_set(sb, gdp, bitmap_bh); in ext4_mb_mark_context() [all …]
|
| H A D | inode.c | 4909 struct buffer_head *bitmap_bh; in __ext4_get_inode_loc() local 4915 bitmap_bh = sb_getblk(sb, ext4_inode_bitmap(sb, gdp)); in __ext4_get_inode_loc() 4916 if (unlikely(!bitmap_bh)) in __ext4_get_inode_loc() 4924 if (!buffer_uptodate(bitmap_bh)) { in __ext4_get_inode_loc() 4925 brelse(bitmap_bh); in __ext4_get_inode_loc() 4931 if (ext4_test_bit(i, bitmap_bh->b_data)) in __ext4_get_inode_loc() 4934 brelse(bitmap_bh); in __ext4_get_inode_loc()
|
| /linux/fs/ocfs2/ |
| H A D | suballoc.h | 136 struct buffer_head *bitmap_bh, 141 struct buffer_head *bitmap_bh,
|
| H A D | localalloc.c | 53 struct buffer_head **bitmap_bh); 1093 struct buffer_head **bitmap_bh) in ocfs2_local_alloc_reserve_for_window() argument 1123 *bitmap_bh = (*ac)->ac_bh; in ocfs2_local_alloc_reserve_for_window() 1124 get_bh(*bitmap_bh); in ocfs2_local_alloc_reserve_for_window()
|