Lines Matching refs:acred
349 rpcauth_lookup_credcache(struct rpc_auth *auth, struct auth_cred * acred,
359 nr = hash_long(acred->uid, cache->hashbits);
363 if (!entry->cr_ops->crmatch(acred, entry, flags))
379 new = auth->au_ops->crcreate(auth, acred, flags);
387 if (!entry->cr_ops->crmatch(acred, entry, flags))
418 struct auth_cred acred;
425 memset(&acred, 0, sizeof(acred));
426 acred.uid = cred->fsuid;
427 acred.gid = cred->fsgid;
428 acred.group_info = get_group_info(((struct cred *)cred)->group_info);
430 ret = auth->au_ops->lookup_cred(auth, &acred, flags);
431 put_group_info(acred.group_info);
436 rpcauth_init_cred(struct rpc_cred *cred, const struct auth_cred *acred,
448 cred->cr_uid = acred->uid;
465 struct auth_cred acred = {
472 return auth->au_ops->lookup_cred(auth, &acred, lookupflags);