Home
last modified time | relevance | path

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

/Linux-v5.15/security/keys/
Dkeyctl.c138 ret = key_ref_to_ptr(key_ref)->serial; in SYSCALL_DEFINE5()
223 callout_len, NULL, key_ref_to_ptr(dest_ref), in SYSCALL_DEFINE4()
271 ret = key_ref_to_ptr(key_ref)->serial; in keyctl_get_keyring_ID()
397 key = key_ref_to_ptr(key_ref); in keyctl_revoke_key()
438 &key_ref_to_ptr(key_ref)->flags)) in keyctl_invalidate_key()
447 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.c51 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.c757 struct key *key = key_ref_to_ptr(key_ref); in __key_update()
848 keyring = key_ref_to_ptr(keyring_ref); in key_create_or_update()
969 key = key_ref_to_ptr(key_ref); in key_create_or_update()
1006 struct key *key = key_ref_to_ptr(key_ref); in key_update()
Dkeyring.c853 key = key_ref_to_ptr(ctx->result); in search_nested_keyrings()
909 keyring = key_ref_to_ptr(keyring_ref); in keyring_search_rcu()
923 __key_get(key_ref_to_ptr(ctx->result)); in keyring_search_rcu()
1029 keyring = key_ref_to_ptr(keyring_ref); in keyring_restrict()
1104 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.c275 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.15/include/linux/
Dkey.h155 static inline struct key *key_ref_to_ptr(const key_ref_t key_ref) in key_ref_to_ptr() function
313 key_put(key_ref_to_ptr(key_ref)); in key_ref_put()
500 #define key_ref_to_ptr(k) NULL macro
/Linux-v5.15/certs/
Dcommon.c46 key_ref_to_ptr(key)->description); in load_certificate_list()
/Linux-v5.15/security/integrity/
Ddigsig_asymmetric.c52 key = key_ref_to_ptr(kref); in request_asymmetric_key()
Ddigsig.c165 key_ref_to_ptr(key)->description); in integrity_add_key()
/Linux-v5.15/net/rxrpc/
Dsecurity.c178 key = key_ref_to_ptr(kref); in rxrpc_look_up_server_security()
/Linux-v5.15/lib/
Ddigsig.c225 key = key_ref_to_ptr(kref); in digsig_verify()
/Linux-v5.15/fs/crypto/
Dkeyring.c152 return key_ref_to_ptr(keyref); in search_fscrypt_keyring()
585 key = key_ref_to_ptr(ref); in get_keyring_key()
/Linux-v5.15/crypto/asymmetric_keys/
Dasymmetric_type.c103 key = key_ref_to_ptr(ref); in find_asymmetric_key()
/Linux-v5.15/drivers/nvdimm/
Dsecurity.c102 key = key_ref_to_ptr(keyref); in nvdimm_lookup_user_key()
/Linux-v5.15/net/wireless/
Dreg.c773 key_ref_to_ptr(key)->description); in load_keys_from_buffer()
/Linux-v5.15/security/smack/
Dsmack_lsm.c4298 keyp = key_ref_to_ptr(key_ref); in smack_key_permission()
/Linux-v5.15/Documentation/security/keys/
Dcore.rst1130 struct key *key_ref_to_ptr(const key_ref_t key_ref);
/Linux-v5.15/security/selinux/
Dhooks.c6776 key = key_ref_to_ptr(key_ref); in selinux_key_permission()