Home
last modified time | relevance | path

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

/Linux-v4.19/security/keys/
Dkeyctl.c126 ret = key_ref_to_ptr(key_ref)->serial; in SYSCALL_DEFINE5()
214 callout_len, NULL, key_ref_to_ptr(dest_ref), in SYSCALL_DEFINE4()
262 ret = key_ref_to_ptr(key_ref)->serial; in keyctl_get_keyring_ID()
388 key = key_ref_to_ptr(key_ref); in keyctl_revoke_key()
429 &key_ref_to_ptr(key_ref)->flags)) in keyctl_invalidate_key()
438 key = key_ref_to_ptr(key_ref); in keyctl_invalidate_key()
474 &key_ref_to_ptr(keyring_ref)->flags)) in keyctl_keyring_clear()
483 keyring = key_ref_to_ptr(keyring_ref); in keyctl_keyring_clear()
522 ret = key_link(key_ref_to_ptr(keyring_ref), key_ref_to_ptr(key_ref)); in keyctl_keyring_link()
560 keyring = key_ref_to_ptr(keyring_ref); in keyctl_keyring_unlink()
[all …]
Dpersistent.c115 persistent = key_ref_to_ptr(persistent_ref); in key_get_persistent()
116 ret = key_link(key_ref_to_ptr(dest_ref), persistent); in key_get_persistent()
159 if (key_ref_to_ptr(dest_ref)->type != &key_type_keyring) { in keyctl_get_persistent()
Dpermission.c37 key = key_ref_to_ptr(key_ref); in key_task_permission()
Dkeyring.c827 key = key_ref_to_ptr(ctx->result); in search_nested_keyrings()
881 keyring = key_ref_to_ptr(keyring_ref); in keyring_search_aux()
896 __key_get(key_ref_to_ptr(ctx->result)); in keyring_search_aux()
992 keyring = key_ref_to_ptr(keyring_ref); in keyring_restrict()
1065 keyring = key_ref_to_ptr(keyring_ref); in find_key_to_update()
Dkey.c743 struct key *key = key_ref_to_ptr(key_ref); in __key_update()
832 keyring = key_ref_to_ptr(keyring_ref); in key_create_or_update()
942 key = key_ref_to_ptr(key_ref); in key_create_or_update()
973 struct key *key = key_ref_to_ptr(key_ref); in key_update()
Drequest_key_auth.c260 authkey = key_ref_to_ptr(authkey_ref); in key_get_instantiation_authkey()
Drequest_key.c419 key = key_ref_to_ptr(key_ref); in construct_alloc_key()
575 key = key_ref_to_ptr(key_ref); in request_key_and_link()
Ddh.c34 key = key_ref_to_ptr(key_ref); in dh_data_from_key()
/Linux-v4.19/include/linux/
Dkey.h121 static inline struct key *key_ref_to_ptr(const key_ref_t key_ref) in key_ref_to_ptr() function
270 key_put(key_ref_to_ptr(key_ref)); in key_ref_put()
416 #define key_ref_to_ptr(k) NULL macro
/Linux-v4.19/security/integrity/
Ddigsig_asymmetric.c58 key = key_ref_to_ptr(kref); in request_asymmetric_key()
Ddigsig.c144 key_ref_to_ptr(key)->description, path); in integrity_load_x509()
/Linux-v4.19/net/rxrpc/
Dsecurity.c158 key = key_ref_to_ptr(kref); in rxrpc_init_server_conn_security()
/Linux-v4.19/certs/
Dsystem_keyring.c177 key_ref_to_ptr(key)->description); in load_system_certificate_list()
/Linux-v4.19/lib/
Ddigsig.c228 key = key_ref_to_ptr(kref); in digsig_verify()
/Linux-v4.19/crypto/asymmetric_keys/
Dasymmetric_type.c106 key = key_ref_to_ptr(ref); in find_asymmetric_key()
/Linux-v4.19/net/wireless/
Dreg.c747 key_ref_to_ptr(key)->description); in load_keys_from_buffer()
/Linux-v4.19/security/smack/
Dsmack_lsm.c4329 keyp = key_ref_to_ptr(key_ref); in smack_key_permission()
/Linux-v4.19/Documentation/security/keys/
Dcore.rst933 struct key *key_ref_to_ptr(const key_ref_t key_ref);
/Linux-v4.19/security/selinux/
Dhooks.c6668 key = key_ref_to_ptr(key_ref); in selinux_key_permission()