Home
last modified time | relevance | path

Searched refs:key_ref_to_ptr (Results 1 – 23 of 23) sorted by relevance

/Linux-v5.4/security/keys/
Dkeyctl.c136 ret = key_ref_to_ptr(key_ref)->serial; in SYSCALL_DEFINE5()
224 callout_len, NULL, key_ref_to_ptr(dest_ref), in SYSCALL_DEFINE4()
272 ret = key_ref_to_ptr(key_ref)->serial; in keyctl_get_keyring_ID()
398 key = key_ref_to_ptr(key_ref); in keyctl_revoke_key()
439 &key_ref_to_ptr(key_ref)->flags)) in keyctl_invalidate_key()
448 key = key_ref_to_ptr(key_ref); in keyctl_invalidate_key()
484 &key_ref_to_ptr(keyring_ref)->flags)) in keyctl_keyring_clear()
493 keyring = key_ref_to_ptr(keyring_ref); in keyctl_keyring_clear()
532 ret = key_link(key_ref_to_ptr(keyring_ref), key_ref_to_ptr(key_ref)); in keyctl_keyring_link()
570 keyring = key_ref_to_ptr(keyring_ref); in keyctl_keyring_unlink()
[all …]
Dpersistent.c113 persistent = key_ref_to_ptr(persistent_ref); in key_get_persistent()
114 ret = key_link(key_ref_to_ptr(dest_ref), persistent); in key_get_persistent()
157 if (key_ref_to_ptr(dest_ref)->type != &key_type_keyring) { in keyctl_get_persistent()
Dpermission.c33 key = key_ref_to_ptr(key_ref); in key_task_permission()
Drequest_key.c436 key = key_ref_to_ptr(key_ref); in construct_alloc_key()
616 key = key_ref_to_ptr(key_ref); in request_key_and_link()
798 key = key_ref_to_ptr(key_ref); in request_key_rcu()
Dkey.c751 struct key *key = key_ref_to_ptr(key_ref); in __key_update()
840 keyring = key_ref_to_ptr(keyring_ref); in key_create_or_update()
957 key = key_ref_to_ptr(key_ref); in key_create_or_update()
988 struct key *key = key_ref_to_ptr(key_ref); in key_update()
Dkeyring.c857 key = key_ref_to_ptr(ctx->result); in search_nested_keyrings()
913 keyring = key_ref_to_ptr(keyring_ref); in keyring_search_rcu()
927 __key_get(key_ref_to_ptr(ctx->result)); in keyring_search_rcu()
1033 keyring = key_ref_to_ptr(keyring_ref); in keyring_restrict()
1106 keyring = key_ref_to_ptr(keyring_ref); in find_key_to_update()
Dprocess_keys.c119 uid_keyring = key_ref_to_ptr(uid_keyring_r); in look_up_user_keyrings()
155 session_keyring = key_ref_to_ptr(session_keyring_r); in look_up_user_keyrings()
212 return key_ref_to_ptr(session_keyring_r); in get_user_session_keyring_rcu()
Dkeyctl_pkey.c101 params->key = key_ref_to_ptr(key_ref); in keyctl_pkey_params_get()
Drequest_key_auth.c276 authkey = key_ref_to_ptr(authkey_ref); in key_get_instantiation_authkey()
Ddh.c30 key = key_ref_to_ptr(key_ref); in dh_data_from_key()
/Linux-v5.4/include/linux/
Dkey.h138 static inline struct key *key_ref_to_ptr(const key_ref_t key_ref) in key_ref_to_ptr() function
292 key_put(key_ref_to_ptr(key_ref)); in key_ref_put()
490 #define key_ref_to_ptr(k) NULL macro
/Linux-v5.4/security/integrity/
Ddigsig_asymmetric.c54 key = key_ref_to_ptr(kref); in request_asymmetric_key()
Ddigsig.c164 key_ref_to_ptr(key)->description); in integrity_add_key()
/Linux-v5.4/net/rxrpc/
Dsecurity.c154 key = key_ref_to_ptr(kref); in rxrpc_init_server_conn_security()
/Linux-v5.4/certs/
Dsystem_keyring.c176 key_ref_to_ptr(key)->description); in load_system_certificate_list()
/Linux-v5.4/lib/
Ddigsig.c225 key = key_ref_to_ptr(kref); in digsig_verify()
/Linux-v5.4/crypto/asymmetric_keys/
Dasymmetric_type.c103 key = key_ref_to_ptr(ref); in find_asymmetric_key()
/Linux-v5.4/drivers/nvdimm/
Dsecurity.c102 key = key_ref_to_ptr(keyref); in nvdimm_lookup_user_key()
/Linux-v5.4/fs/crypto/
Dkeyring.c148 return key_ref_to_ptr(keyref); in search_fscrypt_keyring()
/Linux-v5.4/net/wireless/
Dreg.c754 key_ref_to_ptr(key)->description); in load_keys_from_buffer()
/Linux-v5.4/security/smack/
Dsmack_lsm.c4262 keyp = key_ref_to_ptr(key_ref); in smack_key_permission()
/Linux-v5.4/security/selinux/
Dhooks.c6561 key = key_ref_to_ptr(key_ref); in selinux_key_permission()
/Linux-v5.4/Documentation/security/keys/
Dcore.rst1069 struct key *key_ref_to_ptr(const key_ref_t key_ref);