Home
last modified time | relevance | path

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

12345678910>>...114

/kernel/linux/linux-4.19/kernel/
Djump_label.c69 int static_key_count(struct static_key *key) in static_key_count()
81 void static_key_slow_inc_cpuslocked(struct static_key *key) in static_key_slow_inc_cpuslocked()
120 void static_key_slow_inc(struct static_key *key) in static_key_slow_inc()
128 void static_key_enable_cpuslocked(struct static_key *key) in static_key_enable_cpuslocked()
150 void static_key_enable(struct static_key *key) in static_key_enable()
158 void static_key_disable_cpuslocked(struct static_key *key) in static_key_disable_cpuslocked()
174 void static_key_disable(struct static_key *key) in static_key_disable()
182 static void __static_key_slow_dec_cpuslocked(struct static_key *key, in __static_key_slow_dec_cpuslocked()
208 static void __static_key_slow_dec(struct static_key *key, in __static_key_slow_dec()
219 struct static_key_deferred *key = in jump_label_update_timeout() local
[all …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-4.19/fs/ubifs/
Dkey.h103 union ubifs_key *key, ino_t inum) in ino_key_init()
118 union ubifs_key *key = k; in ino_key_init_flash() local
132 union ubifs_key *key, ino_t inum) in lowest_ino_key()
145 union ubifs_key *key, ino_t inum) in highest_ino_key()
159 union ubifs_key *key, ino_t inum, in dent_key_init()
179 union ubifs_key *key, ino_t inum, in dent_key_init_hash()
198 union ubifs_key *key = k; in dent_key_init_flash() local
215 union ubifs_key *key, ino_t inum) in lowest_dent_key()
229 union ubifs_key *key, ino_t inum, in xent_key_init()
249 union ubifs_key *key = k; in xent_key_init_flash() local
[all …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-4.19/include/linux/
Dkey.h115 static inline key_ref_t make_key_ref(const struct key *key, in make_key_ref()
138 struct key *key; member
155 struct key { struct
157 key_serial_t serial; /* key serial number */ argument
163 struct key_user *user; /* owner of this key */ argument
164 void *security; /* security data for this key */ argument
166 time64_t expiry; /* time at which key expires (or 0) */ argument
169 time64_t last_used_at; /* last time used for LRU keyring discard */ argument
172 key_perm_t perm; /* access permissions */ argument
186 #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.h81 #define STATIC_KEY_CHECK_USE(key) WARN(!static_key_initialized, \ argument
136 static __always_inline bool static_key_false(struct static_key *key) in static_key_false()
141 static __always_inline bool static_key_true(struct static_key *key) in static_key_true()
188 static inline int static_key_count(struct static_key *key) in static_key_count()
200 static __always_inline bool static_key_false(struct static_key *key) in static_key_false()
207 static __always_inline bool static_key_true(struct static_key *key) in static_key_true()
214 static inline void static_key_slow_inc(struct static_key *key) in static_key_slow_inc()
220 static inline void static_key_slow_dec(struct static_key *key) in static_key_slow_dec()
226 #define static_key_slow_inc_cpuslocked(key) static_key_slow_inc(key) argument
227 #define static_key_slow_dec_cpuslocked(key) static_key_slow_dec(key) argument
[all …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-4.19/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 …]
/kernel/linux/linux-4.19/tools/testing/selftests/bpf/
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 …]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dtest_tunnel_kern.c49 struct bpf_tunnel_key key; in _gre_set_tunnel() local
71 struct bpf_tunnel_key key; in _gre_get_tunnel() local
87 struct bpf_tunnel_key key; in _ip6gretap_set_tunnel() local
112 struct bpf_tunnel_key key; in _ip6gretap_get_tunnel() local
131 struct bpf_tunnel_key key; in _erspan_set_tunnel() local
175 struct bpf_tunnel_key key; in _erspan_get_tunnel() local
215 struct bpf_tunnel_key key; in _ip4ip6erspan_set_tunnel() local
260 struct bpf_tunnel_key key; in _ip4ip6erspan_get_tunnel() local
302 struct bpf_tunnel_key key; in _vxlan_set_tunnel() local
332 struct bpf_tunnel_key key; in _vxlan_get_tunnel() local
[all …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-4.19/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()
156 static void sysrq_handle_reboot(int key) in sysrq_handle_reboot()
169 static void sysrq_handle_sync(int key) in sysrq_handle_sync()
180 static void sysrq_handle_show_timers(int key) in sysrq_handle_show_timers()
191 static void sysrq_handle_mountro(int key) in sysrq_handle_mountro()
203 static void sysrq_handle_showlocks(int key) in sysrq_handle_showlocks()
241 static void sysrq_handle_showallcpus(int key) in sysrq_handle_showallcpus()
[all …]
/kernel/linux/linux-4.19/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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-4.19/net/mac80211/
Dkey.c127 static int ieee80211_key_enable_hw_accel(struct ieee80211_key *key) in ieee80211_key_enable_hw_accel()
226 static void ieee80211_key_disable_hw_accel(struct ieee80211_key *key) in ieee80211_key_disable_hw_accel()
265 struct ieee80211_key *key = NULL; in __ieee80211_set_default_key() local
296 struct ieee80211_key *key = NULL; in __ieee80211_set_default_mgmt_key() local
390 struct ieee80211_key *key; in ieee80211_key_alloc() local
551 static void ieee80211_key_free_common(struct ieee80211_key *key) in ieee80211_key_free_common()
574 static void __ieee80211_key_destroy(struct ieee80211_key *key, in __ieee80211_key_destroy()
598 static void ieee80211_key_destroy(struct ieee80211_key *key, in ieee80211_key_destroy()
613 void ieee80211_key_free_unused(struct ieee80211_key *key) in ieee80211_key_free_unused()
652 int ieee80211_key_link(struct ieee80211_key *key, in ieee80211_key_link()
[all …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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
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()
573 int key_reject_and_link(struct key *key, in key_reject_and_link()
646 void key_put(struct key *key) in key_put()
663 struct key *key; in key_lookup() local
[all …]
/kernel/linux/linux-4.19/security/keys/
Dkey.c42 void __key_check(const struct key *key) in __key_check()
137 static inline void key_alloc_serial(struct key *key) in key_alloc_serial()
234 struct key *key; in key_alloc() local
371 int key_payload_reserve(struct key *key, size_t datalen) in key_payload_reserve()
408 static void mark_key_instantiated(struct key *key, int reject_error) in mark_key_instantiated()
423 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()
567 int key_reject_and_link(struct key *key, in key_reject_and_link()
634 void key_put(struct key *key) in key_put()
651 struct key *key; in key_lookup() local
[all …]
/kernel/linux/linux-5.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()
/kernel/linux/linux-4.19/crypto/
Drsa_helper.c24 struct rsa_key *key = context; in rsa_get_n() local
54 struct rsa_key *key = context; in rsa_get_e() local
69 struct rsa_key *key = context; in rsa_get_d() local
84 struct rsa_key *key = context; in rsa_get_p() local
99 struct rsa_key *key = context; in rsa_get_q() local
114 struct rsa_key *key = context; in rsa_get_dp() local
129 struct rsa_key *key = context; in rsa_get_dq() local
144 struct rsa_key *key = context; in rsa_get_qinv() local
167 int rsa_parse_pub_key(struct rsa_key *rsa_key, const void *key, in rsa_parse_pub_key()
186 int rsa_parse_priv_key(struct rsa_key *rsa_key, const void *key, in rsa_parse_priv_key()

12345678910>>...114