| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | map_kptr_fail.c | 28 int key = 0; in size_not_bpf_dw() local 43 int key = 0, id; in non_const_var_off() local 62 int key = 0, id; in non_const_var_off_kptr_xchg() local 81 int key = 0; in misaligned_access_write() local 97 int key = 0; in misaligned_access_read() local 112 int key = 0, id; in reject_var_off_store() local 136 int key = 0; in reject_bad_type_match() local 156 int key = 0; in marked_as_untrusted_or_null() local 172 int key = 0; in correct_btf_id_check_size() local 190 int key = 0; in inherit_untrusted_on_walk() local [all …]
|
| H A D | test_tunnel_kern.c | 61 struct bpf_tunnel_key key; gre_set_tunnel() local 83 struct bpf_tunnel_key key; gre_set_tunnel_no_key() local 104 struct bpf_tunnel_key key; gre_get_tunnel() local 119 struct bpf_tunnel_key key; ip6gretap_set_tunnel() local 143 struct bpf_tunnel_key key; ip6gretap_get_tunnel() local 162 struct bpf_tunnel_key key; erspan_set_tunnel() local 205 struct bpf_tunnel_key key; erspan_get_tunnel() local 241 struct bpf_tunnel_key key; ip4ip6erspan_set_tunnel() local 285 struct bpf_tunnel_key key; ip4ip6erspan_get_tunnel() local 322 struct bpf_tunnel_key key; vxlan_set_tunnel_dst() local 361 struct bpf_tunnel_key key; vxlan_set_tunnel_src() local 401 struct bpf_tunnel_key key; vxlan_get_tunnel_src() local 487 struct bpf_tunnel_key key; ip6vxlan_set_tunnel_dst() local 518 struct bpf_tunnel_key key; ip6vxlan_set_tunnel_src() local 549 struct bpf_tunnel_key key; ip6vxlan_get_tunnel_src() local 591 struct bpf_tunnel_key key; geneve_set_tunnel() local 630 struct bpf_tunnel_key key; geneve_get_tunnel() local 651 struct bpf_tunnel_key key; ip6geneve_set_tunnel() local 690 struct bpf_tunnel_key key; ip6geneve_get_tunnel() local 714 struct bpf_tunnel_key key = {}; ipip_set_tunnel() local 744 struct bpf_tunnel_key key; ipip_get_tunnel() local 759 struct bpf_tunnel_key key = {}; ipip_gue_set_tunnel() local 798 struct bpf_tunnel_key key = {}; ipip_fou_set_tunnel() local 837 struct bpf_tunnel_key key = {}; ipip_encap_get_tunnel() local 864 struct bpf_tunnel_key key = {}; ipip6_set_tunnel() local 896 struct bpf_tunnel_key key; ipip6_get_tunnel() local 913 struct bpf_tunnel_key key = {}; ip6ip6_set_tunnel() local 944 struct bpf_tunnel_key key; ip6ip6_get_tunnel() local [all...] |
| H A D | wq.c | 56 static int test_elem_callback(void *map, int *key, in test_elem_callback() argument 89 test_hmap_elem_callback(void * map,int * key,int (callback_fn)(void * map,int * key,void * value)) test_hmap_elem_callback() argument 120 wq_callback(void * map,int * key,void * value) wq_callback() argument 128 wq_cb_sleepable(void * map,int * key,void * value) wq_cb_sleepable() argument 146 int key = 0; test_call_array_sleepable() local 156 int key = 1; test_syscall_array_sleepable() local 166 int key = 2; test_call_hash_sleepable() local 176 int key = 3; test_call_hash_malloc_sleepable() local 186 int key = 4; test_call_lru_sleepable() local [all...] |
| H A D | wq_failures.c | 31 static int wq_callback(void *map, int *key, void *value) in wq_callback() argument 38 static int wq_cb_sleepable(void *map, int *key, void *value) in wq_cb_sleepable() argument 56 int key = 0; in __flag() local 81 int key = 0; in __flag() local 104 int key in test_wrong_wq_pointer() local 130 int key = 0; test_wrong_wq_pointer_offset() local [all...] |
| /linux/fs/ubifs/ |
| H A D | key.h | 91 union ubifs_key *key, ino_t inum) in ino_key_init() 106 union ubifs_key *key = k; in ino_key_init_flash() local 120 union ubifs_key *key, ino_t inum) in lowest_ino_key() 133 union ubifs_key *key, ino_t inum) in highest_ino_key() 147 union ubifs_key *key, ino_t inum, in dent_key_init() 166 union ubifs_key *key, ino_t inum, in dent_key_init_hash() 185 union ubifs_key *key = k; in dent_key_init_flash() local 202 union ubifs_key *key, ino_t inum) in lowest_dent_key() 216 union ubifs_key *key, ino_t inum, in xent_key_init() 236 union ubifs_key *key = k; in xent_key_init_flash() local [all …]
|
| /linux/lib/ |
| H A D | siphash.c | 46 u64 __siphash_aligned(const void *data, size_t len, const siphash_key_t *key) in __siphash_aligned() 79 u64 __siphash_unaligned(const void *data, size_t len, const siphash_key_t *key) in __siphash_unaligned() 116 u64 siphash_1u64(const u64 first, const siphash_key_t *key) in siphash_1u64() 133 u64 siphash_2u64(const u64 first, const u64 second, const siphash_key_t *key) in siphash_2u64() 156 const siphash_key_t *key) in siphash_3u64() 184 const u64 forth, const siphash_key_t *key) in siphash_4u64() 207 u64 siphash_1u32(const u32 first, const siphash_key_t *key) in siphash_1u32() 216 const siphash_key_t *key) in siphash_3u32() 247 u32 __hsiphash_aligned(const void *data, size_t len, const hsiphash_key_t *key) in __hsiphash_aligned() 280 const hsiphash_key_t *key) in __hsiphash_unaligned() [all …]
|
| H A D | btree.c | 134 static void dec_key(struct btree_geo *geo, unsigned long *key) in dec_key() 158 unsigned long *key) in setkey() 207 unsigned long *key) in btree_last() 224 unsigned long *key) in keycmp() 229 static int keyzero(struct btree_geo *geo, unsigned long *key) in keyzero() 241 unsigned long *key) in btree_lookup_node() 263 unsigned long *key) in btree_lookup() 280 unsigned long *key, void *val) in btree_update() 311 unsigned long *retry_key = NULL, key[MAX_KEYLEN]; in btree_get_prev() local 359 unsigned long *key) in getpos() [all …]
|
| /linux/tools/perf/util/bpf_skel/ |
| H A D | kwork_trace.bpf.c | 90 static __always_inline int trace_event_match(struct work_key *key, char *name) in trace_event_match() argument 117 static __always_inline void do_update_time(void *map, struct work_key *key, in do_update_time() argument 146 static __always_inline void do_update_timestart(void *map, struct work_key *key) in do_update_timestart() argument 154 struct work_key *key) in do_update_timeend() argument 165 do_update_name(void * map,struct work_key * key,char * name) do_update_name() argument 171 update_timestart(void * map,struct work_key * key) update_timestart() argument 182 update_timestart_and_name(void * time_map,void * names_map,struct work_key * key,char * name) update_timestart_and_name() argument 195 update_timeend(void * report_map,void * time_map,struct work_key * key) update_timeend() argument 208 update_timeend_and_name(void * report_map,void * time_map,void * names_map,struct work_key * key,char * name) update_timeend_and_name() argument 224 struct work_key key = { report_irq_handler_entry() local 240 struct work_key key = { report_irq_handler_exit() local 266 struct work_key key = { report_softirq_entry() local 284 struct work_key key = { report_softirq_exit() local 297 struct work_key key = { latency_softirq_raise() local 315 struct work_key key = { latency_softirq_entry() local 327 struct work_key key = { report_workqueue_execute_start() local 340 struct work_key key = { report_workqueue_execute_end() local 357 struct work_key key = { latency_workqueue_activate_work() local 370 struct work_key key = { latency_workqueue_execute_start() local [all...] |
| /linux/include/linux/ |
| H A D | key.h | 155 static inline key_ref_t make_key_ref(const struct key *key, in make_key_ref() 178 struct key *key; member 195 struct key { struct 197 key_serial_t serial; /* key serial number */ argument 203 struct watch_list *watchers; /* Entities watching this key for changes */ argument 206 struct key_user *user; /* owner of this key */ argument 207 void *security; /* security data for this key */ argument 209 time64_t expiry; /* time at which key expires (or 0) */ argument 212 time64_t last_used_at; /* last time used for LRU keyring discard */ argument 215 key_perm_t perm; /* access permissions */ argument [all …]
|
| H A D | siphash.h | 20 u64 key[2]; member 25 static inline bool siphash_key_is_zero(const siphash_key_t *key) in siphash_key_is_zero() 44 const siphash_key_t *key) in siphash_2u32() 49 const u32 d, const siphash_key_t *key) in siphash_4u32() 56 const siphash_key_t *key) in ___siphash_aligned() 82 const siphash_key_t *key) in siphash() 92 unsigned long key[2]; member 108 const hsiphash_key_t *key) in ___hsiphash_aligned() 132 const hsiphash_key_t *key) in hsiphash()
|
| H A D | jump_label_ratelimit.h | 10 struct static_key key; member 16 struct static_key_true key; member 22 struct static_key_false key; member 65 struct static_key key; member 68 struct static_key_true key; member 71 struct static_key_false key; member 80 static inline void static_key_slow_dec_deferred(struct static_key_deferred *key) in static_key_slow_dec_deferred() 85 static inline void static_key_deferred_flush(void *key) in static_key_deferred_flush() 90 jump_label_rate_limit(struct static_key_deferred *key, in jump_label_rate_limit()
|
| /linux/drivers/net/wireless/silabs/wfx/ |
| H A D | key.c | 34 struct ieee80211_key_conf *key, u8 *peer_addr) in fill_wep_pair() 44 struct ieee80211_key_conf *key) in fill_wep_group() 54 struct ieee80211_key_conf *key, u8 *peer_addr) in fill_tkip_pair() 69 static u8 fill_tkip_group(struct wfx_hif_tkip_group_key *msg, struct ieee80211_key_conf *key, in fill_tkip_group() 91 struct ieee80211_key_conf *key, u8 *peer_addr) in fill_ccmp_pair() 100 struct ieee80211_key_conf *key, struct ieee80211_key_seq *seq) in fill_ccmp_group() 111 struct ieee80211_key_conf *key, u8 *peer_addr) in fill_sms4_pair() 126 struct ieee80211_key_conf *key) in fill_sms4_group() 140 struct ieee80211_key_conf *key, struct ieee80211_key_seq *seq) in fill_aes_cmac_group() 151 struct ieee80211_key_conf *key) in wfx_add_key() [all …]
|
| /linux/drivers/tty/ |
| H A D | sysrq.c | 101 static void sysrq_handle_loglevel(u8 key) in sysrq_handle_loglevel() 117 static void sysrq_handle_SAK(u8 key) in sysrq_handle_SAK() 134 static void sysrq_handle_unraw(u8 key) in sysrq_handle_unraw() 149 static void sysrq_handle_crash(u8 key) in sysrq_handle_crash() 163 static void sysrq_handle_reboot(u8 key) in sysrq_handle_reboot() 178 static void sysrq_handle_sync(u8 key) in sysrq_handle_sync() 189 static void sysrq_handle_show_timers(u8 key) in sysrq_handle_show_timers() 200 static void sysrq_handle_mountro(u8 key) in sysrq_handle_mountro() 212 static void sysrq_handle_showlocks(u8 key) in sysrq_handle_showlocks() 252 static void sysrq_handle_showallcpus(u8 key) in sysrq_handle_showallcpus() [all …]
|
| /linux/net/mac802154/ |
| H A D | llsec.c | 45 struct ieee802154_llsec_key_entry *key, *kn; in mac802154_llsec_destroy() local 117 struct mac802154_llsec_key *key; in llsec_key_alloc() local 164 struct mac802154_llsec_key *key; in llsec_key_release() local 177 llsec_key_get(struct mac802154_llsec_key *key) in llsec_key_get() 183 static void llsec_key_put(struct mac802154_llsec_key *key) in llsec_key_put() 214 const struct ieee802154_llsec_key *key) in mac802154_llsec_key_add() 281 const struct ieee802154_llsec_key_id *key) in mac802154_llsec_key_del() 317 u32 key = llsec_dev_hash_short(short_addr, pan_id); in llsec_dev_find_short() local 332 u64 key = llsec_dev_hash_long(hwaddr); in llsec_dev_find_long() local 414 const struct ieee802154_llsec_key_id *key) in llsec_devkey_find() [all …]
|
| /linux/crypto/ |
| H A D | rsa_helper.c | 19 struct rsa_key *key = context; in rsa_get_n() local 49 struct rsa_key *key = context; in rsa_get_e() local 64 struct rsa_key *key = context; in rsa_get_d() local 79 struct rsa_key *key = context; in rsa_get_p() local 94 struct rsa_key *key = context; in rsa_get_q() local 109 struct rsa_key *key = context; in rsa_get_dp() local 124 struct rsa_key *key = context; in rsa_get_dq() local 139 struct rsa_key *key = context; in rsa_get_qinv() local 162 int rsa_parse_pub_key(struct rsa_key *rsa_key, const void *key, in rsa_parse_pub_key() 181 int rsa_parse_priv_key(struct rsa_key *rsa_key, const void *key, in rsa_parse_priv_key()
|
| /linux/include/crypto/internal/ |
| H A D | des.h | 26 static inline int crypto_des_verify_key(struct crypto_tfm *tfm, const u8 *key) in crypto_des_verify_key() 55 static inline int des3_ede_verify_key(const u8 *key, unsigned int key_len, in des3_ede_verify_key() 92 const u8 *key) in crypto_des3_ede_verify_key() 100 const u8 *key) in verify_skcipher_des_key() 106 const u8 *key) in verify_skcipher_des3_key() 111 static inline int verify_aead_des_key(struct crypto_aead *tfm, const u8 *key, in verify_aead_des_key() 119 static inline int verify_aead_des3_key(struct crypto_aead *tfm, const u8 *key, in verify_aead_des3_key()
|
| /linux/security/keys/ |
| H A D | key.c | 38 void __key_check(const struct key *key) in __key_check() argument 133 key_alloc_serial(struct key * key) key_alloc_serial() argument 230 struct key *key; key_alloc() local 374 key_payload_reserve(struct key * key,size_t datalen) key_payload_reserve() argument 412 mark_key_instantiated(struct key * key,int reject_error) mark_key_instantiated() argument 427 __key_instantiate_and_link(struct key * key,struct key_preparsed_payload * prep,struct key * keyring,struct key * authkey,struct assoc_array_edit ** _edit) __key_instantiate_and_link() argument 499 key_instantiate_and_link(struct key * key,const void * data,size_t datalen,struct key * keyring,struct key * authkey) key_instantiate_and_link() argument 575 key_reject_and_link(struct key * key,unsigned timeout,unsigned error,struct key * keyring,struct key * authkey) key_reject_and_link() argument 647 key_put(struct key * key) key_put() argument 676 struct key *key; key_lookup() local 736 key_set_timeout(struct key * key,unsigned timeout) key_set_timeout() argument 768 struct key *key = key_ref_to_ptr(key_ref); __key_update() local 821 struct key *keyring, *key = NULL; __key_create_or_update() local 1079 struct key *key = key_ref_to_ptr(key_ref); key_update() local 1131 key_revoke(struct key * key) key_revoke() argument 1167 key_invalidate(struct key * key) key_invalidate() argument 1194 generic_key_instantiate(struct key * key,struct key_preparsed_payload * prep) generic_key_instantiate() argument [all...] |
| H A D | request_key.c | 25 struct key *key = current->cached_requested_key; in check_cached_key() local 36 cache_requested_key(struct key * key) cache_requested_key() argument 62 struct key *key = rka->target_key; complete_request_key() local 124 struct key *key = rka->target_key, *keyring, *session, *user_session; call_sbin_request_key() local 226 construct_key(struct key * key,const void * callout_info,size_t callout_len,void * aux,struct key * dest_keyring) construct_key() argument 376 struct key *key; construct_alloc_key() local 497 struct key *key; construct_key_and_link() local 596 struct key *key; request_key_and_link() local 676 wait_for_key_construction(struct key * key,bool intr) wait_for_key_construction() argument 711 struct key *key; request_key_tag() local 753 struct key *key; request_key_with_auxdata() local 798 struct key *key; request_key_rcu() local [all...] |
| /linux/net/ceph/ |
| H A D | crypto.c | 20 static int set_aes_tfm(struct ceph_crypto_key *key) in set_aes_tfm() 41 static int set_krb5_tfms(struct ceph_crypto_key *key, const u32 *key_usages, in set_krb5_tfms() 78 int ceph_crypto_key_prepare(struct ceph_crypto_key *key, in ceph_crypto_key_prepare() 114 int ceph_crypto_key_decode(struct ceph_crypto_key *key, void **p, void *end) in ceph_crypto_key_decode() 139 int ceph_crypto_key_unarmor(struct ceph_crypto_key *key, const char *inkey) in ceph_crypto_key_unarmor() 166 void ceph_crypto_key_destroy(struct ceph_crypto_key *key) in ceph_crypto_key_destroy() 264 static int ceph_aes_crypt(const struct ceph_crypto_key *key, bool encrypt, in ceph_aes_crypt() 328 static int ceph_krb5_encrypt(const struct ceph_crypto_key *key, int usage_slot, in ceph_krb5_encrypt() 358 static int ceph_krb5_decrypt(const struct ceph_crypto_key *key, int usage_slot, in ceph_krb5_decrypt() 389 int ceph_crypt(const struct ceph_crypto_key *key, int usage_slot, bool encrypt, in ceph_crypt() [all …]
|
| /linux/fs/btrfs/ |
| H A D | tree-checker.c | 86 struct btrfs_key key; in file_extent_err() local 121 struct btrfs_key *key, in file_extent_end() 147 struct btrfs_key key; in dir_item_err() local 176 struct btrfs_key *key, int slot, in check_prev_ino() 208 struct btrfs_key *key, int slot, in check_extent_data_item() 392 static int check_csum_item(struct extent_buffer *leaf, struct btrfs_key *key, in check_csum_item() 438 static int check_inode_key(struct extent_buffer *leaf, struct btrfs_key *key, in check_inode_key() 490 static int check_root_key(struct extent_buffer *leaf, struct btrfs_key *key, in check_root_key() 549 struct btrfs_key *key, struct btrfs_key *prev_key, in check_dir_item() 690 struct btrfs_key key; in block_group_err() local [all …]
|
| /linux/tools/perf/util/kvm-stat-arch/ |
| H A D | kvm-stat-x86.c | 28 mmio_event_get_key(struct evsel * evsel,struct perf_sample * sample,struct event_key * key) mmio_event_get_key() argument 39 mmio_event_begin(struct evsel * evsel,struct perf_sample * sample,struct event_key * key) mmio_event_begin() argument 56 mmio_event_end(struct evsel * evsel,struct perf_sample * sample,struct event_key * key) mmio_event_end() argument 73 mmio_event_decode_key(struct perf_kvm_stat * kvm __maybe_unused,struct event_key * key,char * decode) mmio_event_decode_key() argument 91 ioport_event_get_key(struct evsel * evsel,struct perf_sample * sample,struct event_key * key) ioport_event_get_key() argument 99 ioport_event_begin(struct evsel * evsel,struct perf_sample * sample,struct event_key * key) ioport_event_begin() argument 117 ioport_event_decode_key(struct perf_kvm_stat * kvm __maybe_unused,struct event_key * key,char * decode) ioport_event_decode_key() argument 135 msr_event_get_key(struct evsel * evsel,struct perf_sample * sample,struct event_key * key) msr_event_get_key() argument 143 msr_event_begin(struct evsel * evsel,struct perf_sample * sample,struct event_key * key) msr_event_begin() argument 161 msr_event_decode_key(struct perf_kvm_stat * kvm __maybe_unused,struct event_key * key,char * decode) msr_event_decode_key() argument [all...] |
| /linux/net/openvswitch/ |
| H A D | actions.c | 53 struct sw_flow_key *key = NULL; in clone_key() local 92 const struct sw_flow_key *key, in add_deferred_actions() 110 static void invalidate_flow_key(struct sw_flow_key *key) in invalidate_flow_key() 115 static bool is_flow_key_valid(const struct sw_flow_key *key) in is_flow_key_valid() 130 static int push_mpls(struct sk_buff *skb, struct sw_flow_key *key, in push_mpls() 146 static int pop_mpls(struct sk_buff *skb, struct sw_flow_key *key, in pop_mpls() 183 static int pop_vlan(struct sk_buff *skb, struct sw_flow_key *key) in pop_vlan() 197 static int push_vlan(struct sk_buff *skb, struct sw_flow_key *key, in push_vlan() 227 const struct ovs_key_ethernet *key, in set_eth_addr() 253 static int pop_eth(struct sk_buff *skb, struct sw_flow_key *key) in pop_eth() [all …]
|
| /linux/drivers/nvdimm/ |
| H A D | security.c | 27 static void *key_data(struct key *key) in key_data() 36 static void nvdimm_put_key(struct key *key) in nvdimm_put_key() 52 struct key *key = NULL; in nvdimm_request_key() local 81 struct key **key) in nvdimm_get_key_payload() 94 struct key *key; in nvdimm_lookup_user_key() local 121 key_serial_t id, int subclass, struct key **key) in nvdimm_get_user_key_payload() 141 struct key *key; in nvdimm_key_revalidate() local 169 struct key *key; in __nvdimm_security_unlock() local 250 struct key *key; in security_disable() local 299 struct key *key, *newkey; in security_update() local [all …]
|
| /linux/arch/x86/include/asm/ |
| H A D | jump_label.h | 15 #define JUMP_TABLE_ENTRY(key, label) \ argument 26 #define ARCH_STATIC_BRANCH_ASM(key, label) \ argument 30 #define ARCH_STATIC_BRANCH_ASM(key, label) \ argument 35 static __always_inline bool arch_static_branch(struct static_key * const key, const bool branch) in arch_static_branch() 45 static __always_inline bool arch_static_branch_jump(struct static_key * const key, const bool branc… in arch_static_branch_jump()
|
| /linux/arch/riscv/include/asm/ |
| H A D | jump_label.h | 19 #define JUMP_TABLE_ENTRY(key, label) \ argument 27 #define ARCH_STATIC_BRANCH_ASM(key, label) \ argument 36 static __always_inline bool arch_static_branch(struct static_key * const key, in arch_static_branch() 48 #define ARCH_STATIC_BRANCH_JUMP_ASM(key, label) \ argument 57 static __always_inline bool arch_static_branch_jump(struct static_key * const key, in arch_static_branch_jump()
|