metas            6217 fs/ocfs2/xattr.c 					     int *metas, int *credits,
metas            6237 fs/ocfs2/xattr.c 		*metas += le16_to_cpu(xv->xr_list.l_tree_depth) *
metas            6728 fs/ocfs2/xattr.c 	struct ocfs2_value_tree_metas *metas =
metas            6734 fs/ocfs2/xattr.c 	metas->credits += bucket->bu_blocks;
metas            6736 fs/ocfs2/xattr.c 					xh, &metas->num_metas,
metas            6737 fs/ocfs2/xattr.c 					&metas->credits, &metas->num_recs,
metas            6755 fs/ocfs2/xattr.c 	struct ocfs2_value_tree_metas metas;
metas            6759 fs/ocfs2/xattr.c 	memset(&metas, 0, sizeof(metas));
metas            6762 fs/ocfs2/xattr.c 					  ocfs2_calc_value_tree_metas, &metas);
metas            6768 fs/ocfs2/xattr.c 	*credits = metas.credits;
metas            6782 fs/ocfs2/xattr.c 	metas.num_recs =
metas            6783 fs/ocfs2/xattr.c 		(metas.num_recs + ocfs2_refcount_recs_per_rb(osb->sb) - 1) /
metas            6785 fs/ocfs2/xattr.c 	metas.num_metas += metas.num_recs;
metas            6786 fs/ocfs2/xattr.c 	*credits += metas.num_recs +
metas            6787 fs/ocfs2/xattr.c 		    metas.num_recs * OCFS2_EXPAND_REFCOUNT_TREE_CREDITS;
metas            6803 fs/ocfs2/xattr.c 		metas.num_metas += ocfs2_extend_meta_needed(xt_et->et_root_el);
metas            6808 fs/ocfs2/xattr.c 	if (metas.num_metas) {
metas            6809 fs/ocfs2/xattr.c 		ret = ocfs2_reserve_new_metadata_blocks(osb, metas.num_metas,