Lines Matching refs:buffer_head

78 			       struct buffer_head *parent_fe_bh,
81 struct buffer_head **new_bh);
153 struct buffer_head *bh, u16 rec_len) in ocfs2_init_dir_trailer()
171 struct buffer_head *dx_root_bh, in ocfs2_dx_dir_link_trailer()
172 struct buffer_head *dirdata_bh) in ocfs2_dx_dir_link_trailer()
318 struct buffer_head * bh, in ocfs2_check_dir_entry()
358 static inline int ocfs2_search_dirblock(struct buffer_head *bh, in ocfs2_search_dirblock()
408 static struct buffer_head *ocfs2_find_entry_id(const char *name, in ocfs2_find_entry_id()
414 struct buffer_head *di_bh = NULL; in ocfs2_find_entry_id()
438 struct buffer_head *bh) in ocfs2_validate_dir_block()
476 static int ocfs2_check_dir_trailer(struct inode *dir, struct buffer_head *bh) in ocfs2_check_dir_trailer()
516 struct buffer_head **bh, int flags) in ocfs2_read_dir_block()
519 struct buffer_head *tmp = *bh; in ocfs2_read_dir_block()
553 struct buffer_head **bh) in ocfs2_read_dir_block_direct()
556 struct buffer_head *tmp = *bh; in ocfs2_read_dir_block_direct()
582 struct buffer_head *bh) in ocfs2_validate_dx_root()
610 struct buffer_head **dx_root_bh) in ocfs2_read_dx_root()
614 struct buffer_head *tmp = *dx_root_bh; in ocfs2_read_dx_root()
627 struct buffer_head *bh) in ocfs2_validate_dx_leaf()
651 struct buffer_head **dx_leaf_bh) in ocfs2_read_dx_leaf()
654 struct buffer_head *tmp = *dx_leaf_bh; in ocfs2_read_dx_leaf()
671 struct buffer_head **dx_leaf_bhs) in ocfs2_read_dx_leaves()
683 static struct buffer_head *ocfs2_find_entry_el(const char *name, int namelen, in ocfs2_find_entry_el()
688 struct buffer_head *bh_use[NAMEI_RA_SIZE]; in ocfs2_find_entry_el()
689 struct buffer_head *bh, *ret = NULL; in ocfs2_find_entry_el()
790 struct buffer_head *eb_bh = NULL; in ocfs2_dx_dir_lookup_rec()
915 struct buffer_head *dx_leaf_bh = NULL; in ocfs2_dx_dir_search()
918 struct buffer_head *dir_ent_bh = NULL; in ocfs2_dx_dir_search()
1027 struct buffer_head *di_bh = NULL; in ocfs2_find_entry_dx()
1029 struct buffer_head *dx_root_bh = NULL; in ocfs2_find_entry_dx()
1079 struct buffer_head *bh; in ocfs2_find_entry()
1113 struct buffer_head *de_bh = res->dl_leaf_bh; in ocfs2_update_entry()
1146 struct buffer_head *bh, char *first_de, in __ocfs2_delete_entry()
1203 struct buffer_head *dirblock_bh) in ocfs2_find_max_rec_len()
1252 struct buffer_head *dx_root_bh = lookup->dl_dx_root_bh; in ocfs2_delete_entry_dx()
1253 struct buffer_head *leaf_bh = lookup->dl_leaf_bh; in ocfs2_delete_entry_dx()
1367 struct buffer_head *bh) in ocfs2_delete_entry_id()
1370 struct buffer_head *di_bh = NULL; in ocfs2_delete_entry_id()
1394 struct buffer_head *bh) in ocfs2_delete_entry_el()
1476 struct buffer_head *dx_leaf_bh) in __ocfs2_dx_dir_leaf_insert()
1509 struct buffer_head *dx_root_bh = lookup->dl_dx_root_bh; in ocfs2_dx_dir_insert()
1545 struct buffer_head *bh; in ocfs2_remove_block_from_free_list()
1602 struct buffer_head *parent_fe_bh, in __ocfs2_add_entry()
1612 struct buffer_head *insert_bh = lookup->dl_leaf_bh; in __ocfs2_add_entry()
1619 struct buffer_head *bh; in __ocfs2_add_entry()
1758 struct buffer_head *di_bh = NULL; in ocfs2_dir_foreach_blk_id()
1832 struct buffer_head * bh, * tmp; in ocfs2_dir_foreach_blk_el()
2104 struct buffer_head *di_bh = NULL; in ocfs2_empty_dir_dx()
2105 struct buffer_head *dx_root_bh = NULL; in ocfs2_empty_dir_dx()
2211 struct buffer_head *di_bh) in ocfs2_fill_new_dir_id()
2244 struct buffer_head *fe_bh, in ocfs2_fill_new_dir_el()
2246 struct buffer_head **ret_new_bh) in ocfs2_fill_new_dir_el()
2250 struct buffer_head *new_bh = NULL; in ocfs2_fill_new_dir_el()
2312 struct buffer_head *di_bh, in ocfs2_dx_dir_attach_index()
2313 struct buffer_head *dirdata_bh, in ocfs2_dx_dir_attach_index()
2316 struct buffer_head **ret_dx_root_bh) in ocfs2_dx_dir_attach_index()
2323 struct buffer_head *dx_root_bh = NULL; in ocfs2_dx_dir_attach_index()
2404 struct buffer_head **dx_leaves, in ocfs2_dx_dir_format_cluster()
2409 struct buffer_head *bh; in ocfs2_dx_dir_format_cluster()
2458 struct buffer_head **dx_leaves, in __ocfs2_dx_dir_new_cluster()
2500 struct buffer_head **dx_leaves, in ocfs2_dx_dir_new_cluster()
2521 static struct buffer_head **ocfs2_dx_dir_kmalloc_leaves(struct super_block *sb, in ocfs2_dx_dir_kmalloc_leaves()
2525 struct buffer_head **dx_leaves; in ocfs2_dx_dir_kmalloc_leaves()
2527 dx_leaves = kcalloc(num_dx_leaves, sizeof(struct buffer_head *), in ocfs2_dx_dir_kmalloc_leaves()
2539 struct buffer_head *di_bh, in ocfs2_fill_new_dir_dx()
2544 struct buffer_head *leaf_bh = NULL; in ocfs2_fill_new_dir_dx()
2545 struct buffer_head *dx_root_bh = NULL; in ocfs2_fill_new_dir_dx()
2594 struct buffer_head *fe_bh, in ocfs2_fill_new_dir()
2614 struct buffer_head **dx_leaves, in ocfs2_dx_dir_index_block()
2617 struct buffer_head *dirent_bh) in ocfs2_dx_dir_index_block()
2622 struct buffer_head *dx_leaf_bh; in ocfs2_dx_dir_index_block()
2662 struct buffer_head *dx_root_bh, in ocfs2_dx_dir_index_root_block()
2663 struct buffer_head *dirent_bh) in ocfs2_dx_dir_index_root_block()
2705 struct buffer_head *di_bh) in ocfs2_new_dx_should_be_inline()
2792 static int ocfs2_expand_inline_dir(struct inode *dir, struct buffer_head *di_bh, in ocfs2_expand_inline_dir()
2795 struct buffer_head **first_block_bh) in ocfs2_expand_inline_dir()
2807 struct buffer_head *dirdata_bh = NULL; in ocfs2_expand_inline_dir()
2808 struct buffer_head *dx_root_bh = NULL; in ocfs2_expand_inline_dir()
2809 struct buffer_head **dx_leaves = NULL; in ocfs2_expand_inline_dir()
3112 struct buffer_head *parent_fe_bh, in ocfs2_do_extend_dir()
3115 struct buffer_head **new_bh) in ocfs2_do_extend_dir()
3176 struct buffer_head *parent_fe_bh, in ocfs2_extend_dir()
3179 struct buffer_head **new_de_bh) in ocfs2_extend_dir()
3189 struct buffer_head *new_bh = NULL; in ocfs2_extend_dir()
3193 struct buffer_head *dx_root_bh = lookup->dl_dx_root_bh; in ocfs2_extend_dir()
3363 static int ocfs2_find_dir_space_id(struct inode *dir, struct buffer_head *di_bh, in ocfs2_find_dir_space_id()
3365 struct buffer_head **ret_de_bh, in ocfs2_find_dir_space_id()
3435 int namelen, struct buffer_head **ret_de_bh) in ocfs2_find_dir_space_el()
3438 struct buffer_head *bh = NULL; in ocfs2_find_dir_space_el()
3658 struct buffer_head **orig_dx_leaves, in ocfs2_dx_dir_transfer_leaf()
3659 struct buffer_head **new_dx_leaves, in ocfs2_dx_dir_transfer_leaf()
3714 struct buffer_head *dx_root_bh, in ocfs2_dx_dir_rebalance()
3715 struct buffer_head *dx_leaf_bh, in ocfs2_dx_dir_rebalance()
3724 struct buffer_head **orig_dx_leaves = NULL; in ocfs2_dx_dir_rebalance()
3725 struct buffer_head **new_dx_leaves = NULL; in ocfs2_dx_dir_rebalance()
3909 struct buffer_head *di_bh, in ocfs2_find_dir_space_dx()
3910 struct buffer_head *dx_root_bh, in ocfs2_find_dir_space_dx()
3916 struct buffer_head *dx_leaf_bh = NULL; in ocfs2_find_dir_space_dx()
3982 struct buffer_head *dx_root_bh, in ocfs2_search_dx_free_list()
3987 struct buffer_head *leaf_bh = NULL, *prev_leaf_bh = NULL; in ocfs2_search_dx_free_list()
4030 struct buffer_head *dx_root_bh) in ocfs2_expand_inline_dx_root()
4033 struct buffer_head **dx_leaves = NULL; in ocfs2_expand_inline_dx_root()
4145 static int ocfs2_inline_dx_has_space(struct buffer_head *dx_root_bh) in ocfs2_inline_dx_has_space()
4161 struct buffer_head *di_bh, in ocfs2_prepare_dx_dir_for_insert()
4168 struct buffer_head *dx_root_bh = NULL; in ocfs2_prepare_dx_dir_for_insert()
4169 struct buffer_head *leaf_bh = NULL; in ocfs2_prepare_dx_dir_for_insert()
4264 struct buffer_head *parent_fe_bh, in ocfs2_prepare_dir_for_insert()
4271 struct buffer_head *bh = NULL; in ocfs2_prepare_dir_for_insert()
4340 struct buffer_head *di_bh, in ocfs2_dx_dir_remove_index()
4341 struct buffer_head *dx_root_bh) in ocfs2_dx_dir_remove_index()
4348 struct buffer_head *dx_alloc_bh = NULL; in ocfs2_dx_dir_remove_index()
4420 int ocfs2_dx_dir_truncate(struct inode *dir, struct buffer_head *di_bh) in ocfs2_dx_dir_truncate()
4427 struct buffer_head *dx_root_bh = NULL; in ocfs2_dx_dir_truncate()