• Home
  • Raw
  • Download

Lines Matching refs:dx_root_bh

152 				     struct buffer_head *dx_root_bh,  in ocfs2_dx_dir_link_trailer()  argument
159 ret = ocfs2_journal_access_dr(handle, INODE_CACHE(dir), dx_root_bh, in ocfs2_dx_dir_link_trailer()
166 dx_root = (struct ocfs2_dx_root_block *)dx_root_bh->b_data; in ocfs2_dx_dir_link_trailer()
171 ocfs2_journal_dirty(handle, dx_root_bh); in ocfs2_dx_dir_link_trailer()
591 struct buffer_head **dx_root_bh) in ocfs2_read_dx_root() argument
595 struct buffer_head *tmp = *dx_root_bh; in ocfs2_read_dx_root()
601 if (!ret && !*dx_root_bh) in ocfs2_read_dx_root()
602 *dx_root_bh = tmp; in ocfs2_read_dx_root()
1010 struct buffer_head *dx_root_bh = NULL; in ocfs2_find_entry_dx() local
1021 ret = ocfs2_read_dx_root(dir, di, &dx_root_bh); in ocfs2_find_entry_dx()
1026 dx_root = (struct ocfs2_dx_root_block *) dx_root_bh->b_data; in ocfs2_find_entry_dx()
1035 lookup->dl_dx_root_bh = dx_root_bh; in ocfs2_find_entry_dx()
1036 dx_root_bh = NULL; in ocfs2_find_entry_dx()
1039 brelse(dx_root_bh); in ocfs2_find_entry_dx()
1233 struct buffer_head *dx_root_bh = lookup->dl_dx_root_bh; in ocfs2_delete_entry_dx() local
1252 dx_root = (struct ocfs2_dx_root_block *)dx_root_bh->b_data; in ocfs2_delete_entry_dx()
1295 ret = ocfs2_journal_access_dr(handle, INODE_CACHE(dir), dx_root_bh, in ocfs2_delete_entry_dx()
1327 ocfs2_journal_dirty(handle, dx_root_bh); in ocfs2_delete_entry_dx()
1334 ocfs2_journal_dirty(handle, dx_root_bh); in ocfs2_delete_entry_dx()
1490 struct buffer_head *dx_root_bh = lookup->dl_dx_root_bh; in ocfs2_dx_dir_insert() local
1492 ret = ocfs2_journal_access_dr(handle, INODE_CACHE(dir), dx_root_bh, in ocfs2_dx_dir_insert()
1514 ocfs2_journal_dirty(handle, dx_root_bh); in ocfs2_dx_dir_insert()
2077 struct buffer_head *dx_root_bh = NULL; in ocfs2_empty_dir_dx() local
2090 ret = ocfs2_read_dx_root(inode, di, &dx_root_bh); in ocfs2_empty_dir_dx()
2095 dx_root = (struct ocfs2_dx_root_block *)dx_root_bh->b_data; in ocfs2_empty_dir_dx()
2102 brelse(dx_root_bh); in ocfs2_empty_dir_dx()
2295 struct buffer_head *dx_root_bh = NULL; in ocfs2_dx_dir_attach_index() local
2311 dx_root_bh = sb_getblk(osb->sb, dr_blkno); in ocfs2_dx_dir_attach_index()
2312 if (dx_root_bh == NULL) { in ocfs2_dx_dir_attach_index()
2316 ocfs2_set_new_buffer_uptodate(INODE_CACHE(dir), dx_root_bh); in ocfs2_dx_dir_attach_index()
2318 ret = ocfs2_journal_access_dr(handle, INODE_CACHE(dir), dx_root_bh, in ocfs2_dx_dir_attach_index()
2325 dx_root = (struct ocfs2_dx_root_block *)dx_root_bh->b_data; in ocfs2_dx_dir_attach_index()
2348 ocfs2_journal_dirty(handle, dx_root_bh); in ocfs2_dx_dir_attach_index()
2366 *ret_dx_root_bh = dx_root_bh; in ocfs2_dx_dir_attach_index()
2367 dx_root_bh = NULL; in ocfs2_dx_dir_attach_index()
2370 brelse(dx_root_bh); in ocfs2_dx_dir_attach_index()
2517 struct buffer_head *dx_root_bh = NULL; in ocfs2_fill_new_dir_dx() local
2541 meta_ac, 1, 2, &dx_root_bh); in ocfs2_fill_new_dir_dx()
2546 dx_root = (struct ocfs2_dx_root_block *)dx_root_bh->b_data; in ocfs2_fill_new_dir_dx()
2557 brelse(dx_root_bh); in ocfs2_fill_new_dir_dx()
2634 struct buffer_head *dx_root_bh, in ocfs2_dx_dir_index_root_block() argument
2643 dx_root = (struct ocfs2_dx_root_block *)dx_root_bh->b_data; in ocfs2_dx_dir_index_root_block()
2780 struct buffer_head *dx_root_bh = NULL; in ocfs2_expand_inline_dir() local
2994 num_dx_entries, &dx_root_bh); in ocfs2_expand_inline_dir()
3001 ocfs2_dx_dir_index_root_block(dir, dx_root_bh, in ocfs2_expand_inline_dir()
3006 dx_root_bh); in ocfs2_expand_inline_dir()
3051 lookup->dl_dx_root_bh = dx_root_bh; in ocfs2_expand_inline_dir()
3052 dx_root_bh = NULL; in ocfs2_expand_inline_dir()
3075 brelse(dx_root_bh); in ocfs2_expand_inline_dir()
3165 struct buffer_head *dx_root_bh = lookup->dl_dx_root_bh; in ocfs2_extend_dir() local
3172 BUG_ON(dx_root_bh); in ocfs2_extend_dir()
3184 dx_root_bh = lookup->dl_dx_root_bh; in ocfs2_extend_dir()
3295 dx_root_bh, new_bh); in ocfs2_extend_dir()
3685 struct buffer_head *dx_root_bh, in ocfs2_dx_dir_rebalance() argument
3707 ocfs2_init_dx_root_extent_tree(&et, INODE_CACHE(dir), dx_root_bh); in ocfs2_dx_dir_rebalance()
3709 dx_root = (struct ocfs2_dx_root_block *)dx_root_bh->b_data; in ocfs2_dx_dir_rebalance()
3881 struct buffer_head *dx_root_bh, in ocfs2_find_dir_space_dx() argument
3892 dx_root = (struct ocfs2_dx_root_block *)dx_root_bh->b_data; in ocfs2_find_dir_space_dx()
3924 ret = ocfs2_dx_dir_rebalance(osb, dir, dx_root_bh, dx_leaf_bh, in ocfs2_find_dir_space_dx()
3953 struct buffer_head *dx_root_bh, in ocfs2_search_dx_free_list() argument
3964 dx_root = (struct ocfs2_dx_root_block *)dx_root_bh->b_data; in ocfs2_search_dx_free_list()
4001 struct buffer_head *dx_root_bh) in ocfs2_expand_inline_dx_root() argument
4046 ret = ocfs2_journal_access_dr(handle, INODE_CACHE(dir), dx_root_bh, in ocfs2_expand_inline_dx_root()
4064 dx_root = (struct ocfs2_dx_root_block *) dx_root_bh->b_data; in ocfs2_expand_inline_dx_root()
4088 ocfs2_init_dx_root_extent_tree(&et, INODE_CACHE(dir), dx_root_bh); in ocfs2_expand_inline_dx_root()
4095 ocfs2_journal_dirty(handle, dx_root_bh); in ocfs2_expand_inline_dx_root()
4116 static int ocfs2_inline_dx_has_space(struct buffer_head *dx_root_bh) in ocfs2_inline_dx_has_space() argument
4121 dx_root = (struct ocfs2_dx_root_block *) dx_root_bh->b_data; in ocfs2_inline_dx_has_space()
4139 struct buffer_head *dx_root_bh = NULL; in ocfs2_prepare_dx_dir_for_insert() local
4144 ret = ocfs2_read_dx_root(dir, di, &dx_root_bh); in ocfs2_prepare_dx_dir_for_insert()
4150 dx_root = (struct ocfs2_dx_root_block *)dx_root_bh->b_data; in ocfs2_prepare_dx_dir_for_insert()
4158 ret = ocfs2_inline_dx_has_space(dx_root_bh); in ocfs2_prepare_dx_dir_for_insert()
4168 ret = ocfs2_expand_inline_dx_root(dir, dx_root_bh); in ocfs2_prepare_dx_dir_for_insert()
4181 ret = ocfs2_find_dir_space_dx(osb, dir, di_bh, dx_root_bh, name, in ocfs2_prepare_dx_dir_for_insert()
4195 ret = ocfs2_search_dx_free_list(dir, dx_root_bh, namelen, lookup); in ocfs2_prepare_dx_dir_for_insert()
4202 lookup->dl_dx_root_bh = dx_root_bh; in ocfs2_prepare_dx_dir_for_insert()
4223 brelse(dx_root_bh); in ocfs2_prepare_dx_dir_for_insert()
4312 struct buffer_head *dx_root_bh) in ocfs2_dx_dir_remove_index() argument
4325 dx_root = (struct ocfs2_dx_root_block *) dx_root_bh->b_data; in ocfs2_dx_dir_remove_index()
4398 struct buffer_head *dx_root_bh = NULL; in ocfs2_dx_dir_truncate() local
4409 ret = ocfs2_read_dx_root(dir, di, &dx_root_bh); in ocfs2_dx_dir_truncate()
4414 dx_root = (struct ocfs2_dx_root_block *)dx_root_bh->b_data; in ocfs2_dx_dir_truncate()
4419 ocfs2_init_dx_root_extent_tree(&et, INODE_CACHE(dir), dx_root_bh); in ocfs2_dx_dir_truncate()
4446 ret = ocfs2_dx_dir_remove_index(dir, di_bh, dx_root_bh); in ocfs2_dx_dir_truncate()
4452 ocfs2_remove_from_cache(INODE_CACHE(dir), dx_root_bh); in ocfs2_dx_dir_truncate()
4457 brelse(dx_root_bh); in ocfs2_dx_dir_truncate()