Lines Matching refs:clone
221 struct posix_acl *clone = NULL; in posix_acl_clone() local
226 clone = kmemdup(acl, size, flags); in posix_acl_clone()
227 if (clone) in posix_acl_clone()
228 refcount_set(&clone->a_refcount, 1); in posix_acl_clone()
230 return clone; in posix_acl_clone()
559 struct posix_acl *clone = posix_acl_clone(*acl, gfp); in __posix_acl_create() local
561 if (clone) { in __posix_acl_create()
562 err = posix_acl_create_masq(clone, mode_p); in __posix_acl_create()
564 posix_acl_release(clone); in __posix_acl_create()
565 clone = NULL; in __posix_acl_create()
569 *acl = clone; in __posix_acl_create()
577 struct posix_acl *clone = posix_acl_clone(*acl, gfp); in __posix_acl_chmod() local
579 if (clone) { in __posix_acl_chmod()
580 err = __posix_acl_chmod_masq(clone, mode); in __posix_acl_chmod()
582 posix_acl_release(clone); in __posix_acl_chmod()
583 clone = NULL; in __posix_acl_chmod()
587 *acl = clone; in __posix_acl_chmod()
639 struct posix_acl *clone; in posix_acl_create() local
657 clone = posix_acl_clone(p, GFP_NOFS); in posix_acl_create()
658 if (!clone) in posix_acl_create()
661 ret = posix_acl_create_masq(clone, mode); in posix_acl_create()
666 posix_acl_release(clone); in posix_acl_create()
668 *acl = clone; in posix_acl_create()
678 posix_acl_release(clone); in posix_acl_create()