Lines Matching refs:clone
194 struct posix_acl *clone = NULL; in posix_acl_clone() local
199 clone = kmemdup(acl, size, flags); in posix_acl_clone()
200 if (clone) in posix_acl_clone()
201 refcount_set(&clone->a_refcount, 1); in posix_acl_clone()
203 return clone; in posix_acl_clone()
521 struct posix_acl *clone = posix_acl_clone(*acl, gfp); in __posix_acl_create() local
523 if (clone) { in __posix_acl_create()
524 err = posix_acl_create_masq(clone, mode_p); in __posix_acl_create()
526 posix_acl_release(clone); in __posix_acl_create()
527 clone = NULL; in __posix_acl_create()
531 *acl = clone; in __posix_acl_create()
539 struct posix_acl *clone = posix_acl_clone(*acl, gfp); in __posix_acl_chmod() local
541 if (clone) { in __posix_acl_chmod()
542 err = __posix_acl_chmod_masq(clone, mode); in __posix_acl_chmod()
544 posix_acl_release(clone); in __posix_acl_chmod()
545 clone = NULL; in __posix_acl_chmod()
549 *acl = clone; in __posix_acl_chmod()
586 struct posix_acl *clone; in posix_acl_create() local
604 clone = posix_acl_clone(p, GFP_NOFS); in posix_acl_create()
605 if (!clone) in posix_acl_create()
608 ret = posix_acl_create_masq(clone, mode); in posix_acl_create()
613 posix_acl_release(clone); in posix_acl_create()
615 *acl = clone; in posix_acl_create()
625 posix_acl_release(clone); in posix_acl_create()