Home
last modified time | relevance | path

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

12345678910>>...60

/Linux-v4.19/kernel/
Djump_label.c71 int static_key_count(struct static_key *key) in static_key_count()
83 void static_key_slow_inc_cpuslocked(struct static_key *key) in static_key_slow_inc_cpuslocked()
122 void static_key_slow_inc(struct static_key *key) in static_key_slow_inc()
130 void static_key_enable_cpuslocked(struct static_key *key) in static_key_enable_cpuslocked()
152 void static_key_enable(struct static_key *key) in static_key_enable()
160 void static_key_disable_cpuslocked(struct static_key *key) in static_key_disable_cpuslocked()
176 void static_key_disable(struct static_key *key) in static_key_disable()
184 static void __static_key_slow_dec_cpuslocked(struct static_key *key, in __static_key_slow_dec_cpuslocked()
210 static void __static_key_slow_dec(struct static_key *key, in __static_key_slow_dec()
221 struct static_key_deferred *key = in jump_label_update_timeout() local
[all …]
/Linux-v4.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 …]
/Linux-v4.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
40 const siphash_key_t *key) in siphash_2u32()
45 const u32 d, const siphash_key_t *key) in siphash_4u32()
52 const siphash_key_t *key) in ___siphash_aligned()
78 const siphash_key_t *key) in siphash()
89 unsigned long key[2]; member
107 const hsiphash_key_t *key) in ___hsiphash_aligned()
131 const hsiphash_key_t *key) in hsiphash()
Djump_label.h85 #define STATIC_KEY_CHECK_USE(key) WARN(!static_key_initialized, \ argument
140 static __always_inline bool static_key_false(struct static_key *key) in static_key_false()
145 static __always_inline bool static_key_true(struct static_key *key) in static_key_true()
192 static inline int static_key_count(struct static_key *key) in static_key_count()
204 static __always_inline bool static_key_false(struct static_key *key) in static_key_false()
211 static __always_inline bool static_key_true(struct static_key *key) in static_key_true()
218 static inline void static_key_slow_inc(struct static_key *key) in static_key_slow_inc()
224 static inline void static_key_slow_dec(struct static_key *key) in static_key_slow_dec()
230 #define static_key_slow_inc_cpuslocked(key) static_key_slow_inc(key) argument
231 #define static_key_slow_dec_cpuslocked(key) static_key_slow_dec(key) argument
[all …]
Djump_label_ratelimit.h10 struct static_key key; member
24 struct static_key key; member
26 static inline void static_key_slow_dec_deferred(struct static_key_deferred *key) in static_key_slow_dec_deferred()
31 static inline void static_key_deferred_flush(struct static_key_deferred *key) in static_key_deferred_flush()
36 jump_label_rate_limit(struct static_key_deferred *key, in jump_label_rate_limit()
/Linux-v4.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 …]
Dbtree.c137 static void dec_key(struct btree_geo *geo, unsigned long *key) in dec_key()
161 unsigned long *key) in setkey()
210 unsigned long *key) in btree_last()
227 unsigned long *key) in keycmp()
232 static int keyzero(struct btree_geo *geo, unsigned long *key) in keyzero()
244 unsigned long *key) in btree_lookup()
274 unsigned long *key, void *val) in btree_update()
318 unsigned long *retry_key = NULL, key[MAX_KEYLEN]; in btree_get_prev() local
366 unsigned long *key) in getpos()
391 unsigned long *key, int level) in find_level()
[all …]
/Linux-v4.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 …]
/Linux-v4.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 …]
/Linux-v4.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 …]
Dbmap.c62 int nilfs_bmap_lookup_at_level(struct nilfs_bmap *bmap, __u64 key, int level, in nilfs_bmap_lookup_at_level()
86 int nilfs_bmap_lookup_contig(struct nilfs_bmap *bmap, __u64 key, __u64 *ptrp, in nilfs_bmap_lookup_contig()
98 static int nilfs_bmap_do_insert(struct nilfs_bmap *bmap, __u64 key, __u64 ptr) in nilfs_bmap_do_insert()
142 int nilfs_bmap_insert(struct nilfs_bmap *bmap, __u64 key, unsigned long rec) in nilfs_bmap_insert()
153 static int nilfs_bmap_do_delete(struct nilfs_bmap *bmap, __u64 key) in nilfs_bmap_do_delete()
240 int nilfs_bmap_delete(struct nilfs_bmap *bmap, __u64 key) in nilfs_bmap_delete()
251 static int nilfs_bmap_do_truncate(struct nilfs_bmap *bmap, __u64 key) in nilfs_bmap_do_truncate()
292 int nilfs_bmap_truncate(struct nilfs_bmap *bmap, __u64 key) in nilfs_bmap_truncate()
404 int nilfs_bmap_mark(struct nilfs_bmap *bmap, __u64 key, int level) in nilfs_bmap_mark()
446 __u64 key; in nilfs_bmap_data_get_key() local
[all …]
/Linux-v4.19/net/mac80211/
Dkey.c127 static int ieee80211_key_enable_hw_accel(struct ieee80211_key *key) in ieee80211_key_enable_hw_accel()
227 static void ieee80211_key_disable_hw_accel(struct ieee80211_key *key) in ieee80211_key_disable_hw_accel()
266 struct ieee80211_key *key = NULL; in __ieee80211_set_default_key() local
297 struct ieee80211_key *key = NULL; in __ieee80211_set_default_mgmt_key() local
391 struct ieee80211_key *key; in ieee80211_key_alloc() local
552 static void ieee80211_key_free_common(struct ieee80211_key *key) in ieee80211_key_free_common()
575 static void __ieee80211_key_destroy(struct ieee80211_key *key, in __ieee80211_key_destroy()
599 static void ieee80211_key_destroy(struct ieee80211_key *key, in ieee80211_key_destroy()
614 void ieee80211_key_free_unused(struct ieee80211_key *key) in ieee80211_key_free_unused()
653 int ieee80211_key_link(struct ieee80211_key *key, in ieee80211_key_link()
[all …]
Ddebugfs_key.c77 struct ieee80211_key *key = file->private_data; in key_algorithm_read() local
89 struct ieee80211_key *key = file->private_data; in key_tx_spec_write() local
127 struct ieee80211_key *key = file->private_data; in key_tx_spec_read() local
163 struct ieee80211_key *key = file->private_data; in key_rx_spec_read() local
231 struct ieee80211_key *key = file->private_data; in key_replays_read() local
264 struct ieee80211_key *key = file->private_data; in key_icverrors_read() local
289 struct ieee80211_key *key = file->private_data; in key_mic_failures_read() local
305 struct ieee80211_key *key = file->private_data; in key_key_read() local
330 void ieee80211_debugfs_key_add(struct ieee80211_key *key) in ieee80211_debugfs_key_add()
370 void ieee80211_debugfs_key_remove(struct ieee80211_key *key) in ieee80211_debugfs_key_remove()
[all …]
/Linux-v4.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
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()
495 int key_instantiate_and_link(struct key *key, in key_instantiate_and_link()
566 int key_reject_and_link(struct key *key, in key_reject_and_link()
633 void key_put(struct key *key) in key_put()
650 struct key *key; in key_lookup() local
[all …]
Duser_defined.c105 int user_update(struct key *key, struct key_preparsed_payload *prep) in user_update()
132 void user_revoke(struct key *key) in user_revoke()
150 void user_destroy(struct key *key) in user_destroy()
162 void user_describe(const struct key *key, struct seq_file *m) in user_describe()
175 long user_read(const struct key *key, char __user *buffer, size_t buflen) in user_read()
/Linux-v4.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()
/Linux-v4.19/net/mac802154/
Dllsec.c53 struct ieee802154_llsec_key_entry *key, *kn; in mac802154_llsec_destroy() local
125 struct mac802154_llsec_key *key; in llsec_key_alloc() local
172 struct mac802154_llsec_key *key; in llsec_key_release() local
185 llsec_key_get(struct mac802154_llsec_key *key) in llsec_key_get()
191 static void llsec_key_put(struct mac802154_llsec_key *key) in llsec_key_put()
222 const struct ieee802154_llsec_key *key) in mac802154_llsec_key_add()
277 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-v4.19/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-v4.19/tools/perf/arch/x86/util/
Dkvm-stat.c30 struct event_key *key) in mmio_event_get_key()
41 struct perf_sample *sample, struct event_key *key) in mmio_event_begin()
58 struct event_key *key) in mmio_event_end()
75 struct event_key *key, in mmio_event_decode_key()
93 struct event_key *key) in ioport_event_get_key()
101 struct event_key *key) in ioport_event_begin()
119 struct event_key *key, in ioport_event_decode_key()
/Linux-v4.19/net/openvswitch/
Dactions.c84 struct sw_flow_key key[OVS_DEFERRED_ACTION_THRESHOLD]; member
98 struct sw_flow_key *key = NULL; in clone_key() local
137 const struct sw_flow_key *key, in add_deferred_actions()
156 static void invalidate_flow_key(struct sw_flow_key *key) in invalidate_flow_key()
161 static bool is_flow_key_valid(const struct sw_flow_key *key) in is_flow_key_valid()
185 static int push_mpls(struct sk_buff *skb, struct sw_flow_key *key, in push_mpls()
221 static int pop_mpls(struct sk_buff *skb, struct sw_flow_key *key, in pop_mpls()
280 static int pop_vlan(struct sk_buff *skb, struct sw_flow_key *key) in pop_vlan()
294 static int push_vlan(struct sk_buff *skb, struct sw_flow_key *key, in push_vlan()
320 const struct ovs_key_ethernet *key, in set_eth_addr()
[all …]
/Linux-v4.19/drivers/input/
Dsparse-keymap.c28 struct key_entry *key; in sparse_keymap_get_key_index() local
45 struct key_entry *key; in sparse_keymap_entry_by_index() local
67 struct key_entry *key; in sparse_keymap_entry_from_scancode() local
88 struct key_entry *key; in sparse_keymap_entry_from_keycode() local
101 struct key_entry *key; in sparse_keymap_locate() local
117 const struct key_entry *key; in sparse_keymap_getkeycode() local
139 struct key_entry *key; in sparse_keymap_setkeycode() local
/Linux-v4.19/fs/nfs/
Ddns_resolve.c75 struct nfs_dns_ent *key; in nfs_dns_ent_update() local
88 struct nfs_dns_ent *key; in nfs_dns_ent_init() local
126 static unsigned int nfs_dns_hash(const struct nfs_dns_ent *key) in nfs_dns_hash()
135 struct nfs_dns_ent *key = container_of(ch, struct nfs_dns_ent, h); in nfs_dns_request() local
144 struct nfs_dns_ent *key = container_of(ch, struct nfs_dns_ent, h); in nfs_dns_upcall() local
194 struct nfs_dns_ent *key) in nfs_dns_lookup()
208 struct nfs_dns_ent *key) in nfs_dns_update()
223 struct nfs_dns_ent key, *item; in nfs_dns_parse() local
272 struct nfs_dns_ent *key, in do_cache_lookup()
288 struct nfs_dns_ent *key, in do_cache_lookup_nowait()
[all …]
/Linux-v4.19/net/ceph/
Dcrypto.c23 static int set_secret(struct ceph_crypto_key *key, void *buf) in set_secret()
77 int ceph_crypto_key_encode(struct ceph_crypto_key *key, void **p, void *end) in ceph_crypto_key_encode()
89 int ceph_crypto_key_decode(struct ceph_crypto_key *key, void **p, void *end) in ceph_crypto_key_decode()
107 int ceph_crypto_key_unarmor(struct ceph_crypto_key *key, const char *inkey) in ceph_crypto_key_unarmor()
134 void ceph_crypto_key_destroy(struct ceph_crypto_key *key) in ceph_crypto_key_destroy()
216 static int ceph_aes_crypt(const struct ceph_crypto_key *key, bool encrypt, in ceph_aes_crypt()
280 int ceph_crypt(const struct ceph_crypto_key *key, bool encrypt, in ceph_crypt()
334 static void ceph_key_destroy(struct key *key) in ceph_key_destroy()
/Linux-v4.19/fs/btrfs/
Dtree-checker.c75 struct btrfs_key key; in file_extent_err() local
109 struct btrfs_key *key, int slot) in check_extent_data_item()
192 struct extent_buffer *leaf, struct btrfs_key *key, in check_csum_item()
229 struct btrfs_key key; in dir_item_err() local
249 struct btrfs_key *key, int slot) in check_dir_item()
363 struct btrfs_key key; in block_group_err() local
383 struct btrfs_key *key, int slot) in check_block_group_item()
458 struct btrfs_key *key, int slot) in check_leaf_item()
486 struct btrfs_key key; in check_leaf() local
646 struct btrfs_key key, next_key; in btrfs_check_node() local

12345678910>>...60