Home
last modified time | relevance | path

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

12345678910>>...69

/linux/kernel/
H A Djump_label.c104 int static_key_count(struct static_key *key) in static_key_count()
127 bool static_key_fast_inc_not_disabled(struct static_key *key) in static_key_fast_inc_not_disabled()
151 bool static_key_slow_inc_cpuslocked(struct static_key *key) in static_key_slow_inc_cpuslocked()
186 bool static_key_slow_inc(struct static_key *key) in static_key_slow_inc()
197 void static_key_enable_cpuslocked(struct static_key *key) in static_key_enable_cpuslocked()
220 void static_key_enable(struct static_key *key) in static_key_enable()
228 void static_key_disable_cpuslocked(struct static_key *key) in static_key_disable_cpuslocked()
245 void static_key_disable(struct static_key *key) in static_key_disable()
253 static bool static_key_dec_not_one(struct static_key *key) in static_key_dec_not_one()
292 static void __static_key_slow_dec_cpuslocked(struct static_key *key) in __static_key_slow_dec_cpuslocked()
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dmap_kptr_fail.c28 int key = 0; in size_not_bpf_dw() local
43 int key = 0, id; in non_const_var_off() local
62 int key = 0, id; in non_const_var_off_kptr_xchg() local
81 int key = 0; in misaligned_access_write() local
97 int key = 0; in misaligned_access_read() local
112 int key = 0, id; in reject_var_off_store() local
136 int key = 0; in reject_bad_type_match() local
156 int key = 0; in marked_as_untrusted_or_null() local
172 int key = 0; in correct_btf_id_check_size() local
190 int key = 0; in inherit_untrusted_on_walk() local
[all …]
H A Dtest_tunnel_kern.c61 struct bpf_tunnel_key key; in gre_set_tunnel() local
83 struct bpf_tunnel_key key; in gre_set_tunnel_no_key() local
104 struct bpf_tunnel_key key; in gre_get_tunnel() local
119 struct bpf_tunnel_key key; in ip6gretap_set_tunnel() local
143 struct bpf_tunnel_key key; in ip6gretap_get_tunnel() local
162 struct bpf_tunnel_key key; in erspan_set_tunnel() local
205 struct bpf_tunnel_key key; in erspan_get_tunnel() local
241 struct bpf_tunnel_key key; in ip4ip6erspan_set_tunnel() local
285 struct bpf_tunnel_key key; in ip4ip6erspan_get_tunnel() local
322 struct bpf_tunnel_key key; in vxlan_set_tunnel_dst() local
[all …]
H A Dwq.c56 static int test_elem_callback(void *map, int *key, in test_elem_callback()
89 static int test_hmap_elem_callback(void *map, int *key, in test_hmap_elem_callback()
120 static int wq_callback(void *map, int *key, void *value) in wq_callback()
128 static int wq_cb_sleepable(void *map, int *key, void *value) in wq_cb_sleepable()
146 int key = 0; in test_call_array_sleepable() local
156 int key = 1; in test_syscall_array_sleepable() local
166 int key = 2; in test_call_hash_sleepable() local
176 int key = 3; in test_call_hash_malloc_sleepable() local
186 int key = 4; in test_call_lru_sleepable() local
H A Dwq_failures.c31 static int wq_callback(void *map, int *key, void *value) in wq_callback()
38 static int wq_cb_sleepable(void *map, int *key, void *value) in wq_cb_sleepable()
56 int key = 0; in __flag() local
81 int key = 0; in __flag() local
104 int key = 0; in test_wrong_wq_pointer() local
130 int key = 0; in test_wrong_wq_pointer_offset() local
/linux/fs/ubifs/
H A 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/lib/
H A 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 …]
H A Dbtree.c134 static void dec_key(struct btree_geo *geo, unsigned long *key) in dec_key()
158 unsigned long *key) in setkey()
207 unsigned long *key) in btree_last()
224 unsigned long *key) in keycmp()
229 static int keyzero(struct btree_geo *geo, unsigned long *key) in keyzero()
241 unsigned long *key) in btree_lookup_node()
263 unsigned long *key) in btree_lookup()
280 unsigned long *key, void *val) in btree_update()
311 unsigned long *retry_key = NULL, key[MAX_KEYLEN]; in btree_get_prev() local
359 unsigned long *key) in getpos()
[all …]
/linux/tools/perf/util/bpf_skel/
H A Dkwork_trace.bpf.c90 static __always_inline int trace_event_match(struct work_key *key, char *name) in trace_event_match()
117 static __always_inline void do_update_time(void *map, struct work_key *key, in do_update_time()
146 static __always_inline void do_update_timestart(void *map, struct work_key *key) in do_update_timestart()
154 struct work_key *key) in do_update_timeend()
165 struct work_key *key, char *name) in do_update_name()
171 static __always_inline int update_timestart(void *map, struct work_key *key) in update_timestart()
182 struct work_key *key, in update_timestart_and_name()
195 void *time_map, struct work_key *key) in update_timeend()
208 struct work_key *key, in update_timeend_and_name()
224 struct work_key key = { in report_irq_handler_entry() local
[all …]
/linux/drivers/tty/
H A Dsysrq.c101 static void sysrq_handle_loglevel(u8 key) in sysrq_handle_loglevel()
117 static void sysrq_handle_SAK(u8 key) in sysrq_handle_SAK()
134 static void sysrq_handle_unraw(u8 key) in sysrq_handle_unraw()
149 static void sysrq_handle_crash(u8 key) in sysrq_handle_crash()
163 static void sysrq_handle_reboot(u8 key) in sysrq_handle_reboot()
178 static void sysrq_handle_sync(u8 key) in sysrq_handle_sync()
189 static void sysrq_handle_show_timers(u8 key) in sysrq_handle_show_timers()
200 static void sysrq_handle_mountro(u8 key) in sysrq_handle_mountro()
212 static void sysrq_handle_showlocks(u8 key) in sysrq_handle_showlocks()
252 static void sysrq_handle_showallcpus(u8 key) in sysrq_handle_showallcpus()
[all …]
/linux/include/linux/
H A 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 …]
H A 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()
H A 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()
H A Djump_label.h82 #define STATIC_KEY_CHECK_USE(key) WARN(!static_key_initialized, \ argument
121 long key; // key may be far away from the core kernel under KASLR member
206 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()
260 static __always_inline int static_key_count(struct static_key *key) in static_key_count()
272 static __always_inline bool static_key_false(struct static_key *key) in static_key_false()
279 static __always_inline bool static_key_true(struct static_key *key) in static_key_true()
286 static inline bool static_key_fast_inc_not_disabled(struct static_key *key) in static_key_fast_inc_not_disabled()
302 #define static_key_slow_inc(key) static_key_fast_inc_not_disabled(key) argument
304 static inline void static_key_slow_dec(struct static_key *key) in static_key_slow_dec()
[all …]
/linux/fs/nilfs2/
H A 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()
98 nilfs_direct_find_target_v(const struct nilfs_bmap *direct, __u64 key) in nilfs_direct_find_target_v()
111 static int nilfs_direct_insert(struct nilfs_bmap *bmap, __u64 key, __u64 ptr) in nilfs_direct_insert()
147 static int nilfs_direct_delete(struct nilfs_bmap *bmap, __u64 key) in nilfs_direct_delete()
172 __u64 key; in nilfs_direct_seek_key() local
186 __u64 key, lastkey; in nilfs_direct_last_key() local
202 static int nilfs_direct_check_insert(const struct nilfs_bmap *bmap, __u64 key) in nilfs_direct_check_insert()
[all …]
/linux/drivers/net/wireless/silabs/wfx/
H A 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/net/mac802154/
H A 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()
281 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/tools/perf/arch/x86/util/
H A Dkvm-stat.c31 struct event_key *key) in mmio_event_get_key()
42 struct perf_sample *sample, struct event_key *key) in mmio_event_begin()
59 struct event_key *key) in mmio_event_end()
76 struct event_key *key, in mmio_event_decode_key()
94 struct event_key *key) in ioport_event_get_key()
102 struct event_key *key) in ioport_event_begin()
120 struct event_key *key, in ioport_event_decode_key()
138 struct event_key *key) in msr_event_get_key()
146 struct event_key *key) in msr_event_begin()
164 struct event_key *key, in msr_event_decode_key()
/linux/crypto/
H A 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/security/keys/
H A 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
373 int key_payload_reserve(struct key *key, size_t datalen) in key_payload_reserve()
411 static void mark_key_instantiated(struct key *key, int reject_error) in mark_key_instantiated()
426 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()
646 void key_put(struct key *key) in key_put()
673 struct key *key; in key_lookup() local
[all …]
H A 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()
62 struct key *key = rka->target_key; in complete_request_key() local
124 struct key *key = rka->target_key, *keyring, *session, *user_session; in call_sbin_request_key() local
226 static int construct_key(struct key *key, const void *callout_info, in construct_key()
376 struct key *key; in construct_alloc_key() local
497 struct key *key; in construct_key_and_link() local
596 struct key *key; in request_key_and_link() local
676 int wait_for_key_construction(struct key *key, bool intr) in wait_for_key_construction()
711 struct key *key; in request_key_tag() local
[all …]
/linux/include/crypto/internal/
H A 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/fs/btrfs/
H A Dtree-checker.c86 struct btrfs_key key; in file_extent_err() local
121 struct btrfs_key *key, in file_extent_end()
147 struct btrfs_key key; in dir_item_err() local
176 struct btrfs_key *key, int slot, in check_prev_ino()
207 struct btrfs_key *key, int slot, in check_extent_data_item()
364 static int check_csum_item(struct extent_buffer *leaf, struct btrfs_key *key, in check_csum_item()
410 static int check_inode_key(struct extent_buffer *leaf, struct btrfs_key *key, in check_inode_key()
462 static int check_root_key(struct extent_buffer *leaf, struct btrfs_key *key, in check_root_key()
521 struct btrfs_key *key, struct btrfs_key *prev_key, in check_dir_item()
662 struct btrfs_key key; in block_group_err() local
[all …]
/linux/drivers/nvdimm/
H A 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
253 struct key *key; in security_disable() local
302 struct key *key, *newkey; in security_update() local
[all …]
/linux/net/openvswitch/
H A Dactions.c78 struct sw_flow_key key[OVS_DEFERRED_ACTION_THRESHOLD]; member
92 struct sw_flow_key *key = NULL; in clone_key() local
131 const struct sw_flow_key *key, in add_deferred_actions()
150 static void invalidate_flow_key(struct sw_flow_key *key) in invalidate_flow_key()
155 static bool is_flow_key_valid(const struct sw_flow_key *key) in is_flow_key_valid()
170 static int push_mpls(struct sk_buff *skb, struct sw_flow_key *key, in push_mpls()
186 static int pop_mpls(struct sk_buff *skb, struct sw_flow_key *key, in pop_mpls()
223 static int pop_vlan(struct sk_buff *skb, struct sw_flow_key *key) in pop_vlan()
237 static int push_vlan(struct sk_buff *skb, struct sw_flow_key *key, in push_vlan()
267 const struct ovs_key_ethernet *key, in set_eth_addr()
[all …]

12345678910>>...69