Searched refs:key_ref_to_ptr (Results  1 – 18 of 18) sorted by relevance
| /linux-4.1.27/security/keys/ | 
| D | keyctl.c | 132 		ret = key_ref_to_ptr(key_ref)->serial;  in SYSCALL_DEFINE5() 220 				   callout_len, NULL, key_ref_to_ptr(dest_ref),  in SYSCALL_DEFINE4() 268 	ret = key_ref_to_ptr(key_ref)->serial;  in keyctl_get_keyring_ID() 386 	key_revoke(key_ref_to_ptr(key_ref));  in keyctl_revoke_key() 420 				     &key_ref_to_ptr(key_ref)->flags))  in keyctl_invalidate_key() 429 	key_invalidate(key_ref_to_ptr(key_ref));  in keyctl_invalidate_key() 460 				     &key_ref_to_ptr(keyring_ref)->flags))  in keyctl_keyring_clear() 469 	ret = keyring_clear(key_ref_to_ptr(keyring_ref));  in keyctl_keyring_clear() 504 	ret = key_link(key_ref_to_ptr(keyring_ref), key_ref_to_ptr(key_ref));  in keyctl_keyring_link() 539 	ret = key_unlink(key_ref_to_ptr(keyring_ref), key_ref_to_ptr(key_ref));  in keyctl_keyring_unlink() [all …] 
 | 
| D | persistent.c | 113 		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()
  | 
| D | permission.c | 37 	key = key_ref_to_ptr(key_ref);  in key_task_permission()
  | 
| D | keyring.c | 806 	key = key_ref_to_ptr(ctx->result);  in search_nested_keyrings() 860 	keyring = key_ref_to_ptr(keyring_ref);  in keyring_search_aux() 875 		__key_get(key_ref_to_ptr(ctx->result));  in keyring_search_aux() 939 	keyring = key_ref_to_ptr(keyring_ref);  in find_key_to_update()
  | 
| D | key.c | 716 	struct key *key = key_ref_to_ptr(key_ref);  in __key_update() 804 	keyring = key_ref_to_ptr(keyring_ref);  in key_create_or_update() 929 	struct key *key = key_ref_to_ptr(key_ref);  in key_update()
  | 
| D | request_key.c | 395 	key = key_ref_to_ptr(key_ref);  in construct_alloc_key() 543 		key = key_ref_to_ptr(key_ref);  in request_key_and_link()
  | 
| D | request_key_auth.c | 268 	authkey = key_ref_to_ptr(authkey_ref);  in key_get_instantiation_authkey()
  | 
| /linux-4.1.27/kernel/ | 
| D | system_keyring.c | 92 			set_bit(KEY_FLAG_BUILTIN, &key_ref_to_ptr(key)->flags);  in load_system_certificate_list() 94 				  key_ref_to_ptr(key)->description);  in load_system_certificate_list()
  | 
| D | module_signing.c | 180 	pr_devel("<==%s() = 0 [%x]\n", __func__, key_serial(key_ref_to_ptr(key)));  in request_asymmetric_key() 181 	return key_ref_to_ptr(key);  in request_asymmetric_key()
  | 
| /linux-4.1.27/include/linux/ | 
| D | key.h | 114 static inline struct key *key_ref_to_ptr(const key_ref_t key_ref)  in key_ref_to_ptr()  function 244 	key_put(key_ref_to_ptr(key_ref));  in key_ref_put() 368 #define key_ref_to_ptr(k)		NULL  macro
  | 
| /linux-4.1.27/security/integrity/ | 
| D | digsig_asymmetric.c | 43 			key = key_ref_to_ptr(kref);  in request_asymmetric_key()
  | 
| D | digsig.c | 115 			  key_ref_to_ptr(key)->description, path);  in integrity_load_x509()
  | 
| /linux-4.1.27/crypto/asymmetric_keys/ | 
| D | x509_public_key.c | 119 		 key_serial(key_ref_to_ptr(key)));  in x509_request_asymmetric_key() 120 	return key_ref_to_ptr(key);  in x509_request_asymmetric_key()
  | 
| /linux-4.1.27/net/rxrpc/ | 
| D | ar-security.c | 213 	key = key_ref_to_ptr(kref);  in rxrpc_init_server_conn_security()
  | 
| /linux-4.1.27/lib/ | 
| D | digsig.c | 215 			key = key_ref_to_ptr(kref);  in digsig_verify()
  | 
| /linux-4.1.27/security/smack/ | 
| D | smack_lsm.c | 4009 	keyp = key_ref_to_ptr(key_ref);  in smack_key_permission()
  | 
| /linux-4.1.27/Documentation/security/ | 
| D | keys.txt | 868 	struct key *key_ref_to_ptr(const key_ref_t key_ref);
  | 
| /linux-4.1.27/security/selinux/ | 
| D | hooks.c | 5823 	key = key_ref_to_ptr(key_ref);  in selinux_key_permission()
  |