Lines Matching refs:buffer_head
59 struct buffer_head *parent_fe_bh,
62 struct buffer_head **new_bh);
134 struct buffer_head *bh, u16 rec_len) in ocfs2_init_dir_trailer()
152 struct buffer_head *dx_root_bh, in ocfs2_dx_dir_link_trailer()
153 struct buffer_head *dirdata_bh) in ocfs2_dx_dir_link_trailer()
299 struct buffer_head *bh, in ocfs2_check_dir_entry()
344 static inline int ocfs2_search_dirblock(struct buffer_head *bh, in ocfs2_search_dirblock()
395 static struct buffer_head *ocfs2_find_entry_id(const char *name, in ocfs2_find_entry_id()
401 struct buffer_head *di_bh = NULL; in ocfs2_find_entry_id()
425 struct buffer_head *bh) in ocfs2_validate_dir_block()
463 static int ocfs2_check_dir_trailer(struct inode *dir, struct buffer_head *bh) in ocfs2_check_dir_trailer()
503 struct buffer_head **bh, int flags) in ocfs2_read_dir_block()
506 struct buffer_head *tmp = *bh; in ocfs2_read_dir_block()
540 struct buffer_head **bh) in ocfs2_read_dir_block_direct()
543 struct buffer_head *tmp = *bh; in ocfs2_read_dir_block_direct()
569 struct buffer_head *bh) in ocfs2_validate_dx_root()
597 struct buffer_head **dx_root_bh) in ocfs2_read_dx_root()
601 struct buffer_head *tmp = *dx_root_bh; in ocfs2_read_dx_root()
614 struct buffer_head *bh) in ocfs2_validate_dx_leaf()
638 struct buffer_head **dx_leaf_bh) in ocfs2_read_dx_leaf()
641 struct buffer_head *tmp = *dx_leaf_bh; in ocfs2_read_dx_leaf()
658 struct buffer_head **dx_leaf_bhs) in ocfs2_read_dx_leaves()
670 static struct buffer_head *ocfs2_find_entry_el(const char *name, int namelen, in ocfs2_find_entry_el()
675 struct buffer_head *bh_use[NAMEI_RA_SIZE]; in ocfs2_find_entry_el()
676 struct buffer_head *bh, *ret = NULL; in ocfs2_find_entry_el()
777 struct buffer_head *eb_bh = NULL; in ocfs2_dx_dir_lookup_rec()
902 struct buffer_head *dx_leaf_bh = NULL; in ocfs2_dx_dir_search()
905 struct buffer_head *dir_ent_bh = NULL; in ocfs2_dx_dir_search()
1014 struct buffer_head *di_bh = NULL; in ocfs2_find_entry_dx()
1016 struct buffer_head *dx_root_bh = NULL; in ocfs2_find_entry_dx()
1066 struct buffer_head *bh; in ocfs2_find_entry()
1100 struct buffer_head *de_bh = res->dl_leaf_bh; in ocfs2_update_entry()
1133 struct buffer_head *bh, char *first_de, in __ocfs2_delete_entry()
1190 struct buffer_head *dirblock_bh) in ocfs2_find_max_rec_len()
1239 struct buffer_head *dx_root_bh = lookup->dl_dx_root_bh; in ocfs2_delete_entry_dx()
1240 struct buffer_head *leaf_bh = lookup->dl_leaf_bh; in ocfs2_delete_entry_dx()
1354 struct buffer_head *bh) in ocfs2_delete_entry_id()
1357 struct buffer_head *di_bh = NULL; in ocfs2_delete_entry_id()
1381 struct buffer_head *bh) in ocfs2_delete_entry_el()
1463 struct buffer_head *dx_leaf_bh) in __ocfs2_dx_dir_leaf_insert()
1496 struct buffer_head *dx_root_bh = lookup->dl_dx_root_bh; in ocfs2_dx_dir_insert()
1532 struct buffer_head *bh; in ocfs2_remove_block_from_free_list()
1589 struct buffer_head *parent_fe_bh, in __ocfs2_add_entry()
1599 struct buffer_head *insert_bh = lookup->dl_leaf_bh; in __ocfs2_add_entry()
1603 struct buffer_head *bh; in __ocfs2_add_entry()
1744 struct buffer_head *di_bh = NULL; in ocfs2_dir_foreach_blk_id()
1815 struct buffer_head * bh, * tmp; in ocfs2_dir_foreach_blk_el()
2084 struct buffer_head *di_bh = NULL; in ocfs2_empty_dir_dx()
2085 struct buffer_head *dx_root_bh = NULL; in ocfs2_empty_dir_dx()
2191 struct buffer_head *di_bh) in ocfs2_fill_new_dir_id()
2224 struct buffer_head *fe_bh, in ocfs2_fill_new_dir_el()
2226 struct buffer_head **ret_new_bh) in ocfs2_fill_new_dir_el()
2230 struct buffer_head *new_bh = NULL; in ocfs2_fill_new_dir_el()
2292 struct buffer_head *di_bh, in ocfs2_dx_dir_attach_index()
2293 struct buffer_head *dirdata_bh, in ocfs2_dx_dir_attach_index()
2296 struct buffer_head **ret_dx_root_bh) in ocfs2_dx_dir_attach_index()
2303 struct buffer_head *dx_root_bh = NULL; in ocfs2_dx_dir_attach_index()
2384 struct buffer_head **dx_leaves, in ocfs2_dx_dir_format_cluster()
2389 struct buffer_head *bh; in ocfs2_dx_dir_format_cluster()
2438 struct buffer_head **dx_leaves, in __ocfs2_dx_dir_new_cluster()
2480 struct buffer_head **dx_leaves, in ocfs2_dx_dir_new_cluster()
2501 static struct buffer_head **ocfs2_dx_dir_kmalloc_leaves(struct super_block *sb, in ocfs2_dx_dir_kmalloc_leaves()
2505 struct buffer_head **dx_leaves; in ocfs2_dx_dir_kmalloc_leaves()
2507 dx_leaves = kcalloc(num_dx_leaves, sizeof(struct buffer_head *), in ocfs2_dx_dir_kmalloc_leaves()
2519 struct buffer_head *di_bh, in ocfs2_fill_new_dir_dx()
2524 struct buffer_head *leaf_bh = NULL; in ocfs2_fill_new_dir_dx()
2525 struct buffer_head *dx_root_bh = NULL; in ocfs2_fill_new_dir_dx()
2574 struct buffer_head *fe_bh, in ocfs2_fill_new_dir()
2594 struct buffer_head **dx_leaves, in ocfs2_dx_dir_index_block()
2597 struct buffer_head *dirent_bh) in ocfs2_dx_dir_index_block()
2602 struct buffer_head *dx_leaf_bh; in ocfs2_dx_dir_index_block()
2642 struct buffer_head *dx_root_bh, in ocfs2_dx_dir_index_root_block()
2643 struct buffer_head *dirent_bh) in ocfs2_dx_dir_index_root_block()
2685 struct buffer_head *di_bh) in ocfs2_new_dx_should_be_inline()
2772 static int ocfs2_expand_inline_dir(struct inode *dir, struct buffer_head *di_bh, in ocfs2_expand_inline_dir()
2775 struct buffer_head **first_block_bh) in ocfs2_expand_inline_dir()
2787 struct buffer_head *dirdata_bh = NULL; in ocfs2_expand_inline_dir()
2788 struct buffer_head *dx_root_bh = NULL; in ocfs2_expand_inline_dir()
2789 struct buffer_head **dx_leaves = NULL; in ocfs2_expand_inline_dir()
3092 struct buffer_head *parent_fe_bh, in ocfs2_do_extend_dir()
3095 struct buffer_head **new_bh) in ocfs2_do_extend_dir()
3156 struct buffer_head *parent_fe_bh, in ocfs2_extend_dir()
3159 struct buffer_head **new_de_bh) in ocfs2_extend_dir()
3169 struct buffer_head *new_bh = NULL; in ocfs2_extend_dir()
3173 struct buffer_head *dx_root_bh = lookup->dl_dx_root_bh; in ocfs2_extend_dir()
3343 static int ocfs2_find_dir_space_id(struct inode *dir, struct buffer_head *di_bh, in ocfs2_find_dir_space_id()
3345 struct buffer_head **ret_de_bh, in ocfs2_find_dir_space_id()
3417 int namelen, struct buffer_head **ret_de_bh) in ocfs2_find_dir_space_el()
3420 struct buffer_head *bh = NULL; in ocfs2_find_dir_space_el()
3631 struct buffer_head **orig_dx_leaves, in ocfs2_dx_dir_transfer_leaf()
3632 struct buffer_head **new_dx_leaves, in ocfs2_dx_dir_transfer_leaf()
3686 struct buffer_head *dx_root_bh, in ocfs2_dx_dir_rebalance()
3687 struct buffer_head *dx_leaf_bh, in ocfs2_dx_dir_rebalance()
3696 struct buffer_head **orig_dx_leaves = NULL; in ocfs2_dx_dir_rebalance()
3697 struct buffer_head **new_dx_leaves = NULL; in ocfs2_dx_dir_rebalance()
3881 struct buffer_head *di_bh, in ocfs2_find_dir_space_dx()
3882 struct buffer_head *dx_root_bh, in ocfs2_find_dir_space_dx()
3888 struct buffer_head *dx_leaf_bh = NULL; in ocfs2_find_dir_space_dx()
3954 struct buffer_head *dx_root_bh, in ocfs2_search_dx_free_list()
3959 struct buffer_head *leaf_bh = NULL, *prev_leaf_bh = NULL; in ocfs2_search_dx_free_list()
4002 struct buffer_head *dx_root_bh) in ocfs2_expand_inline_dx_root()
4005 struct buffer_head **dx_leaves = NULL; in ocfs2_expand_inline_dx_root()
4117 static int ocfs2_inline_dx_has_space(struct buffer_head *dx_root_bh) in ocfs2_inline_dx_has_space()
4133 struct buffer_head *di_bh, in ocfs2_prepare_dx_dir_for_insert()
4140 struct buffer_head *dx_root_bh = NULL; in ocfs2_prepare_dx_dir_for_insert()
4141 struct buffer_head *leaf_bh = NULL; in ocfs2_prepare_dx_dir_for_insert()
4236 struct buffer_head *parent_fe_bh, in ocfs2_prepare_dir_for_insert()
4243 struct buffer_head *bh = NULL; in ocfs2_prepare_dir_for_insert()
4306 struct buffer_head *di_bh, in ocfs2_dx_dir_remove_index()
4307 struct buffer_head *dx_root_bh) in ocfs2_dx_dir_remove_index()
4314 struct buffer_head *dx_alloc_bh = NULL; in ocfs2_dx_dir_remove_index()
4386 int ocfs2_dx_dir_truncate(struct inode *dir, struct buffer_head *di_bh) in ocfs2_dx_dir_truncate()
4393 struct buffer_head *dx_root_bh = NULL; in ocfs2_dx_dir_truncate()