Home
last modified time | relevance | path

Searched refs:bitmap_bh (Results 1 – 6 of 6) sorted by relevance

/linux/fs/ext4/
H A Dialloc.c242 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()
291 if (IS_ERR(bitmap_bh)) { in ext4_free_inode()
292 fatal = PTR_ERR(bitmap_bh); in ext4_free_inode()
293 bitmap_bh = NULL; in ext4_free_inode()
304 BUFFER_TRACE(bitmap_bh, "get_write_access"); in ext4_free_inode()
305 fatal = ext4_journal_get_write_access(handle, sb, bitmap_bh, in ext4_free_inode()
318 cleared = ext4_test_and_clear_bit(bit, bitmap_bh->b_data); in ext4_free_inode()
332 ext4_inode_bitmap_csum_set(sb, gdp, bitmap_bh); in ext4_free_inode()
351 BUFFER_TRACE(bitmap_bh, "call ext4_handle_dirty_metadata"); in ext4_free_inode()
[all …]
H A Dballoc.c785 struct buffer_head *bitmap_bh = NULL; in ext4_count_free_clusters() local
801 brelse(bitmap_bh); in ext4_count_free_clusters()
802 bitmap_bh = ext4_read_block_bitmap(sb, i); in ext4_count_free_clusters()
803 if (IS_ERR(bitmap_bh)) { in ext4_count_free_clusters()
804 bitmap_bh = NULL; in ext4_count_free_clusters()
808 x = ext4_count_free(bitmap_bh->b_data, in ext4_count_free_clusters()
814 brelse(bitmap_bh); in ext4_count_free_clusters()
H A Dmballoc.c4094 struct buffer_head *bitmap_bh = NULL; in ext4_mb_mark_context() local
4106 bitmap_bh = ext4_read_block_bitmap(sb, group); in ext4_mb_mark_context()
4107 if (IS_ERR(bitmap_bh)) in ext4_mb_mark_context()
4108 return PTR_ERR(bitmap_bh); in ext4_mb_mark_context()
4111 BUFFER_TRACE(bitmap_bh, "getting write access"); in ext4_mb_mark_context()
4112 err = ext4_journal_get_write_access(handle, sb, bitmap_bh, in ext4_mb_mark_context()
4142 if (mb_test_bit(blkoff + i, bitmap_bh->b_data) == in ext4_mb_mark_context()
4149 mb_set_bits(bitmap_bh->b_data, blkoff, len); in ext4_mb_mark_context()
4153 mb_clear_bits(bitmap_bh->b_data, blkoff, len); in ext4_mb_mark_context()
4158 ext4_block_bitmap_csum_set(sb, gdp, bitmap_bh); in ext4_mb_mark_context()
[all …]
H A Dinode.c4940 struct buffer_head *bitmap_bh; in __ext4_get_inode_loc() local
4946 bitmap_bh = sb_getblk(sb, ext4_inode_bitmap(sb, gdp)); in __ext4_get_inode_loc()
4947 if (unlikely(!bitmap_bh)) in __ext4_get_inode_loc()
4955 if (!buffer_uptodate(bitmap_bh)) { in __ext4_get_inode_loc()
4956 brelse(bitmap_bh); in __ext4_get_inode_loc()
4962 if (ext4_test_bit(i, bitmap_bh->b_data)) in __ext4_get_inode_loc()
4965 brelse(bitmap_bh); in __ext4_get_inode_loc()
/linux/fs/ocfs2/
H A Dsuballoc.h136 struct buffer_head *bitmap_bh,
141 struct buffer_head *bitmap_bh,
H A Dlocalalloc.c53 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()