Lines Matching refs:acred
514 rpcauth_lookup_credcache(struct rpc_auth *auth, struct auth_cred * acred,
523 nr = auth->au_ops->hash_cred(acred, cache->hashbits);
527 if (!entry->cr_ops->crmatch(acred, entry, flags))
538 new = auth->au_ops->crcreate(auth, acred, flags, gfp);
546 if (!entry->cr_ops->crmatch(acred, entry, flags))
580 struct auth_cred acred;
584 memset(&acred, 0, sizeof(acred));
585 acred.cred = cred;
586 ret = auth->au_ops->lookup_cred(auth, &acred, flags);
592 rpcauth_init_cred(struct rpc_cred *cred, const struct auth_cred *acred,
602 cred->cr_cred = get_cred(acred->cred);
610 struct auth_cred acred = {
617 ret = auth->au_ops->lookup_cred(auth, &acred, lookupflags);
618 put_cred(acred.cred);
626 struct auth_cred acred = {
631 if (!acred.principal)
635 return auth->au_ops->lookup_cred(auth, &acred, lookupflags);
653 struct auth_cred acred = {
663 new = auth->au_ops->lookup_cred(auth, &acred, lookupflags);