Lines Matching refs:acred
517 rpcauth_lookup_credcache(struct rpc_auth *auth, struct auth_cred * acred,
526 nr = auth->au_ops->hash_cred(acred, cache->hashbits);
530 if (!entry->cr_ops->crmatch(acred, entry, flags))
541 new = auth->au_ops->crcreate(auth, acred, flags, gfp);
549 if (!entry->cr_ops->crmatch(acred, entry, flags))
583 struct auth_cred acred;
587 memset(&acred, 0, sizeof(acred));
588 acred.cred = cred;
589 ret = auth->au_ops->lookup_cred(auth, &acred, flags);
595 rpcauth_init_cred(struct rpc_cred *cred, const struct auth_cred *acred,
605 cred->cr_cred = get_cred(acred->cred);
613 struct auth_cred acred = {
618 ret = auth->au_ops->lookup_cred(auth, &acred, lookupflags);
619 put_cred(acred.cred);
627 struct auth_cred acred = {
632 if (!acred.principal)
634 return auth->au_ops->lookup_cred(auth, &acred, lookupflags);
652 struct auth_cred acred = {
662 new = auth->au_ops->lookup_cred(auth, &acred, lookupflags);