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()
339 static inline int ocfs2_search_dirblock(struct buffer_head *bh, in ocfs2_search_dirblock()
389 static struct buffer_head *ocfs2_find_entry_id(const char *name, in ocfs2_find_entry_id()
395 struct buffer_head *di_bh = NULL; in ocfs2_find_entry_id()
419 struct buffer_head *bh) in ocfs2_validate_dir_block()
457 static int ocfs2_check_dir_trailer(struct inode *dir, struct buffer_head *bh) in ocfs2_check_dir_trailer()
497 struct buffer_head **bh, int flags) in ocfs2_read_dir_block()
500 struct buffer_head *tmp = *bh; in ocfs2_read_dir_block()
534 struct buffer_head **bh) in ocfs2_read_dir_block_direct()
537 struct buffer_head *tmp = *bh; in ocfs2_read_dir_block_direct()
563 struct buffer_head *bh) in ocfs2_validate_dx_root()
591 struct buffer_head **dx_root_bh) in ocfs2_read_dx_root()
595 struct buffer_head *tmp = *dx_root_bh; in ocfs2_read_dx_root()
608 struct buffer_head *bh) in ocfs2_validate_dx_leaf()
632 struct buffer_head **dx_leaf_bh) in ocfs2_read_dx_leaf()
635 struct buffer_head *tmp = *dx_leaf_bh; in ocfs2_read_dx_leaf()
652 struct buffer_head **dx_leaf_bhs) in ocfs2_read_dx_leaves()
664 static struct buffer_head *ocfs2_find_entry_el(const char *name, int namelen, in ocfs2_find_entry_el()
669 struct buffer_head *bh_use[NAMEI_RA_SIZE]; in ocfs2_find_entry_el()
670 struct buffer_head *bh, *ret = NULL; in ocfs2_find_entry_el()
771 struct buffer_head *eb_bh = NULL; in ocfs2_dx_dir_lookup_rec()
896 struct buffer_head *dx_leaf_bh = NULL; in ocfs2_dx_dir_search()
899 struct buffer_head *dir_ent_bh = NULL; in ocfs2_dx_dir_search()
1008 struct buffer_head *di_bh = NULL; in ocfs2_find_entry_dx()
1010 struct buffer_head *dx_root_bh = NULL; in ocfs2_find_entry_dx()
1060 struct buffer_head *bh; in ocfs2_find_entry()
1094 struct buffer_head *de_bh = res->dl_leaf_bh; in ocfs2_update_entry()
1127 struct buffer_head *bh, char *first_de, in __ocfs2_delete_entry()
1184 struct buffer_head *dirblock_bh) in ocfs2_find_max_rec_len()
1233 struct buffer_head *dx_root_bh = lookup->dl_dx_root_bh; in ocfs2_delete_entry_dx()
1234 struct buffer_head *leaf_bh = lookup->dl_leaf_bh; in ocfs2_delete_entry_dx()
1348 struct buffer_head *bh) in ocfs2_delete_entry_id()
1351 struct buffer_head *di_bh = NULL; in ocfs2_delete_entry_id()
1375 struct buffer_head *bh) in ocfs2_delete_entry_el()
1457 struct buffer_head *dx_leaf_bh) in __ocfs2_dx_dir_leaf_insert()
1490 struct buffer_head *dx_root_bh = lookup->dl_dx_root_bh; in ocfs2_dx_dir_insert()
1526 struct buffer_head *bh; in ocfs2_remove_block_from_free_list()
1583 struct buffer_head *parent_fe_bh, in __ocfs2_add_entry()
1593 struct buffer_head *insert_bh = lookup->dl_leaf_bh; in __ocfs2_add_entry()
1600 struct buffer_head *bh; in __ocfs2_add_entry()
1739 struct buffer_head *di_bh = NULL; in ocfs2_dir_foreach_blk_id()
1809 struct buffer_head * bh, * tmp; in ocfs2_dir_foreach_blk_el()
2076 struct buffer_head *di_bh = NULL; in ocfs2_empty_dir_dx()
2077 struct buffer_head *dx_root_bh = NULL; in ocfs2_empty_dir_dx()
2183 struct buffer_head *di_bh) in ocfs2_fill_new_dir_id()
2216 struct buffer_head *fe_bh, in ocfs2_fill_new_dir_el()
2218 struct buffer_head **ret_new_bh) in ocfs2_fill_new_dir_el()
2222 struct buffer_head *new_bh = NULL; in ocfs2_fill_new_dir_el()
2284 struct buffer_head *di_bh, in ocfs2_dx_dir_attach_index()
2285 struct buffer_head *dirdata_bh, in ocfs2_dx_dir_attach_index()
2288 struct buffer_head **ret_dx_root_bh) in ocfs2_dx_dir_attach_index()
2295 struct buffer_head *dx_root_bh = NULL; in ocfs2_dx_dir_attach_index()
2376 struct buffer_head **dx_leaves, in ocfs2_dx_dir_format_cluster()
2381 struct buffer_head *bh; in ocfs2_dx_dir_format_cluster()
2430 struct buffer_head **dx_leaves, in __ocfs2_dx_dir_new_cluster()
2472 struct buffer_head **dx_leaves, in ocfs2_dx_dir_new_cluster()
2493 static struct buffer_head **ocfs2_dx_dir_kmalloc_leaves(struct super_block *sb, in ocfs2_dx_dir_kmalloc_leaves()
2497 struct buffer_head **dx_leaves; in ocfs2_dx_dir_kmalloc_leaves()
2499 dx_leaves = kcalloc(num_dx_leaves, sizeof(struct buffer_head *), in ocfs2_dx_dir_kmalloc_leaves()
2511 struct buffer_head *di_bh, in ocfs2_fill_new_dir_dx()
2516 struct buffer_head *leaf_bh = NULL; in ocfs2_fill_new_dir_dx()
2517 struct buffer_head *dx_root_bh = NULL; in ocfs2_fill_new_dir_dx()
2566 struct buffer_head *fe_bh, in ocfs2_fill_new_dir()
2586 struct buffer_head **dx_leaves, in ocfs2_dx_dir_index_block()
2589 struct buffer_head *dirent_bh) in ocfs2_dx_dir_index_block()
2594 struct buffer_head *dx_leaf_bh; in ocfs2_dx_dir_index_block()
2634 struct buffer_head *dx_root_bh, in ocfs2_dx_dir_index_root_block()
2635 struct buffer_head *dirent_bh) in ocfs2_dx_dir_index_root_block()
2677 struct buffer_head *di_bh) in ocfs2_new_dx_should_be_inline()
2764 static int ocfs2_expand_inline_dir(struct inode *dir, struct buffer_head *di_bh, in ocfs2_expand_inline_dir()
2767 struct buffer_head **first_block_bh) in ocfs2_expand_inline_dir()
2779 struct buffer_head *dirdata_bh = NULL; in ocfs2_expand_inline_dir()
2780 struct buffer_head *dx_root_bh = NULL; in ocfs2_expand_inline_dir()
2781 struct buffer_head **dx_leaves = NULL; in ocfs2_expand_inline_dir()
3084 struct buffer_head *parent_fe_bh, in ocfs2_do_extend_dir()
3087 struct buffer_head **new_bh) in ocfs2_do_extend_dir()
3148 struct buffer_head *parent_fe_bh, in ocfs2_extend_dir()
3151 struct buffer_head **new_de_bh) in ocfs2_extend_dir()
3161 struct buffer_head *new_bh = NULL; in ocfs2_extend_dir()
3165 struct buffer_head *dx_root_bh = lookup->dl_dx_root_bh; in ocfs2_extend_dir()
3335 static int ocfs2_find_dir_space_id(struct inode *dir, struct buffer_head *di_bh, in ocfs2_find_dir_space_id()
3337 struct buffer_head **ret_de_bh, in ocfs2_find_dir_space_id()
3407 int namelen, struct buffer_head **ret_de_bh) in ocfs2_find_dir_space_el()
3410 struct buffer_head *bh = NULL; in ocfs2_find_dir_space_el()
3630 struct buffer_head **orig_dx_leaves, in ocfs2_dx_dir_transfer_leaf()
3631 struct buffer_head **new_dx_leaves, in ocfs2_dx_dir_transfer_leaf()
3685 struct buffer_head *dx_root_bh, in ocfs2_dx_dir_rebalance()
3686 struct buffer_head *dx_leaf_bh, in ocfs2_dx_dir_rebalance()
3695 struct buffer_head **orig_dx_leaves = NULL; in ocfs2_dx_dir_rebalance()
3696 struct buffer_head **new_dx_leaves = NULL; in ocfs2_dx_dir_rebalance()
3880 struct buffer_head *di_bh, in ocfs2_find_dir_space_dx()
3881 struct buffer_head *dx_root_bh, in ocfs2_find_dir_space_dx()
3887 struct buffer_head *dx_leaf_bh = NULL; in ocfs2_find_dir_space_dx()
3953 struct buffer_head *dx_root_bh, in ocfs2_search_dx_free_list()
3958 struct buffer_head *leaf_bh = NULL, *prev_leaf_bh = NULL; in ocfs2_search_dx_free_list()
4001 struct buffer_head *dx_root_bh) in ocfs2_expand_inline_dx_root()
4004 struct buffer_head **dx_leaves = NULL; 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()
4132 struct buffer_head *di_bh, in ocfs2_prepare_dx_dir_for_insert()
4139 struct buffer_head *dx_root_bh = NULL; in ocfs2_prepare_dx_dir_for_insert()
4140 struct buffer_head *leaf_bh = NULL; in ocfs2_prepare_dx_dir_for_insert()
4235 struct buffer_head *parent_fe_bh, in ocfs2_prepare_dir_for_insert()
4242 struct buffer_head *bh = NULL; in ocfs2_prepare_dir_for_insert()
4311 struct buffer_head *di_bh, in ocfs2_dx_dir_remove_index()
4312 struct buffer_head *dx_root_bh) in ocfs2_dx_dir_remove_index()
4319 struct buffer_head *dx_alloc_bh = NULL; in ocfs2_dx_dir_remove_index()
4391 int ocfs2_dx_dir_truncate(struct inode *dir, struct buffer_head *di_bh) in ocfs2_dx_dir_truncate()
4398 struct buffer_head *dx_root_bh = NULL; in ocfs2_dx_dir_truncate()