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