Home
last modified time | relevance | path

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

12345678910>>...64

/Linux-v5.4/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.4/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()
167 union ubifs_key *key, ino_t inum, in dent_key_init_hash()
186 union ubifs_key *key = k; in dent_key_init_flash() local
203 union ubifs_key *key, ino_t inum) in lowest_dent_key()
217 union ubifs_key *key, ino_t inum, in xent_key_init()
237 union ubifs_key *key = k; in xent_key_init_flash() local
[all …]
/Linux-v5.4/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.4/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.4/include/crypto/internal/
Ddes.h26 static inline int crypto_des_verify_key(struct crypto_tfm *tfm, const u8 *key) in crypto_des_verify_key()
59 static inline int des3_ede_verify_key(const u8 *key, unsigned int key_len, in des3_ede_verify_key()
96 const u8 *key) in crypto_des3_ede_verify_key()
109 const u8 *key) in verify_skcipher_des_key()
115 const u8 *key) in verify_skcipher_des3_key()
121 const u8 *key) in verify_ablkcipher_des_key()
127 const u8 *key) in verify_ablkcipher_des3_key()
132 static inline int verify_aead_des_key(struct crypto_aead *tfm, const u8 *key, in verify_aead_des_key()
142 static inline int verify_aead_des3_key(struct crypto_aead *tfm, const u8 *key, in verify_aead_des3_key()
/Linux-v5.4/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 int ieee80211_set_tx_key(struct ieee80211_key *key) in ieee80211_set_tx_key()
343 struct ieee80211_key *key = NULL; in __ieee80211_set_default_key() local
374 struct ieee80211_key *key = NULL; in __ieee80211_set_default_mgmt_key() local
500 struct ieee80211_key *key; in ieee80211_key_alloc() local
661 static void ieee80211_key_free_common(struct ieee80211_key *key) in ieee80211_key_free_common()
684 static void __ieee80211_key_destroy(struct ieee80211_key *key, in __ieee80211_key_destroy()
705 static void ieee80211_key_destroy(struct ieee80211_key *key, in ieee80211_key_destroy()
720 void ieee80211_key_free_unused(struct ieee80211_key *key) in ieee80211_key_free_unused()
[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.4/drivers/tty/
Dsysrq.c87 static void sysrq_handle_loglevel(int key) in sysrq_handle_loglevel()
104 static void sysrq_handle_SAK(int key) in sysrq_handle_SAK()
120 static void sysrq_handle_unraw(int key) in sysrq_handle_unraw()
135 static void sysrq_handle_crash(int key) in sysrq_handle_crash()
149 static void sysrq_handle_reboot(int key) in sysrq_handle_reboot()
162 static void sysrq_handle_sync(int key) in sysrq_handle_sync()
173 static void sysrq_handle_show_timers(int key) in sysrq_handle_show_timers()
184 static void sysrq_handle_mountro(int key) in sysrq_handle_mountro()
196 static void sysrq_handle_showlocks(int key) in sysrq_handle_showlocks()
234 static void sysrq_handle_showallcpus(int key) in sysrq_handle_showallcpus()
[all …]
/Linux-v5.4/include/linux/
Dkey.h132 static inline key_ref_t make_key_ref(const struct key *key, in make_key_ref()
155 struct key *key; member
172 struct key { struct
174 key_serial_t serial; /* key serial number */ argument
180 struct key_user *user; /* owner of this key */ argument
181 void *security; /* security data for this key */ argument
183 time64_t expiry; /* time at which key expires (or 0) */ argument
186 time64_t last_used_at; /* last time used for LRU keyring discard */ argument
189 key_perm_t perm; /* access permissions */ argument
203 #define KEY_FLAG_DEAD 0 /* set if key type has been deleted */ argument
[all …]
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()
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.4/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.4/security/keys/
Dkey.c38 void __key_check(const struct key *key) in __key_check()
133 static inline void key_alloc_serial(struct key *key) in key_alloc_serial()
230 struct key *key; in key_alloc() local
369 int key_payload_reserve(struct key *key, size_t datalen) in key_payload_reserve()
406 static void mark_key_instantiated(struct key *key, int reject_error) in mark_key_instantiated()
421 static int __key_instantiate_and_link(struct key *key, in __key_instantiate_and_link()
494 int key_instantiate_and_link(struct key *key, in key_instantiate_and_link()
569 int key_reject_and_link(struct key *key, in key_reject_and_link()
641 void key_put(struct key *key) in key_put()
658 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.4/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.4/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.4/samples/bpf/
Dmap_perf_test_kern.c101 u32 key = bpf_get_current_pid_tgid(); in stress_hmap() local
116 u32 key = bpf_get_current_pid_tgid(); in stress_percpu_hmap() local
130 u32 key = bpf_get_current_pid_tgid(); in stress_hmap_alloc() local
144 u32 key = bpf_get_current_pid_tgid(); in stress_percpu_hmap_alloc() local
167 u32 key; in stress_lru_hmap_alloc() member
174 u32 key = 0; in stress_lru_hmap_alloc() local
240 } key; in stress_lpm_trie_map_alloc() local
259 u32 key = 1, i; in stress_hash_map_lookup() local
272 u32 key = 1, i; in stress_array_map_lookup() local
/Linux-v5.4/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.4/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()
177 static int pop_mpls(struct sk_buff *skb, struct sw_flow_key *key, in pop_mpls()
207 static int pop_vlan(struct sk_buff *skb, struct sw_flow_key *key) in pop_vlan()
221 static int push_vlan(struct sk_buff *skb, struct sw_flow_key *key, in push_vlan()
247 const struct ovs_key_ethernet *key, in set_eth_addr()
[all …]
/Linux-v5.4/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.4/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.4/fs/btrfs/
Dtree-checker.c78 struct btrfs_key key; in file_extent_err() local
111 struct btrfs_key *key, in file_extent_end()
128 struct btrfs_key *key, int slot, in check_extent_data_item()
245 static int check_csum_item(struct extent_buffer *leaf, struct btrfs_key *key, in check_csum_item()
283 struct btrfs_key key; in dir_item_err() local
302 struct btrfs_key *key, int slot) in check_dir_item()
417 struct btrfs_key key; in block_group_err() local
436 struct btrfs_key *key, int slot) in check_block_group_item()
668 struct btrfs_key key; in dev_item_err() local
687 struct btrfs_key *key, int slot) in check_dev_item()
[all …]
/Linux-v5.4/drivers/input/
Dsparse-keymap.c25 struct key_entry *key; in sparse_keymap_get_key_index() local
42 struct key_entry *key; in sparse_keymap_entry_by_index() local
64 struct key_entry *key; in sparse_keymap_entry_from_scancode() local
85 struct key_entry *key; in sparse_keymap_entry_from_keycode() local
98 struct key_entry *key; in sparse_keymap_locate() local
114 const struct key_entry *key; in sparse_keymap_getkeycode() local
136 struct key_entry *key; in sparse_keymap_setkeycode() local

12345678910>>...64