Lines Matching refs:clone
193 struct posix_acl *clone = NULL; in posix_acl_clone() local
198 clone = kmemdup(acl, size, flags); in posix_acl_clone()
199 if (clone) in posix_acl_clone()
200 refcount_set(&clone->a_refcount, 1); in posix_acl_clone()
202 return clone; in posix_acl_clone()
520 struct posix_acl *clone = posix_acl_clone(*acl, gfp); in __posix_acl_create() local
522 if (clone) { in __posix_acl_create()
523 err = posix_acl_create_masq(clone, mode_p); in __posix_acl_create()
525 posix_acl_release(clone); in __posix_acl_create()
526 clone = NULL; in __posix_acl_create()
530 *acl = clone; in __posix_acl_create()
538 struct posix_acl *clone = posix_acl_clone(*acl, gfp); in __posix_acl_chmod() local
540 if (clone) { in __posix_acl_chmod()
541 err = __posix_acl_chmod_masq(clone, mode); in __posix_acl_chmod()
543 posix_acl_release(clone); in __posix_acl_chmod()
544 clone = NULL; in __posix_acl_chmod()
548 *acl = clone; in __posix_acl_chmod()
585 struct posix_acl *clone; in posix_acl_create() local
603 clone = posix_acl_clone(p, GFP_NOFS); in posix_acl_create()
604 if (!clone) in posix_acl_create()
607 ret = posix_acl_create_masq(clone, mode); in posix_acl_create()
612 posix_acl_release(clone); in posix_acl_create()
614 *acl = clone; in posix_acl_create()
624 posix_acl_release(clone); in posix_acl_create()