Home
last modified time | relevance | path

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

/linux-6.3-rc2/security/keys/
A Dkeyctl.c397 key = key_ref_to_ptr(key_ref); in keyctl_revoke_key()
447 key = key_ref_to_ptr(key_ref); in keyctl_invalidate_key()
532 ret = key_link(key_ref_to_ptr(keyring_ref), key_ref_to_ptr(key_ref)); in keyctl_keyring_link()
571 key = key_ref_to_ptr(key_ref); in keyctl_keyring_unlink()
620 ret = key_move(key_ref_to_ptr(key_ref), key_ref_to_ptr(from_ref), in keyctl_keyring_move()
675 key = key_ref_to_ptr(key_ref); in keyctl_describe_key()
779 ret = key_link(key_ref_to_ptr(dest_ref), key_ref_to_ptr(key_ref)); in keyctl_keyring_search()
840 key = key_ref_to_ptr(key_ref); in keyctl_read_key()
977 key = key_ref_to_ptr(key_ref); in keyctl_chown_key()
1084 key = key_ref_to_ptr(key_ref); in keyctl_setperm_key()
[all …]
A 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()
A Dpermission.c51 key = key_ref_to_ptr(key_ref); in key_task_permission()
A 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()
A Dkey.c757 struct key *key = key_ref_to_ptr(key_ref); in __key_update()
828 keyring = key_ref_to_ptr(keyring_ref); in __key_create_or_update()
958 key = key_ref_to_ptr(key_ref); in __key_create_or_update()
1069 struct key *key = key_ref_to_ptr(key_ref); in key_update()
A 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()
A 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()
A Drequest_key_auth.c275 authkey = key_ref_to_ptr(authkey_ref); in key_get_instantiation_authkey()
A Dkeyctl_pkey.c101 params->key = key_ref_to_ptr(key_ref); in keyctl_pkey_params_get()
A Ddh.c31 key = key_ref_to_ptr(key_ref); in dh_data_from_key()
/linux-6.3-rc2/include/linux/
A Dkey.h161 static inline struct key *key_ref_to_ptr(const key_ref_t key_ref) in key_ref_to_ptr() function
319 key_put(key_ref_to_ptr(key_ref)); in key_ref_put()
514 #define key_ref_to_ptr(k) NULL macro
/linux-6.3-rc2/crypto/asymmetric_keys/
A Dx509_loader.c46 key_ref_to_ptr(key)->description); in x509_load_certificate_list()
A Dasymmetric_type.c116 key = key_ref_to_ptr(ref); in find_asymmetric_key()
/linux-6.3-rc2/security/integrity/
A Ddigsig_asymmetric.c52 key = key_ref_to_ptr(kref); in request_asymmetric_key()
A Ddigsig.c181 key_ref_to_ptr(key)->description); in integrity_add_key()
/linux-6.3-rc2/net/rxrpc/
A Dsecurity.c195 key = key_ref_to_ptr(kref); in rxrpc_look_up_server_security()
A Drxperf.c557 ret = key_link(keyring, key_ref_to_ptr(kref)); in rxperf_add_key()
/linux-6.3-rc2/lib/
A Ddigsig.c225 key = key_ref_to_ptr(kref); in digsig_verify()
/linux-6.3-rc2/fs/crypto/
A Dkeyring.c360 return key_ref_to_ptr(keyref); in find_master_key_user()
637 key = key_ref_to_ptr(ref); in get_keyring_key()
/linux-6.3-rc2/drivers/nvdimm/
A Dsecurity.c102 key = key_ref_to_ptr(keyref); in nvdimm_lookup_user_key()
/linux-6.3-rc2/crypto/
A Daf_alg.c283 return key_ref_to_ptr(key_ref); in lookup_key()
/linux-6.3-rc2/kernel/trace/
A Dbpf_trace.c1256 key_put(key_ref_to_ptr(key_ref)); in bpf_lookup_user_key()
1260 bkey->key = key_ref_to_ptr(key_ref); in bpf_lookup_user_key()
/linux-6.3-rc2/security/smack/
A Dsmack_lsm.c4382 keyp = key_ref_to_ptr(key_ref); in smack_key_permission()
/linux-6.3-rc2/security/selinux/
A Dhooks.c6674 key = key_ref_to_ptr(key_ref); in selinux_key_permission()
/linux-6.3-rc2/Documentation/security/keys/
A Dcore.rst1130 struct key *key_ref_to_ptr(const key_ref_t key_ref);

Completed in 85 milliseconds