Lines Matching refs:acred
517 rpcauth_lookup_credcache(struct rpc_auth *auth, struct auth_cred * acred, in rpcauth_lookup_credcache() argument
526 nr = auth->au_ops->hash_cred(acred, cache->hashbits); in rpcauth_lookup_credcache()
530 if (!entry->cr_ops->crmatch(acred, entry, flags)) in rpcauth_lookup_credcache()
541 new = auth->au_ops->crcreate(auth, acred, flags, gfp); in rpcauth_lookup_credcache()
549 if (!entry->cr_ops->crmatch(acred, entry, flags)) in rpcauth_lookup_credcache()
583 struct auth_cred acred; in rpcauth_lookupcred() local
587 memset(&acred, 0, sizeof(acred)); in rpcauth_lookupcred()
588 acred.cred = cred; in rpcauth_lookupcred()
589 ret = auth->au_ops->lookup_cred(auth, &acred, flags); in rpcauth_lookupcred()
595 rpcauth_init_cred(struct rpc_cred *cred, const struct auth_cred *acred, in rpcauth_init_cred() argument
605 cred->cr_cred = get_cred(acred->cred); in rpcauth_init_cred()
613 struct auth_cred acred = { in rpcauth_bind_root_cred() local
620 ret = auth->au_ops->lookup_cred(auth, &acred, lookupflags); in rpcauth_bind_root_cred()
621 put_cred(acred.cred); in rpcauth_bind_root_cred()
629 struct auth_cred acred = { in rpcauth_bind_machine_cred() local
634 if (!acred.principal) in rpcauth_bind_machine_cred()
638 return auth->au_ops->lookup_cred(auth, &acred, lookupflags); in rpcauth_bind_machine_cred()
656 struct auth_cred acred = { in rpcauth_bindcred() local
666 new = auth->au_ops->lookup_cred(auth, &acred, lookupflags); in rpcauth_bindcred()