Lines Matching refs:acred
1300 gss_lookup_cred(struct rpc_auth *auth, struct auth_cred *acred, int flags) in gss_lookup_cred() argument
1302 return rpcauth_lookup_credcache(auth, acred, flags); in gss_lookup_cred()
1306 gss_create_cred(struct rpc_auth *auth, struct auth_cred *acred, int flags) in gss_create_cred() argument
1313 __func__, from_kuid(&init_user_ns, acred->uid), in gss_create_cred()
1319 rpcauth_init_cred(&cred->gc_base, acred, auth, &gss_credops); in gss_create_cred()
1327 if (acred->machine_cred) in gss_create_cred()
1328 cred->gc_principal = acred->principal; in gss_create_cred()
1428 gss_match(struct auth_cred *acred, struct rpc_cred *rc, int flags) in gss_match() argument
1447 if (acred->principal != NULL) { in gss_match()
1450 ret = strcmp(acred->principal, gss_cred->gc_principal) == 0; in gss_match()
1455 ret = uid_eq(rc->cr_uid, acred->uid); in gss_match()
1462 if (test_bit(RPC_CRED_NOTIFY_TIMEOUT, &acred->ac_flags) && in gss_match()
1465 test_and_clear_bit(RPC_CRED_NOTIFY_TIMEOUT, &acred->ac_flags); in gss_match()
1467 set_bit(RPC_CRED_KEY_EXPIRE_SOON, &acred->ac_flags); in gss_match()
1539 struct auth_cred acred = { in gss_renew_cred() local
1546 new = gss_lookup_cred(auth, &acred, RPCAUTH_LOOKUP_NEW); in gss_renew_cred()