Home
last modified time | relevance | path

Searched refs:key_put (Results 1 – 42 of 42) sorted by relevance

/linux-4.4.14/security/keys/
Drequest_key.c43 key_put(cons->key); in complete_request_key()
44 key_put(cons->authkey); in complete_request_key()
69 key_put(keyring); in umh_keys_cleanup()
190 key_put(keyring); in call_sbin_request_key()
240 key_put(authkey); in construct_key()
393 key_put(key); in construct_alloc_key()
411 key_put(key); in construct_alloc_key()
417 key_put(key); in construct_alloc_key()
468 key_put(dest_keyring); in construct_key_and_link()
474 key_put(key); in construct_key_and_link()
[all …]
Drequest_key_auth.c137 key_put(rka->target_key); in request_key_auth_destroy()
138 key_put(rka->dest_keyring); in request_key_auth_destroy()
228 key_put(authkey); in request_key_auth_new()
230 key_put(rka->target_key); in request_key_auth_new()
231 key_put(rka->dest_keyring); in request_key_auth_new()
270 key_put(authkey); in key_get_instantiation_authkey()
Dkeyctl.c229 key_put(key); in SYSCALL_DEFINE4()
572 key_put(instkey); in keyctl_describe_key()
767 key_put(key); in keyctl_read_key()
884 key_put(key); in keyctl_chown_key()
934 key_put(key); in keyctl_setperm_key()
988 key_put(new->request_key_auth); in keyctl_change_reqkey_auth()
1063 key_put(dest_keyring); in keyctl_instantiate_key_common()
1211 key_put(dest_keyring); in keyctl_reject_key()
1308 key_put(instkey); in keyctl_set_timeout()
1324 key_put(key); in keyctl_set_timeout()
[all …]
Dprocess_keys.c118 key_put(session_keyring); in install_user_keyrings()
120 key_put(uid_keyring); in install_user_keyrings()
246 key_put(old); in install_session_keyring_to_cred()
683 key_put(key); in lookup_user_key()
797 key_put(keyring); in join_session_keyring()
811 key_put(keyring); in join_session_keyring()
Dkey.c600 void key_put(struct key *key) in key_put() function
609 EXPORT_SYMBOL(key_put);
743 key_put(key); in __key_update()
885 key_put(key); in key_create_or_update()
Dkeyring.c362 key_put(keyring_ptr_to_key(object)); in keyring_free_object()
504 key_put(keyring); in keyring_alloc()
/linux-4.4.14/fs/afs/
Ddir.c528 key_put(key); in afs_lookup()
537 key_put(key); in afs_lookup()
542 key_put(key); in afs_lookup()
555 key_put(key); in afs_lookup()
674 key_put(key); in afs_d_revalidate()
687 key_put(key); in afs_d_revalidate()
779 key_put(key); in afs_mkdir()
786 key_put(key); in afs_mkdir()
824 key_put(key); in afs_rmdir()
829 key_put(key); in afs_rmdir()
[all …]
Dsecurity.c60 key_put(permits->permits[loop].key); in afs_zap_permits()
352 key_put(key); in afs_permission()
360 key_put(key); in afs_permission()
Dcell.c136 key_put(cell->anonymous_key); in afs_cell_alloc()
200 key_put(cell->anonymous_key); in afs_cell_create()
415 key_put(cell->anonymous_key); in afs_cell_destroy()
Dfile.c99 key_put(file->private_data); in afs_release()
231 key_put(key); in afs_readpage()
Dflock.c132 key_put(vnode->unlock_key); in afs_lock_work()
151 key_put(key); in afs_lock_work()
222 key_put(key); in afs_lock_work()
Dsuper.c442 key_put(params.key); in afs_mount()
541 key_put(key); in afs_statfs()
Dinode.c493 key_put(key); in afs_setattr()
Dwrite.c60 key_put(wb->key); in afs_free_writeback()
/linux-4.4.14/kernel/
Duser.c135 key_put(up->uid_keyring); in free_user()
136 key_put(up->session_keyring); in free_user()
195 key_put(new->uid_keyring); in alloc_uid()
196 key_put(new->session_keyring); in alloc_uid()
Dcred.c117 key_put(cred->session_keyring); in put_cred_rcu()
118 key_put(cred->process_keyring); in put_cred_rcu()
119 key_put(cred->thread_keyring); in put_cred_rcu()
120 key_put(cred->request_key_auth); in put_cred_rcu()
302 key_put(new->thread_keyring); in prepare_exec_creds()
306 key_put(new->process_keyring); in prepare_exec_creds()
357 key_put(new->thread_keyring); in copy_creds()
367 key_put(new->process_keyring); in copy_creds()
Duser_namespace.c45 key_put(cred->request_key_auth); in set_cred_user_ns()
145 key_put(ns->persistent_keyring_register); in free_user_ns()
/linux-4.4.14/include/linux/
Dkey.h224 extern void key_put(struct key *key);
239 key_put(key_ref_to_ptr(key_ref)); in key_ref_put()
360 #define key_put(k) do { } while(0) macro
/linux-4.4.14/net/rxrpc/
Dar-security.c262 key_put(conn->key); in rxrpc_clear_conn_security()
263 key_put(conn->server_key); in rxrpc_clear_conn_security()
Dar-connection.c188 key_put(bundle->key); in rxrpc_put_bundle()
370 key_put(conn->key); in rxrpc_connect_exclusive()
547 key_put(candidate->key); in rxrpc_connect_call()
Daf_rxrpc.c726 key_put(rx->key); in rxrpc_release_sock()
728 key_put(rx->securities); in rxrpc_release_sock()
Dar-key.c1006 key_put(key); in rxrpc_get_server_data_key()
1034 key_put(key); in rxrpc_get_null_key()
/linux-4.4.14/fs/ecryptfs/
Dkeystore.c536 key_put(walker->global_auth_tok_key); in ecryptfs_find_global_auth_tok_for_sig()
872 key_put(auth_tok_key); in ecryptfs_write_tag_70_packet()
1109 key_put(auth_tok_key); in ecryptfs_parse_tag_70_packet()
1648 key_put(*auth_tok_key); in ecryptfs_keyring_auth_tok_for_sig()
1907 key_put(auth_tok_key); in ecryptfs_parse_packet_set()
1915 key_put(auth_tok_key); in ecryptfs_parse_packet_set()
1920 key_put(auth_tok_key); in ecryptfs_parse_packet_set()
1982 key_put(auth_tok_key); in pki_encrypt_session_key()
2046 key_put(auth_tok_key); in write_tag_1_packet()
2431 key_put(auth_tok_key); in ecryptfs_generate_key_packet_set()
[all …]
Dcrypto.c262 key_put(auth_tok->global_auth_tok_key); in ecryptfs_destroy_mount_crypt_stat()
/linux-4.4.14/security/integrity/
Ddigsig_asymmetric.c102 key_put(key); in asymmetric_verify()
/linux-4.4.14/net/dns_resolver/
Ddns_query.c161 key_put(rkey); in dns_query()
Ddns_key.c305 key_put(keyring); in init_dns_resolver()
/linux-4.4.14/crypto/asymmetric_keys/
Dx509_public_key.c149 key_put(key); in x509_request_asymmetric_key()
272 key_put(key); in x509_validate_trust()
Dpkcs7_trust.c126 key_put(key); in pkcs7_validate_trust_one()
/linux-4.4.14/lib/
Ddigsig.c245 key_put(key); in digsig_verify()
/linux-4.4.14/security/keys/encrypted-keys/
Dencrypted.c703 key_put(mkey); in encrypted_key_decrypt()
941 key_put(mkey); in encrypted_read()
950 key_put(mkey); in encrypted_read()
/linux-4.4.14/fs/f2fs/
Dcrypto_key.c95 key_put(ci->ci_keyring_key); in f2fs_free_crypt_info()
/linux-4.4.14/security/integrity/evm/
Devm_crypto.c260 key_put(evm_key); in evm_init_key()
/linux-4.4.14/fs/ext4/
Dcrypto_key.c92 key_put(ci->ci_keyring_key); in ext4_free_crypt_info()
/linux-4.4.14/fs/cifs/
Dcifsacl.c248 key_put(sidkey); in id_to_sid()
323 key_put(sidkey); in sid_to_id()
384 key_put(keyring); in init_cifs_idmap()
Dsess.c1110 key_put(spnego_key); in sess_auth_kerberos()
Dsmb2pdu.c843 key_put(spnego_key); in SMB2_sess_setup()
Dconnect.c2467 key_put(key); in cifs_set_cifscreds()
/linux-4.4.14/fs/nfs/
Dnfs4idmap.c227 key_put(keyring); in nfs_idmap_init()
333 key_put(rkey); in nfs_idmap_get_key()
/linux-4.4.14/fs/fscache/
Dobject-list.c353 key_put(key); in fscache_objlist_config()
/linux-4.4.14/net/ceph/
Dceph_common.c332 key_put(ukey); in get_secret()
/linux-4.4.14/Documentation/security/
Dkeys.txt951 void key_put(struct key *key);
967 Keys so references will need to be disposed of by calling key_put() when