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