/fs/ext3/ |
D | balloc.c | 480 struct buffer_head *bitmap_bh = NULL; in ext3_free_blocks_sb() local 520 brelse(bitmap_bh); in ext3_free_blocks_sb() 521 bitmap_bh = read_block_bitmap(sb, block_group); in ext3_free_blocks_sb() 522 if (!bitmap_bh) in ext3_free_blocks_sb() 546 BUFFER_TRACE(bitmap_bh, "getting undo access"); in ext3_free_blocks_sb() 547 err = ext3_journal_get_undo_access(handle, bitmap_bh); in ext3_free_blocks_sb() 561 jbd_lock_bh_state(bitmap_bh); in ext3_free_blocks_sb() 568 jbd_unlock_bh_state(bitmap_bh); in ext3_free_blocks_sb() 574 if (!bh2jh(bitmap_bh)->b_committed_data) in ext3_free_blocks_sb() 577 BUFFER_TRACE2(debug_bh, bitmap_bh, "bitmap"); in ext3_free_blocks_sb() [all …]
|
D | ialloc.c | 94 struct buffer_head *bitmap_bh = NULL; in ext3_free_inode() local 144 bitmap_bh = read_inode_bitmap(sb, block_group); in ext3_free_inode() 145 if (!bitmap_bh) in ext3_free_inode() 148 BUFFER_TRACE(bitmap_bh, "get_write_access"); in ext3_free_inode() 149 fatal = ext3_journal_get_write_access(handle, bitmap_bh); in ext3_free_inode() 155 bit, bitmap_bh->b_data)) in ext3_free_inode() 180 BUFFER_TRACE(bitmap_bh, "call ext3_journal_dirty_metadata"); in ext3_free_inode() 181 err = ext3_journal_dirty_metadata(handle, bitmap_bh); in ext3_free_inode() 186 brelse(bitmap_bh); in ext3_free_inode() 422 struct buffer_head *bitmap_bh = NULL; in ext3_new_inode() local [all …]
|
D | inode.c | 2579 struct buffer_head *bitmap_bh; in __ext3_get_inode_loc() local 2600 bitmap_bh = sb_getblk(inode->i_sb, in __ext3_get_inode_loc() 2602 if (!bitmap_bh) in __ext3_get_inode_loc() 2610 if (!buffer_uptodate(bitmap_bh)) { in __ext3_get_inode_loc() 2611 brelse(bitmap_bh); in __ext3_get_inode_loc() 2617 if (ext3_test_bit(i, bitmap_bh->b_data)) in __ext3_get_inode_loc() 2620 brelse(bitmap_bh); in __ext3_get_inode_loc()
|
/fs/ext2/ |
D | balloc.c | 489 struct buffer_head *bitmap_bh = NULL; in ext2_free_blocks() local 526 brelse(bitmap_bh); in ext2_free_blocks() 527 bitmap_bh = read_block_bitmap(sb, block_group); in ext2_free_blocks() 528 if (!bitmap_bh) in ext2_free_blocks() 550 bit + i, bitmap_bh->b_data)) { in ext2_free_blocks() 558 mark_buffer_dirty(bitmap_bh); in ext2_free_blocks() 560 sync_dirty_buffer(bitmap_bh); in ext2_free_blocks() 571 brelse(bitmap_bh); in ext2_free_blocks() 673 struct buffer_head *bitmap_bh, ext2_grpblk_t grp_goal, in ext2_try_to_allocate() argument 709 grp_goal = find_next_usable_block(start, bitmap_bh, end); in ext2_try_to_allocate() [all …]
|
D | ialloc.c | 109 struct buffer_head *bitmap_bh = NULL; in ext2_free_inode() local 142 brelse(bitmap_bh); in ext2_free_inode() 143 bitmap_bh = read_inode_bitmap(sb, block_group); in ext2_free_inode() 144 if (!bitmap_bh) in ext2_free_inode() 149 bit, (void *) bitmap_bh->b_data)) in ext2_free_inode() 154 mark_buffer_dirty(bitmap_bh); in ext2_free_inode() 156 sync_dirty_buffer(bitmap_bh); in ext2_free_inode() 158 brelse(bitmap_bh); in ext2_free_inode() 441 struct buffer_head *bitmap_bh = NULL; in ext2_new_inode() local 475 brelse(bitmap_bh); in ext2_new_inode() [all …]
|
/fs/ext4/ |
D | balloc.c | 388 struct buffer_head *bitmap_bh = NULL; in ext4_add_groupblocks() local 413 bitmap_bh = ext4_read_block_bitmap(sb, block_group); in ext4_add_groupblocks() 414 if (!bitmap_bh) in ext4_add_groupblocks() 436 BUFFER_TRACE(bitmap_bh, "getting undo access"); in ext4_add_groupblocks() 437 err = ext4_journal_get_undo_access(handle, bitmap_bh); in ext4_add_groupblocks() 456 BUFFER_TRACE(bitmap_bh, "clear bit"); in ext4_add_groupblocks() 458 bit + i, bitmap_bh->b_data)) { in ext4_add_groupblocks() 462 BUFFER_TRACE(bitmap_bh, "bit already cleared"); in ext4_add_groupblocks() 489 BUFFER_TRACE(bitmap_bh, "dirtied bitmap block"); in ext4_add_groupblocks() 490 err = ext4_handle_dirty_metadata(handle, NULL, bitmap_bh); in ext4_add_groupblocks() [all …]
|
D | ialloc.c | 184 struct buffer_head *bitmap_bh = NULL; in ext4_free_inode() local 241 bitmap_bh = ext4_read_inode_bitmap(sb, block_group); in ext4_free_inode() 242 if (!bitmap_bh) in ext4_free_inode() 245 BUFFER_TRACE(bitmap_bh, "get_write_access"); in ext4_free_inode() 246 fatal = ext4_journal_get_write_access(handle, bitmap_bh); in ext4_free_inode() 252 cleared = ext4_clear_bit(bit, bitmap_bh->b_data); in ext4_free_inode() 290 BUFFER_TRACE(bitmap_bh, "call ext4_handle_dirty_metadata"); in ext4_free_inode() 291 err = ext4_handle_dirty_metadata(handle, NULL, bitmap_bh); in ext4_free_inode() 296 brelse(bitmap_bh); in ext4_free_inode() 977 struct buffer_head *bitmap_bh; in ext4_orphan_get() local [all …]
|
D | mballoc.c | 2996 struct buffer_head *bitmap_bh = NULL; in ext4_mb_mark_diskspace_used() local 3014 bitmap_bh = ext4_read_block_bitmap(sb, ac->ac_b_ex.fe_group); in ext4_mb_mark_diskspace_used() 3015 if (!bitmap_bh) in ext4_mb_mark_diskspace_used() 3018 err = ext4_journal_get_write_access(handle, bitmap_bh); in ext4_mb_mark_diskspace_used() 3053 bitmap_bh->b_data, ac->ac_b_ex.fe_start, in ext4_mb_mark_diskspace_used() 3055 err = ext4_handle_dirty_metadata(handle, NULL, bitmap_bh); in ext4_mb_mark_diskspace_used() 3065 bitmap_bh->b_data)); in ext4_mb_mark_diskspace_used() 3070 mb_set_bits(NULL, bitmap_bh->b_data, in ext4_mb_mark_diskspace_used() 3101 err = ext4_handle_dirty_metadata(handle, NULL, bitmap_bh); in ext4_mb_mark_diskspace_used() 3108 brelse(bitmap_bh); in ext4_mb_mark_diskspace_used() [all …]
|
D | inode.c | 4038 struct buffer_head *bitmap_bh; in __ext4_get_inode_loc() local 4044 bitmap_bh = sb_getblk(sb, ext4_inode_bitmap(sb, gdp)); in __ext4_get_inode_loc() 4045 if (!bitmap_bh) in __ext4_get_inode_loc() 4053 if (!buffer_uptodate(bitmap_bh)) { in __ext4_get_inode_loc() 4054 brelse(bitmap_bh); in __ext4_get_inode_loc() 4060 if (ext4_test_bit(i, bitmap_bh->b_data)) in __ext4_get_inode_loc() 4063 brelse(bitmap_bh); in __ext4_get_inode_loc()
|
/fs/ocfs2/ |
D | localalloc.c | 69 struct buffer_head **bitmap_bh); 1060 struct buffer_head **bitmap_bh) in ocfs2_local_alloc_reserve_for_window() argument 1091 *bitmap_bh = (*ac)->ac_bh; in ocfs2_local_alloc_reserve_for_window() 1092 get_bh(*bitmap_bh); in ocfs2_local_alloc_reserve_for_window()
|
D | suballoc.h | 124 struct buffer_head *bitmap_bh,
|
D | suballoc.c | 1947 struct buffer_head *bitmap_bh, in ocfs2_free_clusters() argument 1966 fe = (struct ocfs2_dinode *) bitmap_bh->b_data; in ocfs2_free_clusters() 1976 status = ocfs2_free_suballoc_bits(handle, bitmap_inode, bitmap_bh, in ocfs2_free_clusters()
|