Home
last modified time | relevance | path

Searched refs:key (Results 26 – 50 of 4352) sorted by relevance

12345678910>>...175

/openbmc/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_gen2_config.c30 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_BANK_NUM, i); in adf_gen2_crypto_dev_config()
36 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_BANK_NUM, i); in adf_gen2_crypto_dev_config()
42 snprintf(key, sizeof(key), ADF_CY "%d" ADF_ETRMGR_CORE_AFFINITY, in adf_gen2_crypto_dev_config()
49 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_SIZE, i); in adf_gen2_crypto_dev_config()
57 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_SIZE, i); in adf_gen2_crypto_dev_config()
64 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_TX, i); in adf_gen2_crypto_dev_config()
71 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_TX, i); in adf_gen2_crypto_dev_config()
78 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_RX, i); in adf_gen2_crypto_dev_config()
85 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_RX, i); in adf_gen2_crypto_dev_config()
143 snprintf(key, sizeof(key), ADF_DC "%d" ADF_RING_DC_TX, i); in adf_gen2_comp_dev_config()
[all …]
/openbmc/linux/fs/nilfs2/
H A Ddirect.c172 __u64 key; in nilfs_direct_seek_key() local
174 for (key = start; key <= NILFS_DIRECT_KEY_MAX; key++) { in nilfs_direct_seek_key()
177 *keyp = key; in nilfs_direct_seek_key()
186 __u64 key, lastkey; in nilfs_direct_last_key() local
189 for (key = NILFS_DIRECT_KEY_MIN; key <= NILFS_DIRECT_KEY_MAX; key++) in nilfs_direct_last_key()
192 lastkey = key; in nilfs_direct_last_key()
210 __u64 key; in nilfs_direct_gather_data() local
217 for (key = 0; key < nitems; key++) { in nilfs_direct_gather_data()
220 keys[n] = key; in nilfs_direct_gather_data()
266 __u64 key; in nilfs_direct_propagate() local
[all …]
/openbmc/linux/drivers/input/
H A Dsparse-keymap.c28 for (key = dev->keycode; key->type != KE_END; key++) { in sparse_keymap_get_key_index()
45 for (key = dev->keycode; key->type != KE_END; key++) in sparse_keymap_entry_by_index()
66 for (key = dev->keycode; key->type != KE_END; key++) in sparse_keymap_entry_from_scancode()
68 return key; in sparse_keymap_entry_from_scancode()
87 for (key = dev->keycode; key->type != KE_END; key++) in sparse_keymap_entry_from_keycode()
88 if (key->type == KE_KEY && keycode == key->keycode) in sparse_keymap_entry_from_keycode()
106 key = NULL; in sparse_keymap_locate()
108 return key; in sparse_keymap_locate()
118 if (key && key->type == KE_KEY) { in sparse_keymap_getkeycode()
124 memcpy(ke->scancode, &key->code, sizeof(key->code)); in sparse_keymap_getkeycode()
[all …]
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/js/
H A Dfiltersnippet.js8 function date_enable (key, action) { argument
56 if (key == initial_enable) {
57 date_enable (key, "enable");
59 date_enable (key, "disable");
65 key=$(this).attr("data-key");
66 date_enable (key, 'enable');
68 key=$(this).attr("data-key");
83 if (key !== undefined) {
85 …var filter=key+"__gte!"+key+"__lt:"+$("#date_from_"+key).val()+"!"+$("#date_to_"+key).val()+"_date…
86 $("#last_date_from_"+key).val($("#date_from_"+key).val());
[all …]
/openbmc/linux/drivers/nvdimm/
H A Dsecurity.c27 static void *key_data(struct key *key) in key_data() argument
36 static void nvdimm_put_key(struct key *key) in nvdimm_put_key() argument
52 struct key *key = NULL; in nvdimm_request_key() local
81 struct key **key) in nvdimm_get_key_payload() argument
94 struct key *key; in nvdimm_lookup_user_key() local
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
351 struct key *key = NULL; in security_erase() local
[all …]
/openbmc/linux/security/keys/
H A Dkeyring.c565 bool key_default_cmp(const struct key *key, in key_default_cmp() argument
675 struct key *key; in search_nested_keyrings() local
1101 struct key *keyring, *key; in find_key_to_update() local
1350 int __key_link_check_live_key(struct key *keyring, struct key *key) in __key_link_check_live_key() argument
1367 void __key_link(struct key *keyring, struct key *key, in __key_link() argument
1435 int key_link(struct key *keyring, struct key *key) in key_link() argument
1484 static int __key_unlink_begin(struct key *keyring, struct key *key, in __key_unlink_begin() argument
1506 static void __key_unlink(struct key *keyring, struct key *key, in __key_unlink() argument
1519 struct key *key, in __key_unlink_end()
1545 int key_unlink(struct key *keyring, struct key *key) in key_unlink() argument
[all …]
H A Dinternal.h102 extern int __key_link_check_live_key(struct key *keyring, struct key *key);
103 extern void __key_link(struct key *keyring, struct key *key,
112 extern struct key *keyring_search_instkey(struct key *keyring,
116 int (*func)(const struct key *key, void *data),
141 extern bool key_default_cmp(const struct key *key,
166 extern bool lookup_user_key_possessed(const struct key *key,
177 void key_set_expiry(struct key *key, time64_t expiry);
186 static inline void notify_key(struct key *key, in notify_key() argument
213 extern struct key *request_key_auth_new(struct key *target,
372 static inline void key_check(const struct key *key) in key_check() argument
[all …]
H A Dproc.c70 struct key *key = rb_entry(n, struct key, serial_node); in key_serial_next() local
85 struct key *key = rb_entry(n, struct key, serial_node); in find_ge_key() local
88 minkey = key; in find_ge_key()
93 minkey = key; in find_ge_key()
96 key = NULL; in find_ge_key()
116 struct key *key; in proc_keys_start() local
123 if (!key) in proc_keys_start()
131 struct key *key = rb_entry(n, struct key, serial_node); in key_node_serial() local
156 struct key *key = rb_entry(_p, struct key, serial_node); in proc_keys_show() local
237 key->perm, in proc_keys_show()
[all …]
/openbmc/linux/tools/perf/arch/x86/util/
H A Dkvm-stat.c33 key->key = evsel__intval(evsel, sample, "gpa"); in mmio_event_get_key()
59 struct event_key *key) in mmio_event_end() argument
76 struct event_key *key, in mmio_event_decode_key() argument
80 (unsigned long)key->key, in mmio_event_decode_key()
94 struct event_key *key) in ioport_event_get_key() argument
96 key->key = evsel__intval(evsel, sample, "port"); in ioport_event_get_key()
124 (unsigned long long)key->key, in ioport_event_decode_key()
138 struct event_key *key) in msr_event_get_key() argument
140 key->key = evsel__intval(evsel, sample, "ecx"); in msr_event_get_key()
168 (unsigned long long)key->key, in msr_event_decode_key()
[all …]
/openbmc/linux/fs/afs/
H A Dsecurity.c25 struct key *key; in afs_request_key() local
53 struct key *key; in afs_request_key_rcu() local
164 if (permits->permits[i].key < key) in afs_cache_permit()
166 if (permits->permits[i].key > key) in afs_cache_permit()
232 new->permits[j].key = key; in afs_cache_permit()
243 new->permits[j].key = key; in afs_cache_permit()
322 if (permits->permits[i].key < key) in afs_check_permit_rcu()
324 if (permits->permits[i].key > key) in afs_check_permit_rcu()
362 if (permits->permits[i].key < key) in afs_check_permit()
364 if (permits->permits[i].key > key) in afs_check_permit()
[all …]
/openbmc/linux/include/linux/
H A Dsiphash.h20 u64 key[2]; member
27 return !(key->key[0] | key->key[1]); in siphash_key_is_zero()
36 const siphash_key_t *key);
38 const siphash_key_t *key);
41 const siphash_key_t *key);
64 key); in ___siphash_aligned()
71 key); in ___siphash_aligned()
82 const siphash_key_t *key) in siphash() argument
92 unsigned long key[2]; member
114 key); in ___hsiphash_aligned()
[all …]
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
30 __static_key_slow_dec_deferred(&(x)->key.key, &(x)->work, (x)->timeout)
65 struct static_key key; member
68 struct static_key_true key; member
71 struct static_key_false key; member
82 STATIC_KEY_CHECK_USE(key); in static_key_slow_dec_deferred()
83 static_key_slow_dec(&key->key); in static_key_slow_dec_deferred()
87 STATIC_KEY_CHECK_USE(key); in static_key_deferred_flush()
[all …]
/openbmc/qemu/qobject/
H A Dqdict.c61 entry->key = g_strdup(key); in alloc_entry()
85 return entry->key; in qdict_entry_key()
97 if (!strcmp(entry->key, key)) { in qdict_find()
120 bucket = tdb_hash(key) % QDICT_BUCKET_MAX; in qdict_put_obj()
121 entry = qdict_find(qdict, key, bucket); in qdict_put_obj()
128 entry = alloc_entry(key, value); in qdict_put_obj()
151 qdict_put(qdict, key, qnull()); in qdict_put_null()
164 entry = qdict_find(qdict, key, tdb_hash(key) % QDICT_BUCKET_MAX); in qdict_get()
368 assert(e->key != NULL); in qentry_destroy()
372 g_free(e->key); in qentry_destroy()
[all …]
/openbmc/linux/samples/bpf/
H A Dmap_perf_test.bpf.c19 __type(key, u32);
26 __type(key, u32);
33 __type(key, u32);
41 __type(key, u32);
184 u32 key; in BPF_KSYSCALL() member
190 u32 key = 0; in BPF_KSYSCALL() local
230 key = test_params.key; in BPF_KSYSCALL()
235 key++; in BPF_KSYSCALL()
254 } key; in BPF_KSYSCALL() local
260 key.b8[6] = 0; in BPF_KSYSCALL()
[all …]
/openbmc/linux/security/integrity/
H A Ddigsig_asymmetric.c22 static struct key *request_asymmetric_key(struct key *keyring, uint32_t keyid) in request_asymmetric_key()
24 struct key *key; in request_asymmetric_key() local
32 if (key) { in request_asymmetric_key()
57 if (IS_ERR(key)) { in request_asymmetric_key()
61 PTR_ERR(key)); in request_asymmetric_key()
73 return key; in request_asymmetric_key()
79 return key; in request_asymmetric_key()
88 struct key *key; in asymmetric_verify() local
103 if (IS_ERR(key)) in asymmetric_verify()
104 return PTR_ERR(key); in asymmetric_verify()
[all …]
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dlookup_and_delete.c18 for (key = 1; key < MAX_ENTRIES + 1; key++) { in fill_values()
35 for (key = 1; key < MAX_ENTRIES + 1; key++) { in fill_values_percpu()
114 key = 1; in test_lookup_and_delete_hash()
116 &key, sizeof(key), &value, sizeof(value), 0); in test_lookup_and_delete_hash()
150 key = 1; in test_lookup_and_delete_percpu_hash()
152 &key, sizeof(key), value, sizeof(value), 0); in test_lookup_and_delete_percpu_hash()
190 key = 3; in test_lookup_and_delete_lru_hash()
211 key = 1; in test_lookup_and_delete_lru_hash()
236 key = 3; in test_lookup_and_delete_lru_percpu_hash()
247 &key, sizeof(key), value, sizeof(value), 0); in test_lookup_and_delete_lru_percpu_hash()
[all …]
/openbmc/linux/tools/perf/util/bpf_skel/
H A Dkwork_trace.bpf.c207 struct work_key *key, in update_timeend_and_name() argument
223 struct work_key key = { in report_irq_handler_entry() local
239 struct work_key key = { in report_irq_handler_exit() local
265 struct work_key key = { in report_softirq_entry() local
283 struct work_key key = { in report_softirq_exit() local
296 struct work_key key = { in latency_softirq_raise() local
314 struct work_key key = { in latency_softirq_entry() local
326 struct work_key key = { in report_workqueue_execute_start() local
339 struct work_key key = { in report_workqueue_execute_end() local
356 struct work_key key = { in latency_workqueue_activate_work() local
[all …]
/openbmc/linux/crypto/asymmetric_keys/
H A Drestrict.c76 struct key *key; in restrict_link_by_signature() local
100 if (IS_ERR(key)) in restrict_link_by_signature()
107 key_put(key); in restrict_link_by_signature()
208 struct key *key = NULL; in key_or_keyring_common() local
236 if (IS_ERR(key)) in key_or_keyring_common()
237 key = NULL; in key_or_keyring_common()
291 if (IS_ERR(key)) in key_or_keyring_common()
292 key = NULL; in key_or_keyring_common()
295 if (!key) in key_or_keyring_common()
298 ret = key_validate(key); in key_or_keyring_common()
[all …]
/openbmc/linux/net/mctp/
H A Droute.c139 key = kzalloc(sizeof(*key), gfp); in mctp_key_alloc()
140 if (!key) in mctp_key_alloc()
152 return key; in mctp_key_alloc()
166 mctp_dev_release_key(key->dev, key); in mctp_key_unref()
170 kfree(key); in mctp_key_unref()
233 mctp_dev_release_key(key->dev, key); in __mctp_key_done_in()
263 flow->key = key; in mctp_skb_set_flow()
275 key = flow->key; in mctp_flow_prepare_output()
277 if (WARN_ON(key->dev && key->dev != dev)) in mctp_flow_prepare_output()
439 if (key->reasm_head || key->reasm_dead) { in mctp_route_input()
[all …]
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dmap_kptr_fail.c18 __type(key, int);
28 int key = 0; in size_not_bpf_dw() local
81 int key = 0; in misaligned_access_write() local
97 int key = 0; in misaligned_access_read() 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
209 int key = 0; in reject_kptr_xchg_on_unref() local
224 int key = 0; in mark_ref_as_untrusted_or_null() local
[all …]
/openbmc/linux/include/keys/
H A Duser-type.h40 extern int user_update(struct key *key, struct key_preparsed_payload *prep);
41 extern void user_revoke(struct key *key);
42 extern void user_destroy(struct key *key);
43 extern void user_describe(const struct key *user, struct seq_file *m);
44 extern long user_read(const struct key *key, char *buffer, size_t buflen);
46 static inline const struct user_key_payload *user_key_payload_rcu(const struct key *key) in user_key_payload_rcu() argument
48 return (struct user_key_payload *)dereference_key_rcu(key); in user_key_payload_rcu()
51 static inline struct user_key_payload *user_key_payload_locked(const struct key *key) in user_key_payload_locked() argument
53 return (struct user_key_payload *)dereference_key_locked((struct key *)key); in user_key_payload_locked()
/openbmc/linux/net/mac80211/
H A Ddebugfs_key.c75 u32 c = key->conf.cipher; in key_algorithm_read()
90 switch (key->conf.cipher) { in key_tx_spec_write()
312 p += scnprintf(p, bufsize + buf - p, "%02x", key->conf.key[i]); in key_key_read()
318 KEY_OPS(key);
342 sta = key->sta; in ieee80211_debugfs_key_add()
346 key->debugfs.stalink = in ieee80211_debugfs_key_add()
360 DEBUGFS_ADD(key); in ieee80211_debugfs_key_add()
366 if (!key) in ieee80211_debugfs_key_remove()
370 key->debugfs.dir = NULL; in ieee80211_debugfs_key_remove()
418 if (key) { in ieee80211_debugfs_key_add_mgmt_default()
[all …]
/openbmc/linux/drivers/staging/vt6656/
H A Dkey.c43 u8 key_inx = key->keyidx; in vnt_set_keymode()
56 key->hw_key_idx = i; in vnt_set_keymode()
57 entry = key->hw_key_idx; in vnt_set_keymode()
67 key->hw_key_idx = entry; in vnt_set_keymode()
86 if (key->keylen == WLAN_KEY_LEN_WEP40) in vnt_set_keymode()
87 key->key[15] &= 0x7f; in vnt_set_keymode()
88 if (key->keylen == WLAN_KEY_LEN_WEP104) in vnt_set_keymode()
89 key->key[15] |= 0x80; in vnt_set_keymode()
93 key_inx, bssid, key->key); in vnt_set_keymode()
106 switch (key->cipher) { in vnt_set_keys()
[all …]
/openbmc/qemu/hw/usb/
H A Du2f.c144 key->pending_in_start = 0; in u2f_key_reset()
145 key->pending_in_end = 0; in u2f_key_reset()
146 key->pending_in_num = 0; in u2f_key_reset()
153 u2f_key_reset(key); in u2f_key_handle_reset()
180 data[0] = key->idle; in u2f_key_handle_control()
216 index = key->pending_in_end; in u2f_pending_in_add()
218 ++key->pending_in_num; in u2f_pending_in_add()
233 --key->pending_in_num; in u2f_pending_in_get()
271 usb_wakeup(key->ep, 0); in u2f_send_to_guest()
280 kc->unrealize(key); in u2f_key_unrealize()
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/
H A DCOW.py57 key += MUTABLE
58 setattr(cls, key, value)
61 nkey = key + MUTABLE
106 def __delitem__(cls, key): argument
111 key += MUTABLE
112 delattr(cls, key)
114 def __contains__(cls, key): argument
117 def has_key(cls, key): argument
124 for key in dir(cls):
129 key = key[:-len(MUTABLE)]
[all …]

12345678910>>...175