Home
last modified time | relevance | path

Searched defs:key (Results 1 – 25 of 1983) sorted by relevance

12345678910>>...80

/Linux-v6.1/kernel/
Djump_label.c104 int static_key_count(struct static_key *key) in static_key_count()
116 void static_key_slow_inc_cpuslocked(struct static_key *key) in static_key_slow_inc_cpuslocked()
156 void static_key_slow_inc(struct static_key *key) in static_key_slow_inc()
164 void static_key_enable_cpuslocked(struct static_key *key) in static_key_enable_cpuslocked()
187 void static_key_enable(struct static_key *key) in static_key_enable()
195 void static_key_disable_cpuslocked(struct static_key *key) in static_key_disable_cpuslocked()
212 void static_key_disable(struct static_key *key) in static_key_disable()
220 static bool static_key_slow_try_dec(struct static_key *key) in static_key_slow_try_dec()
239 static void __static_key_slow_dec_cpuslocked(struct static_key *key) in __static_key_slow_dec_cpuslocked()
252 static void __static_key_slow_dec(struct static_key *key) in __static_key_slow_dec()
[all …]
/Linux-v6.1/tools/testing/selftests/bpf/progs/
Dmap_kptr_fail.c29 int key = 0; in size_not_bpf_dw() local
43 int key = 0, id; in non_const_var_off() local
61 int key = 0, id; in non_const_var_off_kptr_xchg() local
79 int key = 0; in misaligned_access_write() local
94 int key = 0; in misaligned_access_read() local
108 int key = 0, id; in reject_var_off_store() local
131 int key = 0; in reject_bad_type_match() local
150 int key = 0; in marked_as_untrusted_or_null() local
165 int key = 0; in correct_btf_id_check_size() local
182 int key = 0; in inherit_untrusted_on_walk() local
[all …]
Dtest_tunnel_kern.c66 struct bpf_tunnel_key key; in gre_set_tunnel() local
88 struct bpf_tunnel_key key; in gre_get_tunnel() local
103 struct bpf_tunnel_key key; in ip6gretap_set_tunnel() local
127 struct bpf_tunnel_key key; in ip6gretap_get_tunnel() local
146 struct bpf_tunnel_key key; in erspan_set_tunnel() local
189 struct bpf_tunnel_key key; in erspan_get_tunnel() local
225 struct bpf_tunnel_key key; in ip4ip6erspan_set_tunnel() local
269 struct bpf_tunnel_key key; in ip4ip6erspan_get_tunnel() local
307 struct bpf_tunnel_key key; in vxlan_set_tunnel_dst() local
346 struct bpf_tunnel_key key; in vxlan_set_tunnel_src() local
[all …]
/Linux-v6.1/fs/ubifs/
Dkey.h91 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-v6.1/lib/
Dsiphash.c46 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 …]
Dbtree.c135 static void dec_key(struct btree_geo *geo, unsigned long *key) in dec_key()
159 unsigned long *key) in setkey()
208 unsigned long *key) in btree_last()
225 unsigned long *key) in keycmp()
230 static int keyzero(struct btree_geo *geo, unsigned long *key) in keyzero()
242 unsigned long *key) in btree_lookup_node()
264 unsigned long *key) in btree_lookup()
281 unsigned long *key, void *val) in btree_update()
312 unsigned long *retry_key = NULL, key[MAX_KEYLEN]; in btree_get_prev() local
360 unsigned long *key) in getpos()
[all …]
/Linux-v6.1/net/mac80211/
Dkey.c125 static int ieee80211_key_enable_hw_accel(struct ieee80211_key *key) in ieee80211_key_enable_hw_accel()
234 static void ieee80211_key_disable_hw_accel(struct ieee80211_key *key) in ieee80211_key_disable_hw_accel()
273 static int _ieee80211_set_tx_key(struct ieee80211_key *key, bool force) in _ieee80211_set_tx_key()
291 int ieee80211_set_tx_key(struct ieee80211_key *key) in ieee80211_set_tx_key()
359 struct ieee80211_key *key = NULL; in __ieee80211_set_default_key() local
394 struct ieee80211_key *key = NULL; in __ieee80211_set_default_mgmt_key() local
419 struct ieee80211_key *key = NULL; in __ieee80211_set_default_beacon_key() local
591 struct ieee80211_key *key; in ieee80211_key_alloc() local
740 static void ieee80211_key_free_common(struct ieee80211_key *key) in ieee80211_key_free_common()
763 static void __ieee80211_key_destroy(struct ieee80211_key *key, in __ieee80211_key_destroy()
[all …]
Ddebugfs_key.c74 struct ieee80211_key *key = file->private_data; in key_algorithm_read() local
86 struct ieee80211_key *key = file->private_data; in key_tx_spec_write() local
124 struct ieee80211_key *key = file->private_data; in key_tx_spec_read() local
160 struct ieee80211_key *key = file->private_data; in key_rx_spec_read() local
228 struct ieee80211_key *key = file->private_data; in key_replays_read() local
261 struct ieee80211_key *key = file->private_data; in key_icverrors_read() local
286 struct ieee80211_key *key = file->private_data; in key_mic_failures_read() local
302 struct ieee80211_key *key = file->private_data; in key_key_read() local
327 void ieee80211_debugfs_key_add(struct ieee80211_key *key) in ieee80211_debugfs_key_add()
364 void ieee80211_debugfs_key_remove(struct ieee80211_key *key) in ieee80211_debugfs_key_remove()
[all …]
/Linux-v6.1/tools/perf/util/bpf_skel/
Dkwork_trace.bpf.c89 static __always_inline int trace_event_match(struct work_key *key, char *name) in trace_event_match()
116 static __always_inline void do_update_time(void *map, struct work_key *key, in do_update_time()
145 static __always_inline void do_update_timestart(void *map, struct work_key *key) in do_update_timestart()
153 struct work_key *key) in do_update_timeend()
164 struct work_key *key, char *name) in do_update_name()
170 static __always_inline int update_timestart(void *map, struct work_key *key) in update_timestart()
181 struct work_key *key, in update_timestart_and_name()
194 void *time_map, struct work_key *key) in update_timeend()
207 struct work_key *key, in update_timeend_and_name()
223 struct work_key key = { in report_irq_handler_entry() local
[all …]
/Linux-v6.1/include/linux/
Dkey.h155 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 …]
Dsiphash.h20 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()
Djump_label_ratelimit.h10 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()
Djump_label.h81 #define STATIC_KEY_CHECK_USE(key) WARN(!static_key_initialized, \ argument
120 long key; // key may be far away from the core kernel under KASLR member
205 static __always_inline bool static_key_false(struct static_key *key) in static_key_false()
210 static __always_inline bool static_key_true(struct static_key *key) in static_key_true()
257 static __always_inline int static_key_count(struct static_key *key) in static_key_count()
267 static __always_inline bool static_key_false(struct static_key *key) in static_key_false()
274 static __always_inline bool static_key_true(struct static_key *key) in static_key_true()
281 static inline void static_key_slow_inc(struct static_key *key) in static_key_slow_inc()
287 static inline void static_key_slow_dec(struct static_key *key) in static_key_slow_dec()
293 #define static_key_slow_inc_cpuslocked(key) static_key_slow_inc(key) argument
[all …]
/Linux-v6.1/drivers/net/wireless/silabs/wfx/
Dkey.c34 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-v6.1/fs/nilfs2/
Ddirect.c24 nilfs_direct_get_ptr(const struct nilfs_bmap *direct, __u64 key) in nilfs_direct_get_ptr()
30 __u64 key, __u64 ptr) in nilfs_direct_set_ptr()
36 __u64 key, int level, __u64 *ptrp) in nilfs_direct_lookup()
51 __u64 key, __u64 *ptrp, in nilfs_direct_lookup_contig()
93 nilfs_direct_find_target_v(const struct nilfs_bmap *direct, __u64 key) in nilfs_direct_find_target_v()
106 static int nilfs_direct_insert(struct nilfs_bmap *bmap, __u64 key, __u64 ptr) in nilfs_direct_insert()
142 static int nilfs_direct_delete(struct nilfs_bmap *bmap, __u64 key) in nilfs_direct_delete()
167 __u64 key; in nilfs_direct_seek_key() local
181 __u64 key, lastkey; in nilfs_direct_last_key() local
197 static int nilfs_direct_check_insert(const struct nilfs_bmap *bmap, __u64 key) in nilfs_direct_check_insert()
[all …]
/Linux-v6.1/drivers/tty/
Dsysrq.c101 static void sysrq_handle_loglevel(int key) in sysrq_handle_loglevel()
118 static void sysrq_handle_SAK(int key) in sysrq_handle_SAK()
135 static void sysrq_handle_unraw(int key) in sysrq_handle_unraw()
150 static void sysrq_handle_crash(int key) in sysrq_handle_crash()
164 static void sysrq_handle_reboot(int key) in sysrq_handle_reboot()
179 static void sysrq_handle_sync(int key) in sysrq_handle_sync()
190 static void sysrq_handle_show_timers(int key) in sysrq_handle_show_timers()
201 static void sysrq_handle_mountro(int key) in sysrq_handle_mountro()
213 static void sysrq_handle_showlocks(int key) in sysrq_handle_showlocks()
253 static void sysrq_handle_showallcpus(int key) in sysrq_handle_showallcpus()
[all …]
/Linux-v6.1/security/keys/
Dkey.c39 void __key_check(const struct key *key) in __key_check()
134 static inline void key_alloc_serial(struct key *key) in key_alloc_serial()
231 struct key *key; in key_alloc() local
372 int key_payload_reserve(struct key *key, size_t datalen) in key_payload_reserve()
409 static void mark_key_instantiated(struct key *key, int reject_error) in mark_key_instantiated()
424 static int __key_instantiate_and_link(struct key *key, in __key_instantiate_and_link()
498 int key_instantiate_and_link(struct key *key, in key_instantiate_and_link()
574 int key_reject_and_link(struct key *key, in key_reject_and_link()
647 void key_put(struct key *key) in key_put()
664 struct key *key; in key_lookup() local
[all …]
Drequest_key.c25 struct key *key = current->cached_requested_key; in check_cached_key() local
36 static void cache_requested_key(struct key *key) in cache_requested_key()
59 struct key *key = rka->target_key; in complete_request_key() local
121 struct key *key = rka->target_key, *keyring, *session, *user_session; in call_sbin_request_key() local
223 static int construct_key(struct key *key, const void *callout_info, in construct_key()
373 struct key *key; in construct_alloc_key() local
481 struct key *key; in construct_key_and_link() local
580 struct key *key; in request_key_and_link() local
660 int wait_for_key_construction(struct key *key, bool intr) in wait_for_key_construction()
695 struct key *key; in request_key_tag() local
[all …]
/Linux-v6.1/crypto/
Drsa_helper.c19 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-v6.1/tools/perf/arch/x86/util/
Dkvm-stat.c32 struct event_key *key) in mmio_event_get_key()
43 struct perf_sample *sample, struct event_key *key) in mmio_event_begin()
60 struct event_key *key) in mmio_event_end()
77 struct event_key *key, in mmio_event_decode_key()
95 struct event_key *key) in ioport_event_get_key()
103 struct event_key *key) in ioport_event_begin()
121 struct event_key *key, in ioport_event_decode_key()
139 struct event_key *key) in msr_event_get_key()
147 struct event_key *key) in msr_event_begin()
165 struct event_key *key, in msr_event_decode_key()
/Linux-v6.1/net/mac802154/
Dllsec.c45 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()
269 const struct ieee802154_llsec_key_id *key) in mac802154_llsec_key_del()
309 u32 key = llsec_dev_hash_short(short_addr, pan_id); in llsec_dev_find_short() local
324 u64 key = llsec_dev_hash_long(hwaddr); in llsec_dev_find_long() local
406 const struct ieee802154_llsec_key_id *key) in llsec_devkey_find()
[all …]
/Linux-v6.1/include/crypto/internal/
Ddes.h26 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-v6.1/drivers/nvdimm/
Dsecurity.c27 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
246 struct key *key; in security_disable() local
281 struct key *key, *newkey; in security_update() local
[all …]
/Linux-v6.1/net/openvswitch/
Dactions.c71 struct sw_flow_key key[OVS_DEFERRED_ACTION_THRESHOLD]; member
85 struct sw_flow_key *key = NULL; in clone_key() local
124 const struct sw_flow_key *key, in add_deferred_actions()
143 static void invalidate_flow_key(struct sw_flow_key *key) in invalidate_flow_key()
148 static bool is_flow_key_valid(const struct sw_flow_key *key) in is_flow_key_valid()
163 static int push_mpls(struct sk_buff *skb, struct sw_flow_key *key, in push_mpls()
179 static int pop_mpls(struct sk_buff *skb, struct sw_flow_key *key, in pop_mpls()
216 static int pop_vlan(struct sk_buff *skb, struct sw_flow_key *key) in pop_vlan()
230 static int push_vlan(struct sk_buff *skb, struct sw_flow_key *key, in push_vlan()
256 const struct ovs_key_ethernet *key, in set_eth_addr()
[all …]
/Linux-v6.1/fs/btrfs/
Dtree-checker.c80 struct btrfs_key key; in file_extent_err() local
114 struct btrfs_key *key, in file_extent_end()
140 struct btrfs_key key; in dir_item_err() local
168 struct btrfs_key *key, int slot, in check_prev_ino()
199 struct btrfs_key *key, int slot, in check_extent_data_item()
338 static int check_csum_item(struct extent_buffer *leaf, struct btrfs_key *key, in check_csum_item()
384 static int check_inode_key(struct extent_buffer *leaf, struct btrfs_key *key, in check_inode_key()
436 static int check_root_key(struct extent_buffer *leaf, struct btrfs_key *key, in check_root_key()
481 struct btrfs_key *key, struct btrfs_key *prev_key, in check_dir_item()
621 struct btrfs_key key; in block_group_err() local
[all …]

12345678910>>...80