Lines Matching refs:acred
548 rpcauth_lookup_credcache(struct rpc_auth *auth, struct auth_cred * acred, in rpcauth_lookup_credcache() argument
557 nr = auth->au_ops->hash_cred(acred, cache->hashbits); in rpcauth_lookup_credcache()
561 if (!entry->cr_ops->crmatch(acred, entry, flags)) in rpcauth_lookup_credcache()
586 new = auth->au_ops->crcreate(auth, acred, flags, gfp); in rpcauth_lookup_credcache()
594 if (!entry->cr_ops->crmatch(acred, entry, flags)) in rpcauth_lookup_credcache()
626 struct auth_cred acred; in rpcauth_lookupcred() local
633 memset(&acred, 0, sizeof(acred)); in rpcauth_lookupcred()
634 acred.uid = cred->fsuid; in rpcauth_lookupcred()
635 acred.gid = cred->fsgid; in rpcauth_lookupcred()
636 acred.group_info = cred->group_info; in rpcauth_lookupcred()
637 ret = auth->au_ops->lookup_cred(auth, &acred, flags); in rpcauth_lookupcred()
643 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()