needed_space     1422 fs/ocfs2/xattr.c static int ocfs2_xa_check_space_helper(int needed_space, int free_start,
needed_space     1427 fs/ocfs2/xattr.c 	if (!needed_space)
needed_space     1436 fs/ocfs2/xattr.c 	if (free_space < needed_space)
needed_space     1603 fs/ocfs2/xattr.c 	int needed_space = ocfs2_xi_entry_usage(xi);
needed_space     1613 fs/ocfs2/xattr.c 			needed_space = 0;
needed_space     1615 fs/ocfs2/xattr.c 			needed_space -= ocfs2_xe_entry_usage(loc->xl_entry);
needed_space     1617 fs/ocfs2/xattr.c 	if (needed_space < 0)
needed_space     1618 fs/ocfs2/xattr.c 		needed_space = 0;
needed_space     1619 fs/ocfs2/xattr.c 	return ocfs2_xa_check_space_helper(needed_space, free_start, count);
needed_space     1766 fs/ocfs2/xattr.c 	int needed_space = ocfs2_xi_entry_usage(xi);
needed_space     1779 fs/ocfs2/xattr.c 			needed_space = 0;
needed_space     1781 fs/ocfs2/xattr.c 			needed_space -= sizeof(struct ocfs2_xattr_entry);
needed_space     1783 fs/ocfs2/xattr.c 	BUG_ON(needed_space < 0);
needed_space     1786 fs/ocfs2/xattr.c 		if (needed_space)
needed_space     1795 fs/ocfs2/xattr.c 		rc = ocfs2_xa_check_space_helper(needed_space, free_start,
needed_space     1802 fs/ocfs2/xattr.c 	return ocfs2_xa_check_space_helper(needed_space, free_start, count);