Home
last modified time | relevance | path

Searched refs:key_put (Results 1 - 25 of 111) sorted by relevance

12345

/kernel/linux/linux-5.10/security/keys/
H A Drequest_key.c43 key_put(t->cached_requested_key); in cache_requested_key()
93 key_put(keyring); in umh_keys_cleanup()
211 key_put(keyring); in call_sbin_request_key()
214 key_put(user_session); in call_sbin_request_key()
254 key_put(authkey); in construct_key()
351 key_put(dest_keyring); in construct_get_dest_keyring()
445 key_put(key); in construct_alloc_key()
466 key_put(key); in construct_alloc_key()
476 key_put(key); in construct_alloc_key()
531 key_put(dest_keyrin in construct_key_and_link()
[all...]
H A Dprocess_keys.c163 key_put(session_keyring); in look_up_user_keyrings()
167 key_put(uid_keyring); in look_up_user_keyrings()
172 key_put(session_keyring); in look_up_user_keyrings()
174 key_put(uid_keyring); in look_up_user_keyrings()
344 key_put(old); in install_session_keyring_to_cred()
503 key_put(user_session); in search_cred_keyrings_rcu()
678 key_put(user_session); in lookup_user_key()
767 key_put(key); in lookup_user_key()
893 key_put(keyring); in join_session_keyring()
898 key_put(keyrin in join_session_keyring()
[all...]
H A Drequest_key_auth.c110 key_put(rka->target_key); in free_request_key_auth()
111 key_put(rka->dest_keyring); in free_request_key_auth()
234 key_put(authkey); in request_key_auth_new()
277 key_put(authkey); in key_get_instantiation_authkey()
H A Dkeyctl.c238 key_put(key); in SYSCALL_DEFINE4()
661 key_put(instkey); in keyctl_describe_key()
929 key_put(key); in keyctl_read_key()
1052 key_put(key); in keyctl_chown_key()
1103 key_put(key); in keyctl_setperm_key()
1157 key_put(new->request_key_auth); in keyctl_change_reqkey_auth()
1227 key_put(dest_keyring); in keyctl_instantiate_key_common()
1375 key_put(dest_keyring); in keyctl_reject_key()
1471 key_put(instkey); in keyctl_set_timeout()
1493 key_put(ke in keyctl_set_timeout()
[all...]
H A Dkeyring.c63 key_put(ns->user_keyring_register); in key_free_user_ns()
65 key_put(ns->persistent_keyring_register); in key_free_user_ns()
389 key_put(keyring_ptr_to_key(object)); in keyring_free_object()
407 * The garbage collector detects the final key_put(), removes the keyring from
427 key_put(keyres->key); in keyring_destroy()
531 key_put(keyring); in keyring_alloc()
1072 key_put(restrict_link->key); in keyring_restrict()
1787 key_put(keyres->key); in keyring_restriction_gc()
/kernel/linux/linux-6.6/security/keys/
H A Drequest_key.c43 key_put(t->cached_requested_key); in cache_requested_key()
93 key_put(keyring); in umh_keys_cleanup()
211 key_put(keyring); in call_sbin_request_key()
214 key_put(user_session); in call_sbin_request_key()
254 key_put(authkey); in construct_key()
351 key_put(dest_keyring); in construct_get_dest_keyring()
445 key_put(key); in construct_alloc_key()
466 key_put(key); in construct_alloc_key()
476 key_put(key); in construct_alloc_key()
531 key_put(dest_keyrin in construct_key_and_link()
[all...]
H A Dprocess_keys.c163 key_put(session_keyring); in look_up_user_keyrings()
167 key_put(uid_keyring); in look_up_user_keyrings()
172 key_put(session_keyring); in look_up_user_keyrings()
174 key_put(uid_keyring); in look_up_user_keyrings()
344 key_put(old); in install_session_keyring_to_cred()
503 key_put(user_session); in search_cred_keyrings_rcu()
678 key_put(user_session); in lookup_user_key()
767 key_put(key); in lookup_user_key()
894 key_put(keyring); in join_session_keyring()
899 key_put(keyrin in join_session_keyring()
[all...]
H A Drequest_key_auth.c110 key_put(rka->target_key); in free_request_key_auth()
111 key_put(rka->dest_keyring); in free_request_key_auth()
234 key_put(authkey); in request_key_auth_new()
277 key_put(authkey); in key_get_instantiation_authkey()
H A Dkeyctl.c238 key_put(key); in SYSCALL_DEFINE4()
661 key_put(instkey); in keyctl_describe_key()
929 key_put(key); in keyctl_read_key()
1052 key_put(key); in keyctl_chown_key()
1103 key_put(key); in keyctl_setperm_key()
1157 key_put(new->request_key_auth); in keyctl_change_reqkey_auth()
1227 key_put(dest_keyring); in keyctl_instantiate_key_common()
1375 key_put(dest_keyring); in keyctl_reject_key()
1471 key_put(instkey); in keyctl_set_timeout()
1493 key_put(ke in keyctl_set_timeout()
[all...]
/kernel/linux/linux-6.6/kernel/
H A Dcred.c80 key_put(cred->session_keyring); in put_cred_rcu()
81 key_put(cred->process_keyring); in put_cred_rcu()
82 key_put(cred->thread_keyring); in put_cred_rcu()
83 key_put(cred->request_key_auth); in put_cred_rcu()
134 key_put(tsk->cached_requested_key); in exit_creds()
263 key_put(new->thread_keyring); in prepare_exec_creds()
267 key_put(new->process_keyring); in prepare_exec_creds()
326 key_put(new->thread_keyring); in copy_creds()
336 key_put(new->process_keyring); in copy_creds()
/kernel/linux/linux-5.10/kernel/
H A Dcred.c116 key_put(cred->session_keyring); in put_cred_rcu()
117 key_put(cred->process_keyring); in put_cred_rcu()
118 key_put(cred->thread_keyring); in put_cred_rcu()
119 key_put(cred->request_key_auth); in put_cred_rcu()
179 key_put(tsk->cached_requested_key); in exit_creds()
311 key_put(new->thread_keyring); in prepare_exec_creds()
315 key_put(new->process_keyring); in prepare_exec_creds()
373 key_put(new->thread_keyring); in copy_creds()
383 key_put(new->process_keyring); in copy_creds()
/kernel/linux/linux-5.10/crypto/asymmetric_keys/
H A Drestrict.c107 key_put(key); in restrict_link_by_signature()
208 key_put(key); in key_or_keyring_common()
/kernel/linux/linux-5.10/include/linux/
H A Dkey.h296 extern void key_put(struct key *key);
313 key_put(key_ref_to_ptr(key_ref)); in key_ref_put()
497 #define key_put(k) do { } while(0) macro
/kernel/linux/linux-6.6/include/linux/
H A Dkey.h302 extern void key_put(struct key *key);
319 key_put(key_ref_to_ptr(key_ref)); in key_ref_put()
508 #define key_put(k) do { } while(0) macro
H A Dresume_user_mode.h53 key_put(current->cached_requested_key); in resume_user_mode_work()
/kernel/linux/linux-6.6/fs/afs/
H A Dfile.c89 key_put(wbk->key); in afs_put_wb_key()
174 key_put(key); in afs_open()
208 key_put(af->key); in afs_release()
237 key_put(req->key); in afs_put_read()
391 key_put(rreq->netfs_priv); in afs_free_request()
/kernel/linux/linux-5.10/drivers/nvdimm/
H A Dsecurity.c42 key_put(key); in nvdimm_put_key()
72 key_put(key); in nvdimm_request_key()
104 key_put(key); in nvdimm_lookup_user_key()
114 key_put(key); in nvdimm_lookup_user_key()
/kernel/linux/linux-5.10/fs/crypto/
H A Dkeyring.c77 key_put(mk->mk_users); in fscrypt_put_master_key()
385 key_put(mk_user); in add_master_key_user()
404 key_put(mk_user); in remove_master_key_user()
473 key_put(mk_user); in add_existing_master_key()
806 key_put(mk_user); in fscrypt_verify_key_added()
1138 key_put(mk_user); in fscrypt_ioctl_get_key_status()
/kernel/linux/linux-6.6/fs/crypto/
H A Dkeyring.c77 key_put(mk->mk_users); in fscrypt_put_master_key()
386 key_put(mk_user); in add_master_key_user()
405 key_put(mk_user); in remove_master_key_user()
473 key_put(mk_user); in add_existing_master_key()
838 key_put(mk_user); in fscrypt_verify_key_added()
1170 key_put(mk_user); in fscrypt_ioctl_get_key_status()
/kernel/linux/linux-6.6/crypto/asymmetric_keys/
H A Drestrict.c107 key_put(key); in restrict_link_by_signature()
302 key_put(key); in key_or_keyring_common()
/kernel/linux/linux-5.10/fs/ecryptfs/
H A Dkeystore.c530 key_put(walker->global_auth_tok_key); in ecryptfs_find_global_auth_tok_for_sig()
847 key_put(auth_tok_key); in ecryptfs_write_tag_70_packet()
1089 key_put(auth_tok_key); in ecryptfs_parse_tag_70_packet()
1629 key_put(*auth_tok_key); in ecryptfs_keyring_auth_tok_for_sig()
1902 key_put(auth_tok_key); in ecryptfs_parse_packet_set()
1910 key_put(auth_tok_key); in ecryptfs_parse_packet_set()
1915 key_put(auth_tok_key); in ecryptfs_parse_packet_set()
1977 key_put(auth_tok_key); in pki_encrypt_session_key()
2041 key_put(auth_tok_key); in write_tag_1_packet()
2439 key_put(auth_tok_ke in ecryptfs_generate_key_packet_set()
[all...]
/kernel/linux/linux-6.6/fs/ecryptfs/
H A Dkeystore.c530 key_put(walker->global_auth_tok_key); in ecryptfs_find_global_auth_tok_for_sig()
848 key_put(auth_tok_key); in ecryptfs_write_tag_70_packet()
1090 key_put(auth_tok_key); in ecryptfs_parse_tag_70_packet()
1630 key_put(*auth_tok_key); in ecryptfs_keyring_auth_tok_for_sig()
1903 key_put(auth_tok_key); in ecryptfs_parse_packet_set()
1911 key_put(auth_tok_key); in ecryptfs_parse_packet_set()
1916 key_put(auth_tok_key); in ecryptfs_parse_packet_set()
1978 key_put(auth_tok_key); in pki_encrypt_session_key()
2042 key_put(auth_tok_key); in write_tag_1_packet()
2440 key_put(auth_tok_ke in ecryptfs_generate_key_packet_set()
[all...]
/kernel/linux/linux-6.6/arch/s390/kernel/
H A Dcert_store.c339 key_put(current_key); in invalidate_keyring_keys()
368 key_put(cs_keyring); in find_cs_keyring()
391 key_put(cs_keyring); in cleanup_cs_keys()
718 key_put(cs_keyring); in fill_cs_keyring()
/kernel/linux/linux-5.10/fs/afs/
H A Dfile.c73 key_put(wbk->key); in afs_put_wb_key()
156 key_put(key); in afs_open()
179 key_put(af->key); in afs_release()
407 key_put(key); in afs_readpage()
/kernel/linux/linux-6.6/drivers/nvdimm/
H A Dsecurity.c42 key_put(key); in nvdimm_put_key()
72 key_put(key); in nvdimm_request_key()
104 key_put(key); in nvdimm_lookup_user_key()
114 key_put(key); in nvdimm_lookup_user_key()

Completed in 31 milliseconds

12345