Searched refs:rka (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/security/keys/ |
D | request_key_auth.c | 67 struct request_key_auth *rka = dereference_key_rcu(key); in request_key_auth_describe() local 69 if (!rka) in request_key_auth_describe() 75 seq_printf(m, " pid:%d ci:%zu", rka->pid, rka->callout_len); in request_key_auth_describe() 85 struct request_key_auth *rka = dereference_key_locked(key); in request_key_auth_read() local 89 if (!rka) in request_key_auth_read() 92 datalen = rka->callout_len; in request_key_auth_read() 100 memcpy(buffer, rka->callout_info, buflen); in request_key_auth_read() 106 static void free_request_key_auth(struct request_key_auth *rka) in free_request_key_auth() argument 108 if (!rka) in free_request_key_auth() 110 key_put(rka->target_key); in free_request_key_auth() [all …]
|
D | request_key.c | 61 struct request_key_auth *rka = get_request_key_auth(authkey); in complete_request_key() local 62 struct key *key = rka->target_key; in complete_request_key() 121 struct request_key_auth *rka = get_request_key_auth(authkey); in call_sbin_request_key() local 124 struct key *key = rka->target_key, *keyring, *session, *user_session; in call_sbin_request_key() 130 kenter("{%d},{%d},%s", key->serial, authkey->serial, rka->op); in call_sbin_request_key() 186 argv[i++] = (char *)rka->op; in call_sbin_request_key() 267 struct request_key_auth *rka; in construct_get_dest_keyring() local 289 rka = get_request_key_auth(authkey); in construct_get_dest_keyring() 293 key_get(rka->dest_keyring); in construct_get_dest_keyring()
|
D | keyctl.c | 1113 struct request_key_auth *rka, in get_instantiation_keyring() argument 1139 *_dest_keyring = key_get(rka->dest_keyring); in get_instantiation_keyring() 1177 struct request_key_auth *rka; in keyctl_instantiate_key_common() local 1199 rka = instkey->payload.data[0]; in keyctl_instantiate_key_common() 1200 if (rka->target_key->serial != id) in keyctl_instantiate_key_common() 1219 ret = get_instantiation_keyring(ringid, rka, &dest_keyring); in keyctl_instantiate_key_common() 1224 ret = key_instantiate_and_link(rka->target_key, payload, plen, in keyctl_instantiate_key_common() 1339 struct request_key_auth *rka; in keyctl_reject_key() local 1361 rka = instkey->payload.data[0]; in keyctl_reject_key() 1362 if (rka->target_key->serial != id) in keyctl_reject_key() [all …]
|
D | process_keys.c | 541 struct request_key_auth *rka; in search_process_keyrings_rcu() local 560 rka = ctx->cred->request_key_auth->payload.data[0]; in search_process_keyrings_rcu() 563 ctx->cred = rka->cred; in search_process_keyrings_rcu() 620 struct request_key_auth *rka; in lookup_user_key() local 734 rka = ctx.cred->request_key_auth->payload.data[0]; in lookup_user_key() 735 key = rka->dest_keyring; in lookup_user_key()
|
/linux-6.6.21/fs/nfs/ |
D | nfs4idmap.c | 583 struct request_key_auth *rka = get_request_key_auth(authkey); in nfs_idmap_legacy_upcall() local 587 struct key *key = rka->target_key; in nfs_idmap_legacy_upcall() 667 struct request_key_auth *rka; in idmap_pipe_downcall() local 685 rka = get_request_key_auth(authkey); in idmap_pipe_downcall() 709 rka->target_key, authkey); in idmap_pipe_downcall() 711 key_set_timeout(rka->target_key, nfs_idmap_cache_timeout); in idmap_pipe_downcall()
|