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)
152 struct buffer_head *dx_root_bh,
153 struct buffer_head *dirdata_bh)
299 struct buffer_head *bh,
344 static inline int ocfs2_search_dirblock(struct buffer_head *bh,
395 static struct buffer_head *ocfs2_find_entry_id(const char *name,
401 struct buffer_head *di_bh = NULL;
425 struct buffer_head *bh)
463 static int ocfs2_check_dir_trailer(struct inode *dir, struct buffer_head *bh)
503 struct buffer_head **bh, int flags)
506 struct buffer_head *tmp = *bh;
540 struct buffer_head **bh)
543 struct buffer_head *tmp = *bh;
569 struct buffer_head *bh)
597 struct buffer_head **dx_root_bh)
601 struct buffer_head *tmp = *dx_root_bh;
614 struct buffer_head *bh)
638 struct buffer_head **dx_leaf_bh)
641 struct buffer_head *tmp = *dx_leaf_bh;
654 * Read a series of dx_leaf blocks. This expects all buffer_head
658 struct buffer_head **dx_leaf_bhs)
670 static struct buffer_head *ocfs2_find_entry_el(const char *name, int namelen,
675 struct buffer_head *bh_use[NAMEI_RA_SIZE];
676 struct buffer_head *bh, *ret = NULL;
777 struct buffer_head *eb_bh = NULL;
910 struct buffer_head *dx_leaf_bh = NULL;
913 struct buffer_head *dir_ent_bh = NULL;
1022 struct buffer_head *di_bh = NULL;
1024 struct buffer_head *dx_root_bh = NULL;
1074 struct buffer_head *bh;
1121 struct buffer_head *de_bh = res->dl_leaf_bh;
1154 struct buffer_head *bh, char *first_de,
1211 struct buffer_head *dirblock_bh)
1260 struct buffer_head *dx_root_bh = lookup->dl_dx_root_bh;
1261 struct buffer_head *leaf_bh = lookup->dl_leaf_bh;
1375 struct buffer_head *bh)
1378 struct buffer_head *di_bh = NULL;
1402 struct buffer_head *bh)
1484 struct buffer_head *dx_leaf_bh)
1517 struct buffer_head *dx_root_bh = lookup->dl_dx_root_bh;
1553 struct buffer_head *bh;
1610 struct buffer_head *parent_fe_bh,
1620 struct buffer_head *insert_bh = lookup->dl_leaf_bh;
1624 struct buffer_head *bh;
1765 struct buffer_head *di_bh = NULL;
1836 struct buffer_head * bh, * tmp;
2109 struct buffer_head *di_bh = NULL;
2110 struct buffer_head *dx_root_bh = NULL;
2216 struct buffer_head *di_bh)
2249 struct buffer_head *fe_bh,
2251 struct buffer_head **ret_new_bh)
2255 struct buffer_head *new_bh = NULL;
2317 struct buffer_head *di_bh,
2318 struct buffer_head *dirdata_bh,
2321 struct buffer_head **ret_dx_root_bh)
2328 struct buffer_head *dx_root_bh = NULL;
2409 struct buffer_head **dx_leaves,
2414 struct buffer_head *bh;
2463 struct buffer_head **dx_leaves,
2505 struct buffer_head **dx_leaves,
2526 static struct buffer_head **ocfs2_dx_dir_kmalloc_leaves(struct super_block *sb,
2530 struct buffer_head **dx_leaves;
2532 dx_leaves = kcalloc(num_dx_leaves, sizeof(struct buffer_head *),
2544 struct buffer_head *di_bh,
2549 struct buffer_head *leaf_bh = NULL;
2550 struct buffer_head *dx_root_bh = NULL;
2599 struct buffer_head *fe_bh,
2619 struct buffer_head **dx_leaves,
2622 struct buffer_head *dirent_bh)
2627 struct buffer_head *dx_leaf_bh;
2667 struct buffer_head *dx_root_bh,
2668 struct buffer_head *dirent_bh)
2710 struct buffer_head *di_bh)
2797 static int ocfs2_expand_inline_dir(struct inode *dir, struct buffer_head *di_bh,
2800 struct buffer_head **first_block_bh)
2812 struct buffer_head *dirdata_bh = NULL;
2813 struct buffer_head *dx_root_bh = NULL;
2814 struct buffer_head **dx_leaves = NULL;
3117 struct buffer_head *parent_fe_bh,
3120 struct buffer_head **new_bh)
3181 struct buffer_head *parent_fe_bh,
3184 struct buffer_head **new_de_bh)
3194 struct buffer_head *new_bh = NULL;
3198 struct buffer_head *dx_root_bh = lookup->dl_dx_root_bh;
3368 static int ocfs2_find_dir_space_id(struct inode *dir, struct buffer_head *di_bh,
3370 struct buffer_head **ret_de_bh,
3442 int namelen, struct buffer_head **ret_de_bh)
3445 struct buffer_head *bh = NULL;
3656 struct buffer_head **orig_dx_leaves,
3657 struct buffer_head **new_dx_leaves,
3711 struct buffer_head *dx_root_bh,
3712 struct buffer_head *dx_leaf_bh,
3721 struct buffer_head **orig_dx_leaves = NULL;
3722 struct buffer_head **new_dx_leaves = NULL;
3906 struct buffer_head *di_bh,
3907 struct buffer_head *dx_root_bh,
3913 struct buffer_head *dx_leaf_bh = NULL;
3979 struct buffer_head *dx_root_bh,
3984 struct buffer_head *leaf_bh = NULL, *prev_leaf_bh = NULL;
4027 struct buffer_head *dx_root_bh)
4030 struct buffer_head **dx_leaves = NULL;
4142 static int ocfs2_inline_dx_has_space(struct buffer_head *dx_root_bh)
4158 struct buffer_head *di_bh,
4165 struct buffer_head *dx_root_bh = NULL;
4166 struct buffer_head *leaf_bh = NULL;
4261 struct buffer_head *parent_fe_bh,
4268 struct buffer_head *bh = NULL;
4331 struct buffer_head *di_bh,
4332 struct buffer_head *dx_root_bh)
4339 struct buffer_head *dx_alloc_bh = NULL;
4411 int ocfs2_dx_dir_truncate(struct inode *dir, struct buffer_head *di_bh)
4418 struct buffer_head *dx_root_bh = NULL;