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()
357 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()
931 struct buffer_head *dx_leaf_bh = NULL; in ocfs2_dx_dir_search()
934 struct buffer_head *dir_ent_bh = NULL; in ocfs2_dx_dir_search()
1043 struct buffer_head *di_bh = NULL; in ocfs2_find_entry_dx()
1045 struct buffer_head *dx_root_bh = NULL; in ocfs2_find_entry_dx()
1095 struct buffer_head *bh; in ocfs2_find_entry()
1142 struct buffer_head *de_bh = res->dl_leaf_bh; in ocfs2_update_entry()
1175 struct buffer_head *bh, char *first_de, in __ocfs2_delete_entry()
1232 struct buffer_head *dirblock_bh) in ocfs2_find_max_rec_len()
1281 struct buffer_head *dx_root_bh = lookup->dl_dx_root_bh; in ocfs2_delete_entry_dx()
1282 struct buffer_head *leaf_bh = lookup->dl_leaf_bh; in ocfs2_delete_entry_dx()
1396 struct buffer_head *bh) in ocfs2_delete_entry_id()
1399 struct buffer_head *di_bh = NULL; in ocfs2_delete_entry_id()
1423 struct buffer_head *bh) in ocfs2_delete_entry_el()
1505 struct buffer_head *dx_leaf_bh) in __ocfs2_dx_dir_leaf_insert()
1538 struct buffer_head *dx_root_bh = lookup->dl_dx_root_bh; in ocfs2_dx_dir_insert()
1574 struct buffer_head *bh; in ocfs2_remove_block_from_free_list()
1631 struct buffer_head *parent_fe_bh, in __ocfs2_add_entry()
1641 struct buffer_head *insert_bh = lookup->dl_leaf_bh; in __ocfs2_add_entry()
1645 struct buffer_head *bh; in __ocfs2_add_entry()
1786 struct buffer_head *di_bh = NULL; in ocfs2_dir_foreach_blk_id()
1857 struct buffer_head * bh, * tmp; in ocfs2_dir_foreach_blk_el()
2130 struct buffer_head *di_bh = NULL; in ocfs2_empty_dir_dx()
2131 struct buffer_head *dx_root_bh = NULL; in ocfs2_empty_dir_dx()
2237 struct buffer_head *di_bh) in ocfs2_fill_new_dir_id()
2270 struct buffer_head *fe_bh, in ocfs2_fill_new_dir_el()
2272 struct buffer_head **ret_new_bh) in ocfs2_fill_new_dir_el()
2276 struct buffer_head *new_bh = NULL; in ocfs2_fill_new_dir_el()
2338 struct buffer_head *di_bh, in ocfs2_dx_dir_attach_index()
2339 struct buffer_head *dirdata_bh, in ocfs2_dx_dir_attach_index()
2342 struct buffer_head **ret_dx_root_bh) in ocfs2_dx_dir_attach_index()
2349 struct buffer_head *dx_root_bh = NULL; in ocfs2_dx_dir_attach_index()
2430 struct buffer_head **dx_leaves, in ocfs2_dx_dir_format_cluster()
2435 struct buffer_head *bh; in ocfs2_dx_dir_format_cluster()
2484 struct buffer_head **dx_leaves, in __ocfs2_dx_dir_new_cluster()
2526 struct buffer_head **dx_leaves, in ocfs2_dx_dir_new_cluster()
2547 static struct buffer_head **ocfs2_dx_dir_kmalloc_leaves(struct super_block *sb, in ocfs2_dx_dir_kmalloc_leaves()
2551 struct buffer_head **dx_leaves; in ocfs2_dx_dir_kmalloc_leaves()
2553 dx_leaves = kcalloc(num_dx_leaves, sizeof(struct buffer_head *), in ocfs2_dx_dir_kmalloc_leaves()
2565 struct buffer_head *di_bh, in ocfs2_fill_new_dir_dx()
2570 struct buffer_head *leaf_bh = NULL; in ocfs2_fill_new_dir_dx()
2571 struct buffer_head *dx_root_bh = NULL; in ocfs2_fill_new_dir_dx()
2620 struct buffer_head *fe_bh, in ocfs2_fill_new_dir()
2640 struct buffer_head **dx_leaves, in ocfs2_dx_dir_index_block()
2643 struct buffer_head *dirent_bh) in ocfs2_dx_dir_index_block()
2648 struct buffer_head *dx_leaf_bh; in ocfs2_dx_dir_index_block()
2688 struct buffer_head *dx_root_bh, in ocfs2_dx_dir_index_root_block()
2689 struct buffer_head *dirent_bh) in ocfs2_dx_dir_index_root_block()
2731 struct buffer_head *di_bh) in ocfs2_new_dx_should_be_inline()
2818 static int ocfs2_expand_inline_dir(struct inode *dir, struct buffer_head *di_bh, in ocfs2_expand_inline_dir()
2821 struct buffer_head **first_block_bh) in ocfs2_expand_inline_dir()
2833 struct buffer_head *dirdata_bh = NULL; in ocfs2_expand_inline_dir()
2834 struct buffer_head *dx_root_bh = NULL; in ocfs2_expand_inline_dir()
2835 struct buffer_head **dx_leaves = NULL; in ocfs2_expand_inline_dir()
3138 struct buffer_head *parent_fe_bh, in ocfs2_do_extend_dir()
3141 struct buffer_head **new_bh) in ocfs2_do_extend_dir()
3202 struct buffer_head *parent_fe_bh, in ocfs2_extend_dir()
3205 struct buffer_head **new_de_bh) in ocfs2_extend_dir()
3215 struct buffer_head *new_bh = NULL; in ocfs2_extend_dir()
3219 struct buffer_head *dx_root_bh = lookup->dl_dx_root_bh; in ocfs2_extend_dir()
3389 static int ocfs2_find_dir_space_id(struct inode *dir, struct buffer_head *di_bh, in ocfs2_find_dir_space_id()
3391 struct buffer_head **ret_de_bh, in ocfs2_find_dir_space_id()
3471 int namelen, struct buffer_head **ret_de_bh) in ocfs2_find_dir_space_el()
3474 struct buffer_head *bh = NULL; in ocfs2_find_dir_space_el()
3685 struct buffer_head **orig_dx_leaves, in ocfs2_dx_dir_transfer_leaf()
3686 struct buffer_head **new_dx_leaves, in ocfs2_dx_dir_transfer_leaf()
3740 struct buffer_head *dx_root_bh, in ocfs2_dx_dir_rebalance()
3741 struct buffer_head *dx_leaf_bh, in ocfs2_dx_dir_rebalance()
3750 struct buffer_head **orig_dx_leaves = NULL; in ocfs2_dx_dir_rebalance()
3751 struct buffer_head **new_dx_leaves = NULL; in ocfs2_dx_dir_rebalance()
3935 struct buffer_head *di_bh, in ocfs2_find_dir_space_dx()
3936 struct buffer_head *dx_root_bh, in ocfs2_find_dir_space_dx()
3942 struct buffer_head *dx_leaf_bh = NULL; in ocfs2_find_dir_space_dx()
4008 struct buffer_head *dx_root_bh, in ocfs2_search_dx_free_list()
4013 struct buffer_head *leaf_bh = NULL, *prev_leaf_bh = NULL; in ocfs2_search_dx_free_list()
4056 struct buffer_head *dx_root_bh) in ocfs2_expand_inline_dx_root()
4059 struct buffer_head **dx_leaves = NULL; in ocfs2_expand_inline_dx_root()
4176 static int ocfs2_inline_dx_has_space(struct buffer_head *dx_root_bh) in ocfs2_inline_dx_has_space()
4192 struct buffer_head *di_bh, in ocfs2_prepare_dx_dir_for_insert()
4199 struct buffer_head *dx_root_bh = NULL; in ocfs2_prepare_dx_dir_for_insert()
4200 struct buffer_head *leaf_bh = NULL; in ocfs2_prepare_dx_dir_for_insert()
4295 struct buffer_head *parent_fe_bh, in ocfs2_prepare_dir_for_insert()
4302 struct buffer_head *bh = NULL; in ocfs2_prepare_dir_for_insert()
4365 struct buffer_head *di_bh, in ocfs2_dx_dir_remove_index()
4366 struct buffer_head *dx_root_bh) in ocfs2_dx_dir_remove_index()
4373 struct buffer_head *dx_alloc_bh = NULL; in ocfs2_dx_dir_remove_index()
4445 int ocfs2_dx_dir_truncate(struct inode *dir, struct buffer_head *di_bh) in ocfs2_dx_dir_truncate()
4452 struct buffer_head *dx_root_bh = NULL; in ocfs2_dx_dir_truncate()