Home
last modified time | relevance | path

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

12345678910>>...72

/Linux-v5.10/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-v5.10/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-v5.10/lib/
Dsiphash.c52 u64 __siphash_aligned(const void *data, size_t len, const siphash_key_t *key) in __siphash_aligned()
85 u64 __siphash_unaligned(const void *data, size_t len, const siphash_key_t *key) in __siphash_unaligned()
123 u64 siphash_1u64(const u64 first, const siphash_key_t *key) in siphash_1u64()
140 u64 siphash_2u64(const u64 first, const u64 second, const siphash_key_t *key) in siphash_2u64()
163 const siphash_key_t *key) in siphash_3u64()
191 const u64 forth, const siphash_key_t *key) in siphash_4u64()
214 u64 siphash_1u32(const u32 first, const siphash_key_t *key) in siphash_1u32()
223 const siphash_key_t *key) in siphash_3u32()
253 u32 __hsiphash_aligned(const void *data, size_t len, const hsiphash_key_t *key) in __hsiphash_aligned()
286 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()
272 unsigned long *key, void *val) in btree_update()
316 unsigned long *retry_key = NULL, key[MAX_KEYLEN]; in btree_get_prev() local
364 unsigned long *key) in getpos()
389 unsigned long *key, int level) in find_level()
[all …]
/Linux-v5.10/tools/testing/selftests/bpf/progs/
Dtest_tunnel_kern.c50 struct bpf_tunnel_key key; in _gre_set_tunnel() local
72 struct bpf_tunnel_key key; in _gre_get_tunnel() local
88 struct bpf_tunnel_key key; in _ip6gretap_set_tunnel() local
113 struct bpf_tunnel_key key; in _ip6gretap_get_tunnel() local
132 struct bpf_tunnel_key key; in _erspan_set_tunnel() local
176 struct bpf_tunnel_key key; in _erspan_get_tunnel() local
216 struct bpf_tunnel_key key; in _ip4ip6erspan_set_tunnel() local
261 struct bpf_tunnel_key key; in _ip4ip6erspan_get_tunnel() local
303 struct bpf_tunnel_key key; in _vxlan_set_tunnel() local
333 struct bpf_tunnel_key key; in _vxlan_get_tunnel() local
[all …]
/Linux-v5.10/net/mac80211/
Dkey.c125 static int ieee80211_key_enable_hw_accel(struct ieee80211_key *key) in ieee80211_key_enable_hw_accel()
230 static void ieee80211_key_disable_hw_accel(struct ieee80211_key *key) in ieee80211_key_disable_hw_accel()
265 static int _ieee80211_set_tx_key(struct ieee80211_key *key, bool force) in _ieee80211_set_tx_key()
283 int ieee80211_set_tx_key(struct ieee80211_key *key) in ieee80211_set_tx_key()
350 struct ieee80211_key *key = NULL; in __ieee80211_set_default_key() local
381 struct ieee80211_key *key = NULL; in __ieee80211_set_default_mgmt_key() local
405 struct ieee80211_key *key = NULL; in __ieee80211_set_default_beacon_key() local
537 struct ieee80211_key *key; in ieee80211_key_alloc() local
700 static void ieee80211_key_free_common(struct ieee80211_key *key) in ieee80211_key_free_common()
723 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-v5.10/drivers/staging/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()
71 struct ieee80211_key_conf *key, in fill_tkip_group()
96 struct ieee80211_key_conf *key, u8 *peer_addr) in fill_ccmp_pair()
105 struct ieee80211_key_conf *key, in fill_ccmp_group()
117 struct ieee80211_key_conf *key, u8 *peer_addr) in fill_sms4_pair()
132 struct ieee80211_key_conf *key) in fill_sms4_group()
146 struct ieee80211_key_conf *key, in fill_aes_cmac_group()
158 struct ieee80211_key_conf *key) in wfx_add_key()
[all …]
/Linux-v5.10/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-v5.10/include/linux/
Dsiphash.h21 u64 key[2]; member
24 static inline bool siphash_key_is_zero(const siphash_key_t *key) in siphash_key_is_zero()
45 const siphash_key_t *key) in siphash_2u32()
50 const u32 d, const siphash_key_t *key) in siphash_4u32()
57 const siphash_key_t *key) in ___siphash_aligned()
83 const siphash_key_t *key) in siphash()
94 unsigned long key[2]; member
112 const hsiphash_key_t *key) in ___hsiphash_aligned()
136 const hsiphash_key_t *key) in hsiphash()
Dkey.h149 static inline key_ref_t make_key_ref(const struct key *key, in make_key_ref()
172 struct key *key; member
189 struct key { struct
191 key_serial_t serial; /* key serial number */ argument
197 struct watch_list *watchers; /* Entities watching this key for changes */ argument
200 struct key_user *user; /* owner of this key */ argument
201 void *security; /* security data for this key */ argument
203 time64_t expiry; /* time at which key expires (or 0) */ argument
206 time64_t last_used_at; /* last time used for LRU keyring discard */ argument
209 key_perm_t perm; /* access permissions */ argument
[all …]
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
125 long key; // key may be far away from the core kernel under KASLR member
198 static __always_inline bool static_key_false(struct static_key *key) in static_key_false()
203 static __always_inline bool static_key_true(struct static_key *key) in static_key_true()
252 static inline int static_key_count(struct static_key *key) in static_key_count()
262 static __always_inline bool static_key_false(struct static_key *key) in static_key_false()
269 static __always_inline bool static_key_true(struct static_key *key) in static_key_true()
276 static inline void static_key_slow_inc(struct static_key *key) in static_key_slow_inc()
282 static inline void static_key_slow_dec(struct static_key *key) in static_key_slow_dec()
288 #define static_key_slow_inc_cpuslocked(key) static_key_slow_inc(key) argument
[all …]
/Linux-v5.10/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()
134 static void sysrq_handle_unraw(int key) in sysrq_handle_unraw()
149 static void sysrq_handle_crash(int key) in sysrq_handle_crash()
163 static void sysrq_handle_reboot(int key) in sysrq_handle_reboot()
178 static void sysrq_handle_sync(int key) in sysrq_handle_sync()
189 static void sysrq_handle_show_timers(int key) in sysrq_handle_show_timers()
200 static void sysrq_handle_mountro(int key) in sysrq_handle_mountro()
212 static void sysrq_handle_showlocks(int key) in sysrq_handle_showlocks()
250 static void sysrq_handle_showallcpus(int key) in sysrq_handle_showallcpus()
[all …]
/Linux-v5.10/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
370 int key_payload_reserve(struct key *key, size_t datalen) in key_payload_reserve()
407 static void mark_key_instantiated(struct key *key, int reject_error) in mark_key_instantiated()
422 static int __key_instantiate_and_link(struct key *key, in __key_instantiate_and_link()
496 int key_instantiate_and_link(struct key *key, in key_instantiate_and_link()
571 int key_reject_and_link(struct key *key, in key_reject_and_link()
644 void key_put(struct key *key) in key_put()
661 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-v5.10/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-v5.10/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-v5.10/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-v5.10/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-v5.10/fs/btrfs/
Dtree-checker.c79 struct btrfs_key key; in file_extent_err() local
112 struct btrfs_key *key, in file_extent_end()
138 struct btrfs_key key; in dir_item_err() local
166 struct btrfs_key *key, int slot, in check_prev_ino()
197 struct btrfs_key *key, int slot, in check_extent_data_item()
334 static int check_csum_item(struct extent_buffer *leaf, struct btrfs_key *key, in check_csum_item()
380 static int check_inode_key(struct extent_buffer *leaf, struct btrfs_key *key, in check_inode_key()
431 static int check_root_key(struct extent_buffer *leaf, struct btrfs_key *key, in check_root_key()
475 struct btrfs_key *key, struct btrfs_key *prev_key, in check_dir_item()
614 struct btrfs_key key; in block_group_err() local
[all …]
/Linux-v5.10/net/openvswitch/
Dactions.c70 struct sw_flow_key key[OVS_DEFERRED_ACTION_THRESHOLD]; member
84 struct sw_flow_key *key = NULL; in clone_key() local
123 const struct sw_flow_key *key, in add_deferred_actions()
142 static void invalidate_flow_key(struct sw_flow_key *key) in invalidate_flow_key()
147 static bool is_flow_key_valid(const struct sw_flow_key *key) in is_flow_key_valid()
162 static int push_mpls(struct sk_buff *skb, struct sw_flow_key *key, in push_mpls()
178 static int pop_mpls(struct sk_buff *skb, struct sw_flow_key *key, in pop_mpls()
215 static int pop_vlan(struct sk_buff *skb, struct sw_flow_key *key) in pop_vlan()
229 static int push_vlan(struct sk_buff *skb, struct sw_flow_key *key, in push_vlan()
255 const struct ovs_key_ethernet *key, in set_eth_addr()
[all …]
/Linux-v5.10/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()
/Linux-v5.10/include/net/
Darp.h15 u32 key = *(const u32 *)pkey; in arp_hashfn() local
22 static inline struct neighbour *__ipv4_neigh_lookup_noref(struct net_device *dev, u32 key) in __ipv4_neigh_lookup_noref()
31 struct neighbour *__ipv4_neigh_lookup_noref(struct net_device *dev, u32 key) in __ipv4_neigh_lookup_noref()
37 static inline struct neighbour *__ipv4_neigh_lookup(struct net_device *dev, u32 key) in __ipv4_neigh_lookup()
50 static inline void __ipv4_confirm_neigh(struct net_device *dev, u32 key) in __ipv4_confirm_neigh()
/Linux-v5.10/samples/bpf/
Dmap_perf_test_kern.c108 u32 key = bpf_get_current_pid_tgid(); in SYSCALL() local
123 u32 key = bpf_get_current_pid_tgid(); in SYSCALL() local
137 u32 key = bpf_get_current_pid_tgid(); in SYSCALL() local
151 u32 key = bpf_get_current_pid_tgid(); in SYSCALL() local
175 u32 key; in SYSCALL() member
182 u32 key = 0; in SYSCALL() local
248 } key; in SYSCALL() local
267 u32 key = 1, i; in SYSCALL() local
280 u32 key = 1, i; in SYSCALL() local

12345678910>>...72