Lines Matching refs:buffer_head

61 			       struct buffer_head *parent_fe_bh,
64 struct buffer_head **new_bh);
136 struct buffer_head *bh, u16 rec_len) in ocfs2_init_dir_trailer()
154 struct buffer_head *dx_root_bh, in ocfs2_dx_dir_link_trailer()
155 struct buffer_head *dirdata_bh) in ocfs2_dx_dir_link_trailer()
301 struct buffer_head * bh, in ocfs2_check_dir_entry()
341 static inline int ocfs2_search_dirblock(struct buffer_head *bh, in ocfs2_search_dirblock()
391 static struct buffer_head *ocfs2_find_entry_id(const char *name, in ocfs2_find_entry_id()
397 struct buffer_head *di_bh = NULL; in ocfs2_find_entry_id()
421 struct buffer_head *bh) in ocfs2_validate_dir_block()
459 static int ocfs2_check_dir_trailer(struct inode *dir, struct buffer_head *bh) in ocfs2_check_dir_trailer()
499 struct buffer_head **bh, int flags) in ocfs2_read_dir_block()
502 struct buffer_head *tmp = *bh; in ocfs2_read_dir_block()
536 struct buffer_head **bh) in ocfs2_read_dir_block_direct()
539 struct buffer_head *tmp = *bh; in ocfs2_read_dir_block_direct()
565 struct buffer_head *bh) in ocfs2_validate_dx_root()
593 struct buffer_head **dx_root_bh) in ocfs2_read_dx_root()
597 struct buffer_head *tmp = *dx_root_bh; in ocfs2_read_dx_root()
610 struct buffer_head *bh) in ocfs2_validate_dx_leaf()
634 struct buffer_head **dx_leaf_bh) in ocfs2_read_dx_leaf()
637 struct buffer_head *tmp = *dx_leaf_bh; in ocfs2_read_dx_leaf()
654 struct buffer_head **dx_leaf_bhs) in ocfs2_read_dx_leaves()
666 static struct buffer_head *ocfs2_find_entry_el(const char *name, int namelen, in ocfs2_find_entry_el()
671 struct buffer_head *bh_use[NAMEI_RA_SIZE]; in ocfs2_find_entry_el()
672 struct buffer_head *bh, *ret = NULL; in ocfs2_find_entry_el()
773 struct buffer_head *eb_bh = NULL; in ocfs2_dx_dir_lookup_rec()
898 struct buffer_head *dx_leaf_bh = NULL; in ocfs2_dx_dir_search()
901 struct buffer_head *dir_ent_bh = NULL; in ocfs2_dx_dir_search()
1010 struct buffer_head *di_bh = NULL; in ocfs2_find_entry_dx()
1012 struct buffer_head *dx_root_bh = NULL; in ocfs2_find_entry_dx()
1062 struct buffer_head *bh; in ocfs2_find_entry()
1096 struct buffer_head *de_bh = res->dl_leaf_bh; in ocfs2_update_entry()
1129 struct buffer_head *bh, char *first_de, in __ocfs2_delete_entry()
1186 struct buffer_head *dirblock_bh) in ocfs2_find_max_rec_len()
1235 struct buffer_head *dx_root_bh = lookup->dl_dx_root_bh; in ocfs2_delete_entry_dx()
1236 struct buffer_head *leaf_bh = lookup->dl_leaf_bh; in ocfs2_delete_entry_dx()
1350 struct buffer_head *bh) in ocfs2_delete_entry_id()
1353 struct buffer_head *di_bh = NULL; in ocfs2_delete_entry_id()
1377 struct buffer_head *bh) in ocfs2_delete_entry_el()
1459 struct buffer_head *dx_leaf_bh) in __ocfs2_dx_dir_leaf_insert()
1492 struct buffer_head *dx_root_bh = lookup->dl_dx_root_bh; in ocfs2_dx_dir_insert()
1528 struct buffer_head *bh; in ocfs2_remove_block_from_free_list()
1585 struct buffer_head *parent_fe_bh, in __ocfs2_add_entry()
1595 struct buffer_head *insert_bh = lookup->dl_leaf_bh; in __ocfs2_add_entry()
1602 struct buffer_head *bh; in __ocfs2_add_entry()
1741 struct buffer_head *di_bh = NULL; in ocfs2_dir_foreach_blk_id()
1811 struct buffer_head * bh, * tmp; in ocfs2_dir_foreach_blk_el()
2078 struct buffer_head *di_bh = NULL; in ocfs2_empty_dir_dx()
2079 struct buffer_head *dx_root_bh = NULL; in ocfs2_empty_dir_dx()
2185 struct buffer_head *di_bh) in ocfs2_fill_new_dir_id()
2218 struct buffer_head *fe_bh, in ocfs2_fill_new_dir_el()
2220 struct buffer_head **ret_new_bh) in ocfs2_fill_new_dir_el()
2224 struct buffer_head *new_bh = NULL; in ocfs2_fill_new_dir_el()
2286 struct buffer_head *di_bh, in ocfs2_dx_dir_attach_index()
2287 struct buffer_head *dirdata_bh, in ocfs2_dx_dir_attach_index()
2290 struct buffer_head **ret_dx_root_bh) in ocfs2_dx_dir_attach_index()
2297 struct buffer_head *dx_root_bh = NULL; in ocfs2_dx_dir_attach_index()
2378 struct buffer_head **dx_leaves, in ocfs2_dx_dir_format_cluster()
2383 struct buffer_head *bh; in ocfs2_dx_dir_format_cluster()
2432 struct buffer_head **dx_leaves, in __ocfs2_dx_dir_new_cluster()
2474 struct buffer_head **dx_leaves, in ocfs2_dx_dir_new_cluster()
2495 static struct buffer_head **ocfs2_dx_dir_kmalloc_leaves(struct super_block *sb, in ocfs2_dx_dir_kmalloc_leaves()
2499 struct buffer_head **dx_leaves; in ocfs2_dx_dir_kmalloc_leaves()
2501 dx_leaves = kcalloc(num_dx_leaves, sizeof(struct buffer_head *), in ocfs2_dx_dir_kmalloc_leaves()
2513 struct buffer_head *di_bh, in ocfs2_fill_new_dir_dx()
2518 struct buffer_head *leaf_bh = NULL; in ocfs2_fill_new_dir_dx()
2519 struct buffer_head *dx_root_bh = NULL; in ocfs2_fill_new_dir_dx()
2568 struct buffer_head *fe_bh, in ocfs2_fill_new_dir()
2588 struct buffer_head **dx_leaves, in ocfs2_dx_dir_index_block()
2591 struct buffer_head *dirent_bh) in ocfs2_dx_dir_index_block()
2596 struct buffer_head *dx_leaf_bh; in ocfs2_dx_dir_index_block()
2636 struct buffer_head *dx_root_bh, in ocfs2_dx_dir_index_root_block()
2637 struct buffer_head *dirent_bh) in ocfs2_dx_dir_index_root_block()
2679 struct buffer_head *di_bh) in ocfs2_new_dx_should_be_inline()
2766 static int ocfs2_expand_inline_dir(struct inode *dir, struct buffer_head *di_bh, in ocfs2_expand_inline_dir()
2769 struct buffer_head **first_block_bh) in ocfs2_expand_inline_dir()
2781 struct buffer_head *dirdata_bh = NULL; in ocfs2_expand_inline_dir()
2782 struct buffer_head *dx_root_bh = NULL; in ocfs2_expand_inline_dir()
2783 struct buffer_head **dx_leaves = NULL; in ocfs2_expand_inline_dir()
3086 struct buffer_head *parent_fe_bh, in ocfs2_do_extend_dir()
3089 struct buffer_head **new_bh) in ocfs2_do_extend_dir()
3150 struct buffer_head *parent_fe_bh, in ocfs2_extend_dir()
3153 struct buffer_head **new_de_bh) in ocfs2_extend_dir()
3163 struct buffer_head *new_bh = NULL; in ocfs2_extend_dir()
3167 struct buffer_head *dx_root_bh = lookup->dl_dx_root_bh; in ocfs2_extend_dir()
3337 static int ocfs2_find_dir_space_id(struct inode *dir, struct buffer_head *di_bh, in ocfs2_find_dir_space_id()
3339 struct buffer_head **ret_de_bh, in ocfs2_find_dir_space_id()
3409 int namelen, struct buffer_head **ret_de_bh) in ocfs2_find_dir_space_el()
3412 struct buffer_head *bh = NULL; in ocfs2_find_dir_space_el()
3632 struct buffer_head **orig_dx_leaves, in ocfs2_dx_dir_transfer_leaf()
3633 struct buffer_head **new_dx_leaves, in ocfs2_dx_dir_transfer_leaf()
3687 struct buffer_head *dx_root_bh, in ocfs2_dx_dir_rebalance()
3688 struct buffer_head *dx_leaf_bh, in ocfs2_dx_dir_rebalance()
3697 struct buffer_head **orig_dx_leaves = NULL; in ocfs2_dx_dir_rebalance()
3698 struct buffer_head **new_dx_leaves = NULL; in ocfs2_dx_dir_rebalance()
3882 struct buffer_head *di_bh, in ocfs2_find_dir_space_dx()
3883 struct buffer_head *dx_root_bh, in ocfs2_find_dir_space_dx()
3889 struct buffer_head *dx_leaf_bh = NULL; in ocfs2_find_dir_space_dx()
3955 struct buffer_head *dx_root_bh, in ocfs2_search_dx_free_list()
3960 struct buffer_head *leaf_bh = NULL, *prev_leaf_bh = NULL; in ocfs2_search_dx_free_list()
4003 struct buffer_head *dx_root_bh) in ocfs2_expand_inline_dx_root()
4006 struct buffer_head **dx_leaves = NULL; in ocfs2_expand_inline_dx_root()
4118 static int ocfs2_inline_dx_has_space(struct buffer_head *dx_root_bh) in ocfs2_inline_dx_has_space()
4134 struct buffer_head *di_bh, in ocfs2_prepare_dx_dir_for_insert()
4141 struct buffer_head *dx_root_bh = NULL; in ocfs2_prepare_dx_dir_for_insert()
4142 struct buffer_head *leaf_bh = NULL; in ocfs2_prepare_dx_dir_for_insert()
4237 struct buffer_head *parent_fe_bh, in ocfs2_prepare_dir_for_insert()
4244 struct buffer_head *bh = NULL; in ocfs2_prepare_dir_for_insert()
4313 struct buffer_head *di_bh, in ocfs2_dx_dir_remove_index()
4314 struct buffer_head *dx_root_bh) in ocfs2_dx_dir_remove_index()
4321 struct buffer_head *dx_alloc_bh = NULL; in ocfs2_dx_dir_remove_index()
4393 int ocfs2_dx_dir_truncate(struct inode *dir, struct buffer_head *di_bh) in ocfs2_dx_dir_truncate()
4400 struct buffer_head *dx_root_bh = NULL; in ocfs2_dx_dir_truncate()