Home
last modified time | relevance | path

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

/linux-4.1.27/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()
465 key_put(dest_keyring); in construct_key_and_link()
471 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.c235 key_put(key); in SYSCALL_DEFINE4()
578 key_put(instkey); in keyctl_describe_key()
773 key_put(key); in keyctl_read_key()
890 key_put(key); in keyctl_chown_key()
940 key_put(key); in keyctl_setperm_key()
994 key_put(new->request_key_auth); in keyctl_change_reqkey_auth()
1069 key_put(dest_keyring); in keyctl_instantiate_key_common()
1217 key_put(dest_keyring); in keyctl_reject_key()
1314 key_put(instkey); in keyctl_set_timeout()
1330 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.1.27/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.1.27/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.c112 key_put(cred->session_keyring); in put_cred_rcu()
113 key_put(cred->process_keyring); in put_cred_rcu()
114 key_put(cred->thread_keyring); in put_cred_rcu()
115 key_put(cred->request_key_auth); in put_cred_rcu()
297 key_put(new->thread_keyring); in prepare_exec_creds()
301 key_put(new->process_keyring); in prepare_exec_creds()
352 key_put(new->thread_keyring); in copy_creds()
362 key_put(new->process_keyring); in copy_creds()
Dmodule_signing.c247 key_put(key); in mod_verify_sig()
Duser_namespace.c44 key_put(cred->request_key_auth); in set_cred_user_ns()
144 key_put(ns->persistent_keyring_register); in free_user_ns()
/linux-4.1.27/include/linux/
Dkey.h229 extern void key_put(struct key *key);
244 key_put(key_ref_to_ptr(key_ref)); in key_ref_put()
365 #define key_put(k) do { } while(0) macro
/linux-4.1.27/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.1.27/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.c263 key_put(auth_tok->global_auth_tok_key); in ecryptfs_destroy_mount_crypt_stat()
/linux-4.1.27/security/integrity/
Ddigsig_asymmetric.c102 key_put(key); in asymmetric_verify()
/linux-4.1.27/net/dns_resolver/
Ddns_query.c162 key_put(rkey); in dns_query()
Ddns_key.c303 key_put(keyring); in init_dns_resolver()
/linux-4.1.27/crypto/asymmetric_keys/
Dpkcs7_trust.c122 key_put(key); in pkcs7_validate_trust_one()
Dx509_public_key.c239 key_put(key); in x509_validate_trust()
/linux-4.1.27/fs/ext4/
Dcrypto_key.c154 key_put(keyring_key); in ext4_generate_encryption_key()
/linux-4.1.27/fs/cifs/
Dcifs_spnego.c233 key_put(keyring); in init_cifs_spnego()
Dcifsacl.c249 key_put(sidkey); in id_to_sid()
324 key_put(sidkey); in sid_to_id()
385 key_put(keyring); in init_cifs_idmap()
Dsess.c1110 key_put(spnego_key); in sess_auth_kerberos()
Dsmb2pdu.c784 key_put(spnego_key); in SMB2_sess_setup()
Dconnect.c2422 key_put(key); in cifs_set_cifscreds()
/linux-4.1.27/lib/
Ddigsig.c244 key_put(key); in digsig_verify()
/linux-4.1.27/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.1.27/security/integrity/evm/
Devm_crypto.c260 key_put(evm_key); in evm_init_key()
/linux-4.1.27/fs/nfs/
Dnfs4idmap.c227 key_put(keyring); in nfs_idmap_init_keyring()
333 key_put(rkey); in nfs_idmap_get_key()
/linux-4.1.27/fs/fscache/
Dobject-list.c353 key_put(key); in fscache_objlist_config()
/linux-4.1.27/net/ceph/
Dceph_common.c322 key_put(ukey); in get_secret()
/linux-4.1.27/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