Lines Matching refs:acred
545 rpcauth_lookup_credcache(struct rpc_auth *auth, struct auth_cred * acred, in rpcauth_lookup_credcache() argument
554 nr = hash_long(from_kuid(&init_user_ns, acred->uid), cache->hashbits); in rpcauth_lookup_credcache()
558 if (!entry->cr_ops->crmatch(acred, entry, flags)) in rpcauth_lookup_credcache()
583 new = auth->au_ops->crcreate(auth, acred, flags); in rpcauth_lookup_credcache()
591 if (!entry->cr_ops->crmatch(acred, entry, flags)) in rpcauth_lookup_credcache()
623 struct auth_cred acred; in rpcauth_lookupcred() local
630 memset(&acred, 0, sizeof(acred)); in rpcauth_lookupcred()
631 acred.uid = cred->fsuid; in rpcauth_lookupcred()
632 acred.gid = cred->fsgid; in rpcauth_lookupcred()
633 acred.group_info = cred->group_info; in rpcauth_lookupcred()
634 ret = auth->au_ops->lookup_cred(auth, &acred, flags); in rpcauth_lookupcred()
640 rpcauth_init_cred(struct rpc_cred *cred, const struct auth_cred *acred, in rpcauth_init_cred() argument
652 cred->cr_uid = acred->uid; in rpcauth_init_cred()
669 struct auth_cred acred = { in rpcauth_bind_root_cred() local
676 return auth->au_ops->lookup_cred(auth, &acred, lookupflags); in rpcauth_bind_root_cred()