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()
910 struct buffer_head *dx_leaf_bh = NULL; in ocfs2_dx_dir_search()
913 struct buffer_head *dir_ent_bh = NULL; in ocfs2_dx_dir_search()
1022 struct buffer_head *di_bh = NULL; in ocfs2_find_entry_dx()
1024 struct buffer_head *dx_root_bh = NULL; in ocfs2_find_entry_dx()
1074 struct buffer_head *bh; in ocfs2_find_entry()
1121 struct buffer_head *de_bh = res->dl_leaf_bh; in ocfs2_update_entry()
1154 struct buffer_head *bh, char *first_de, in __ocfs2_delete_entry()
1211 struct buffer_head *dirblock_bh) in ocfs2_find_max_rec_len()
1260 struct buffer_head *dx_root_bh = lookup->dl_dx_root_bh; in ocfs2_delete_entry_dx()
1261 struct buffer_head *leaf_bh = lookup->dl_leaf_bh; in ocfs2_delete_entry_dx()
1375 struct buffer_head *bh) in ocfs2_delete_entry_id()
1378 struct buffer_head *di_bh = NULL; in ocfs2_delete_entry_id()
1402 struct buffer_head *bh) in ocfs2_delete_entry_el()
1484 struct buffer_head *dx_leaf_bh) in __ocfs2_dx_dir_leaf_insert()
1517 struct buffer_head *dx_root_bh = lookup->dl_dx_root_bh; in ocfs2_dx_dir_insert()
1553 struct buffer_head *bh; in ocfs2_remove_block_from_free_list()
1610 struct buffer_head *parent_fe_bh, in __ocfs2_add_entry()
1620 struct buffer_head *insert_bh = lookup->dl_leaf_bh; in __ocfs2_add_entry()
1624 struct buffer_head *bh; in __ocfs2_add_entry()
1765 struct buffer_head *di_bh = NULL; in ocfs2_dir_foreach_blk_id()
1836 struct buffer_head * bh, * tmp; in ocfs2_dir_foreach_blk_el()
2109 struct buffer_head *di_bh = NULL; in ocfs2_empty_dir_dx()
2110 struct buffer_head *dx_root_bh = NULL; in ocfs2_empty_dir_dx()
2216 struct buffer_head *di_bh) in ocfs2_fill_new_dir_id()
2249 struct buffer_head *fe_bh, in ocfs2_fill_new_dir_el()
2251 struct buffer_head **ret_new_bh) in ocfs2_fill_new_dir_el()
2255 struct buffer_head *new_bh = NULL; in ocfs2_fill_new_dir_el()
2317 struct buffer_head *di_bh, in ocfs2_dx_dir_attach_index()
2318 struct buffer_head *dirdata_bh, in ocfs2_dx_dir_attach_index()
2321 struct buffer_head **ret_dx_root_bh) in ocfs2_dx_dir_attach_index()
2328 struct buffer_head *dx_root_bh = NULL; in ocfs2_dx_dir_attach_index()
2409 struct buffer_head **dx_leaves, in ocfs2_dx_dir_format_cluster()
2414 struct buffer_head *bh; in ocfs2_dx_dir_format_cluster()
2463 struct buffer_head **dx_leaves, in __ocfs2_dx_dir_new_cluster()
2505 struct buffer_head **dx_leaves, in ocfs2_dx_dir_new_cluster()
2526 static struct buffer_head **ocfs2_dx_dir_kmalloc_leaves(struct super_block *sb, in ocfs2_dx_dir_kmalloc_leaves()
2530 struct buffer_head **dx_leaves; in ocfs2_dx_dir_kmalloc_leaves()
2532 dx_leaves = kcalloc(num_dx_leaves, sizeof(struct buffer_head *), in ocfs2_dx_dir_kmalloc_leaves()
2544 struct buffer_head *di_bh, in ocfs2_fill_new_dir_dx()
2549 struct buffer_head *leaf_bh = NULL; in ocfs2_fill_new_dir_dx()
2550 struct buffer_head *dx_root_bh = NULL; in ocfs2_fill_new_dir_dx()
2599 struct buffer_head *fe_bh, in ocfs2_fill_new_dir()
2619 struct buffer_head **dx_leaves, in ocfs2_dx_dir_index_block()
2622 struct buffer_head *dirent_bh) in ocfs2_dx_dir_index_block()
2627 struct buffer_head *dx_leaf_bh; in ocfs2_dx_dir_index_block()
2667 struct buffer_head *dx_root_bh, in ocfs2_dx_dir_index_root_block()
2668 struct buffer_head *dirent_bh) in ocfs2_dx_dir_index_root_block()
2710 struct buffer_head *di_bh) in ocfs2_new_dx_should_be_inline()
2797 static int ocfs2_expand_inline_dir(struct inode *dir, struct buffer_head *di_bh, in ocfs2_expand_inline_dir()
2800 struct buffer_head **first_block_bh) in ocfs2_expand_inline_dir()
2812 struct buffer_head *dirdata_bh = NULL; in ocfs2_expand_inline_dir()
2813 struct buffer_head *dx_root_bh = NULL; in ocfs2_expand_inline_dir()
2814 struct buffer_head **dx_leaves = NULL; in ocfs2_expand_inline_dir()
3117 struct buffer_head *parent_fe_bh, in ocfs2_do_extend_dir()
3120 struct buffer_head **new_bh) in ocfs2_do_extend_dir()
3181 struct buffer_head *parent_fe_bh, in ocfs2_extend_dir()
3184 struct buffer_head **new_de_bh) in ocfs2_extend_dir()
3194 struct buffer_head *new_bh = NULL; in ocfs2_extend_dir()
3198 struct buffer_head *dx_root_bh = lookup->dl_dx_root_bh; in ocfs2_extend_dir()
3368 static int ocfs2_find_dir_space_id(struct inode *dir, struct buffer_head *di_bh, in ocfs2_find_dir_space_id()
3370 struct buffer_head **ret_de_bh, in ocfs2_find_dir_space_id()
3442 int namelen, struct buffer_head **ret_de_bh) in ocfs2_find_dir_space_el()
3445 struct buffer_head *bh = NULL; in ocfs2_find_dir_space_el()
3656 struct buffer_head **orig_dx_leaves, in ocfs2_dx_dir_transfer_leaf()
3657 struct buffer_head **new_dx_leaves, in ocfs2_dx_dir_transfer_leaf()
3711 struct buffer_head *dx_root_bh, in ocfs2_dx_dir_rebalance()
3712 struct buffer_head *dx_leaf_bh, in ocfs2_dx_dir_rebalance()
3721 struct buffer_head **orig_dx_leaves = NULL; in ocfs2_dx_dir_rebalance()
3722 struct buffer_head **new_dx_leaves = NULL; in ocfs2_dx_dir_rebalance()
3906 struct buffer_head *di_bh, in ocfs2_find_dir_space_dx()
3907 struct buffer_head *dx_root_bh, in ocfs2_find_dir_space_dx()
3913 struct buffer_head *dx_leaf_bh = NULL; in ocfs2_find_dir_space_dx()
3979 struct buffer_head *dx_root_bh, in ocfs2_search_dx_free_list()
3984 struct buffer_head *leaf_bh = NULL, *prev_leaf_bh = NULL; in ocfs2_search_dx_free_list()
4027 struct buffer_head *dx_root_bh) in ocfs2_expand_inline_dx_root()
4030 struct buffer_head **dx_leaves = NULL; in ocfs2_expand_inline_dx_root()
4142 static int ocfs2_inline_dx_has_space(struct buffer_head *dx_root_bh) in ocfs2_inline_dx_has_space()
4158 struct buffer_head *di_bh, in ocfs2_prepare_dx_dir_for_insert()
4165 struct buffer_head *dx_root_bh = NULL; in ocfs2_prepare_dx_dir_for_insert()
4166 struct buffer_head *leaf_bh = NULL; in ocfs2_prepare_dx_dir_for_insert()
4261 struct buffer_head *parent_fe_bh, in ocfs2_prepare_dir_for_insert()
4268 struct buffer_head *bh = NULL; in ocfs2_prepare_dir_for_insert()
4331 struct buffer_head *di_bh, in ocfs2_dx_dir_remove_index()
4332 struct buffer_head *dx_root_bh) in ocfs2_dx_dir_remove_index()
4339 struct buffer_head *dx_alloc_bh = NULL; in ocfs2_dx_dir_remove_index()
4411 int ocfs2_dx_dir_truncate(struct inode *dir, struct buffer_head *di_bh) in ocfs2_dx_dir_truncate()
4418 struct buffer_head *dx_root_bh = NULL; in ocfs2_dx_dir_truncate()