Home
last modified time | relevance | path

Searched refs:gd_bh (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/fs/ocfs2/
H A Dmove_extents.c374 struct buffer_head *ac_bh = NULL, *gd_bh = NULL; in ocfs2_find_victim_alloc_group() local
425 if (gd_bh) { in ocfs2_find_victim_alloc_group()
426 brelse(gd_bh); in ocfs2_find_victim_alloc_group()
427 gd_bh = NULL; in ocfs2_find_victim_alloc_group()
430 ret = ocfs2_read_blocks_sync(osb, blkno, 1, &gd_bh); in ocfs2_find_victim_alloc_group()
436 bg = (struct ocfs2_group_desc *)gd_bh->b_data; in ocfs2_find_victim_alloc_group()
441 *ret_bh = gd_bh; in ocfs2_find_victim_alloc_group()
459 * caller has to release the gd_bh properly. in ocfs2_find_victim_alloc_group()
472 struct buffer_head *gd_bh = NULL; in ocfs2_validate_and_adjust_move_goal() local
490 &goal_bit, &gd_bh); in ocfs2_validate_and_adjust_move_goal()
575 struct buffer_head *gd_bh = NULL; ocfs2_move_extent() local
[all...]
H A Dalloc.c7529 struct buffer_head *gd_bh = NULL; in ocfs2_trim_mainbm() local
7596 &gd_bh); in ocfs2_trim_mainbm()
7602 gd = (struct ocfs2_group_desc *)gd_bh->b_data; in ocfs2_trim_mainbm()
7605 brelse(gd_bh); in ocfs2_trim_mainbm()
7606 gd_bh = NULL; in ocfs2_trim_mainbm()
/kernel/linux/linux-6.6/fs/ocfs2/
H A Dmove_extents.c372 struct buffer_head *ac_bh = NULL, *gd_bh = NULL; in ocfs2_find_victim_alloc_group() local
423 if (gd_bh) { in ocfs2_find_victim_alloc_group()
424 brelse(gd_bh); in ocfs2_find_victim_alloc_group()
425 gd_bh = NULL; in ocfs2_find_victim_alloc_group()
428 ret = ocfs2_read_blocks_sync(osb, blkno, 1, &gd_bh); in ocfs2_find_victim_alloc_group()
434 bg = (struct ocfs2_group_desc *)gd_bh->b_data; in ocfs2_find_victim_alloc_group()
439 *ret_bh = gd_bh; in ocfs2_find_victim_alloc_group()
457 * caller has to release the gd_bh properly. in ocfs2_find_victim_alloc_group()
470 struct buffer_head *gd_bh = NULL; in ocfs2_validate_and_adjust_move_goal() local
488 &goal_bit, &gd_bh); in ocfs2_validate_and_adjust_move_goal()
573 struct buffer_head *gd_bh = NULL; ocfs2_move_extent() local
[all...]
H A Dalloc.c7534 struct buffer_head *gd_bh = NULL; in ocfs2_trim_mainbm() local
7601 &gd_bh); in ocfs2_trim_mainbm()
7607 gd = (struct ocfs2_group_desc *)gd_bh->b_data; in ocfs2_trim_mainbm()
7610 brelse(gd_bh); in ocfs2_trim_mainbm()
7611 gd_bh = NULL; in ocfs2_trim_mainbm()
/kernel/linux/linux-5.10/fs/ext4/
H A Dmballoc.c5455 struct buffer_head *gd_bh; in ext4_mb_clear_bb() local
5500 gdp = ext4_get_group_desc(sb, block_group, &gd_bh); in ext4_mb_clear_bb()
5524 BUFFER_TRACE(gd_bh, "get_write_access"); in ext4_mb_clear_bb()
5525 err = ext4_journal_get_write_access(handle, gd_bh); in ext4_mb_clear_bb()
5620 BUFFER_TRACE(gd_bh, "dirtied group descriptor block"); in ext4_mb_clear_bb()
5621 ret = ext4_handle_dirty_metadata(handle, NULL, gd_bh); in ext4_mb_clear_bb()
5755 struct buffer_head *gd_bh; in ext4_group_add_blocks() local
5792 desc = ext4_get_group_desc(sb, block_group, &gd_bh); in ext4_group_add_blocks()
5816 BUFFER_TRACE(gd_bh, "get_write_access"); in ext4_group_add_blocks()
5817 err = ext4_journal_get_write_access(handle, gd_bh); in ext4_group_add_blocks()
[all...]
/kernel/linux/linux-6.6/fs/ext4/
H A Dmballoc.c6455 struct buffer_head *gd_bh; in ext4_mb_clear_bb() local
6500 gdp = ext4_get_group_desc(sb, block_group, &gd_bh); in ext4_mb_clear_bb()
6525 BUFFER_TRACE(gd_bh, "get_write_access"); in ext4_mb_clear_bb()
6526 err = ext4_journal_get_write_access(handle, sb, gd_bh, EXT4_JTR_NONE); in ext4_mb_clear_bb()
6621 BUFFER_TRACE(gd_bh, "dirtied group descriptor block"); in ext4_mb_clear_bb()
6622 ret = ext4_handle_dirty_metadata(handle, NULL, gd_bh); in ext4_mb_clear_bb()
6754 struct buffer_head *gd_bh; in ext4_group_add_blocks() local
6791 desc = ext4_get_group_desc(sb, block_group, &gd_bh); in ext4_group_add_blocks()
6816 BUFFER_TRACE(gd_bh, "get_write_access"); in ext4_group_add_blocks()
6817 err = ext4_journal_get_write_access(handle, sb, gd_bh, EXT4_JTR_NON in ext4_group_add_blocks()
[all...]

Completed in 38 milliseconds