Lines Matching refs:perm
107 const char *perm = nvpair_name(permpair); in dsl_deleg_can_allow() local
109 if (strcmp(perm, ZFS_DELEG_PERM_ALLOW) == 0) in dsl_deleg_can_allow()
112 if ((error = dsl_deleg_access(ddname, perm, cr)) != 0) in dsl_deleg_can_allow()
188 const char *perm = nvpair_name(permpair); in dsl_deleg_set_sync() local
192 perm, 8, 1, &n, tx) == 0); in dsl_deleg_set_sync()
194 "%s %s", whokey, perm); in dsl_deleg_set_sync()
238 const char *perm = nvpair_name(permpair); in dsl_deleg_unset_sync() local
241 (void) zap_remove(mos, jumpobj, perm, tx); in dsl_deleg_unset_sync()
249 "%s %s", whokey, perm); in dsl_deleg_unset_sync()
408 char type, char checkflag, void *valp, const char *perm) in dsl_check_access() argument
417 error = zap_lookup(mos, jumpobj, perm, 8, 1, &zero); in dsl_check_access()
428 dsl_check_user_access(objset_t *mos, uint64_t zapobj, const char *perm, in dsl_check_user_access() argument
439 ZFS_DELEG_USER, checkflag, &id, perm) == 0) in dsl_check_user_access()
445 ZFS_DELEG_GROUP, checkflag, &id, perm) == 0) in dsl_check_user_access()
451 ZFS_DELEG_EVERYONE, checkflag, &id, perm) == 0) in dsl_check_user_access()
460 ZFS_DELEG_GROUP, checkflag, &id, perm) == 0) in dsl_check_user_access()
542 dsl_deleg_access_impl(dsl_dataset_t *ds, const char *perm, cred_t *cr) in dsl_deleg_access_impl() argument
611 ZFS_DELEG_NAMED_SET, 0, setnode->p_setname, perm); in dsl_deleg_access_impl()
631 error = dsl_check_user_access(mos, zapobj, perm, checkflag, cr); in dsl_deleg_access_impl()
646 dsl_deleg_access(const char *dsname, const char *perm, cred_t *cr) in dsl_deleg_access() argument
657 error = dsl_deleg_access_impl(ds, perm, cr); in dsl_deleg_access()