Lines Matching refs:acred
1257 struct auth_cred acred = {
1263 rpcauth_init_cred(&new->gc_base, &acred,
1367 gss_hash_cred(struct auth_cred *acred, unsigned int hashbits)
1369 return hash_64(from_kuid(&init_user_ns, acred->cred->fsuid), hashbits);
1376 struct auth_cred *acred, int flags)
1378 return rpcauth_lookup_credcache(auth, acred, flags,
1383 gss_create_cred(struct rpc_auth *auth, struct auth_cred *acred, int flags, gfp_t gfp)
1392 rpcauth_init_cred(&cred->gc_base, acred, auth, &gss_credops);
1399 cred->gc_principal = acred->principal;
1497 gss_match(struct auth_cred *acred, struct rpc_cred *rc, int flags)
1516 if (acred->principal != NULL) {
1519 ret = strcmp(acred->principal, gss_cred->gc_principal) == 0;
1523 ret = uid_eq(rc->cr_cred->fsuid, acred->cred->fsuid);
1616 struct auth_cred acred = {
1622 new = gss_lookup_cred(auth, &acred, RPCAUTH_LOOKUP_NEW);