Home
last modified time | relevance | path

Searched refs:key (Results 1001 – 1025 of 5260) sorted by relevance

1...<<41424344454647484950>>...211

/openbmc/linux/net/tipc/
H A Dname_table.c231 u32 key) in tipc_publ_create() argument
241 p->key = key; in tipc_publ_create()
340 u32 key = p->key; in tipc_service_insert_publ() local
351 if (_p->key == key && (!_p->sk.node || _p->sk.node == node)) { in tipc_service_insert_publ()
354 node, p->sk.ref, key); in tipc_service_insert_publ()
385 u32 key) in tipc_service_remove_publ() argument
391 if (p->key != key || (node && node != p->sk.node)) in tipc_service_remove_publ()
479 u32 key) in tipc_nametbl_insert_publ() argument
500 u32 key) in tipc_nametbl_remove_publ() argument
968 if (p->key == *last_key) in __tipc_nl_add_nametable_publ()
[all …]
/openbmc/linux/fs/btrfs/
H A Dblock-group.c743 key.offset = 0; in load_extent_tree_free()
790 key.offset = 0; in load_extent_tree_free()
817 last = key.objectid + key.offset; in load_extent_tree_free()
2006 em = lookup_extent_mapping(em_tree, key->objectid, key->offset); in read_bg_from_eb()
2011 key->objectid, key->offset); in read_bg_from_eb()
2015 if (em->start != key->objectid || em->len != key->offset) { in read_bg_from_eb()
2018 key->objectid, key->offset, em->start, em->len); in read_bg_from_eb()
2031 key->objectid, key->offset, flags, in read_bg_from_eb()
2508 key.offset = 0; in btrfs_read_block_groups()
2543 key.objectid += key.offset; in btrfs_read_block_groups()
[all …]
H A Dref-verify.c457 if (key->type == BTRFS_METADATA_ITEM_KEY) in process_extent_item()
458 *tree_block_level = key->offset; in process_extent_item()
480 key->objectid, key->offset); in process_extent_item()
486 key->objectid, key->offset); in process_extent_item()
510 struct btrfs_key key; in process_leaf() local
514 btrfs_item_key_to_cpu(leaf, &key, i); in process_leaf()
515 switch (key.type) { in process_leaf()
517 *num_bytes = key.offset; in process_leaf()
520 *bytenr = key.objectid; in process_leaf()
526 key.objectid, *tree_block_level); in process_leaf()
[all …]
/openbmc/linux/net/mac802154/
H A Dmib.c73 const struct ieee802154_llsec_key *key) in mac802154_add_key() argument
81 res = mac802154_llsec_key_add(&sdata->sec, id, key); in mac802154_add_key()
133 const struct ieee802154_llsec_device_key *key) in mac802154_add_devkey() argument
141 res = mac802154_llsec_devkey_add(&sdata->sec, device_addr, key); in mac802154_add_devkey()
149 const struct ieee802154_llsec_device_key *key) in mac802154_del_devkey() argument
157 res = mac802154_llsec_devkey_del(&sdata->sec, device_addr, key); in mac802154_del_devkey()
/openbmc/linux/tools/testing/selftests/bpf/benchs/
H A Dbench_local_storage.c33 static error_t parse_arg(int key, char *arg, struct argp_state *state) in parse_arg() argument
37 switch (key) { in parse_arg()
101 int i, key, val; in prepopulate_hashmap() local
107 key = val = i; in prepopulate_hashmap()
108 if (bpf_map_update_elem(fd, &key, &val, 0)) { in prepopulate_hashmap()
109 fprintf(stderr, "Error prepopulating hashmap (key %d)\n", key); in prepopulate_hashmap()
/openbmc/linux/kernel/futex/
H A Dfutex.h69 union futex_key key; member
101 union futex_key key; member
119 extern int get_futex_key(u32 __user *uaddr, bool fshared, union futex_key *key,
126 extern struct futex_hash_bucket *futex_hash(union futex_key *key);
152 extern struct futex_q *futex_top_waiter(struct futex_hash_bucket *hb, union futex_key *key);
224 union futex_key *key,
/openbmc/linux/net/ieee802154/
H A Dnl-mac.c835 struct ieee802154_llsec_key *key) in ieee802154_llsec_parse_key() argument
840 memset(key, 0, sizeof(*key)); in ieee802154_llsec_parse_key()
861 key->cmd_frame_ids = commands[7]; in ieee802154_llsec_parse_key()
864 key->frame_types = frames; in ieee802154_llsec_parse_key()
866 nla_memcpy(key->key, info->attrs[IEEE802154_ATTR_LLSEC_KEY_BYTES], in ieee802154_llsec_parse_key()
875 struct ieee802154_llsec_key key; in llsec_add_key() local
927 key->key->frame_types)) in ieee802154_nl_fill_key()
930 if (key->key->frame_types & BIT(IEEE802154_FC_TYPE_MAC_CMD)) { in ieee802154_nl_fill_key()
932 commands[7] = key->key->cmd_frame_ids; in ieee802154_nl_fill_key()
939 IEEE802154_LLSEC_KEY_SIZE, key->key->key)) in ieee802154_nl_fill_key()
[all …]
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dasync_stack_depth.c14 __type(key, int);
19 static int timer_cb(void *map, int *key, struct bpf_timer *timer) in timer_cb() argument
26 static int bad_timer_cb(void *map, int *key, struct bpf_timer *timer) in bad_timer_cb() argument
/openbmc/linux/drivers/net/ethernet/intel/ixgbevf/
H A Dipsec.h21 u32 key[4]; member
37 u32 key[4]; member
64 u32 key[5]; member
/openbmc/linux/drivers/net/wireless/st/cw1200/
H A Dsta.c723 &key->key[0], key->keylen); in cw1200_set_key()
728 &key->key[0], key->keylen); in cw1200_set_key()
740 &key->key[0], 16); in cw1200_set_key()
742 &key->key[16], 8); in cw1200_set_key()
744 &key->key[24], 8); in cw1200_set_key()
751 &key->key[0], 16); in cw1200_set_key()
774 &key->key[0], 16); in cw1200_set_key()
778 &key->key[0], 16); in cw1200_set_key()
797 &key->key[0], 16); in cw1200_set_key()
799 &key->key[16], 16); in cw1200_set_key()
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/parse/
H A Dast.py92 def getFunc(self, key, data): argument
96 return data.getVar(key, False, noweakdefault=True, parsing=True)
100 key = groupd["var"]
102 'variable': key,
107 data.setVarFlag(key, "export", 1, op = 'exported', **loginfo)
111 val = self.getFunc(key, data)
118 val = e.expand(groupd["value"], key + "[:=]")
127 val = "%s%s" % ((self.getFunc(key, data) or ""), groupd["value"])
134 if ":append" in key or ":remove" in key or ":prepend" in key:
148 data.setVarFlag(key, flag, val, **loginfo)
[all …]
/openbmc/linux/drivers/net/ethernet/mscc/
H A Docelot_ptp.c329 trap->key.ipv4.proto.mask[0] = 0xff; in ocelot_populate_ipv4_ptp_event_trap_key()
330 trap->key.ipv4.dport.value = PTP_EV_PORT; in ocelot_populate_ipv4_ptp_event_trap_key()
331 trap->key.ipv4.dport.mask = 0xffff; in ocelot_populate_ipv4_ptp_event_trap_key()
339 trap->key.ipv6.proto.mask[0] = 0xff; in ocelot_populate_ipv6_ptp_event_trap_key()
340 trap->key.ipv6.dport.value = PTP_EV_PORT; in ocelot_populate_ipv6_ptp_event_trap_key()
341 trap->key.ipv6.dport.mask = 0xffff; in ocelot_populate_ipv6_ptp_event_trap_key()
349 trap->key.ipv4.proto.mask[0] = 0xff; in ocelot_populate_ipv4_ptp_general_trap_key()
350 trap->key.ipv4.dport.value = PTP_GEN_PORT; in ocelot_populate_ipv4_ptp_general_trap_key()
351 trap->key.ipv4.dport.mask = 0xffff; in ocelot_populate_ipv4_ptp_general_trap_key()
359 trap->key.ipv6.proto.mask[0] = 0xff; in ocelot_populate_ipv6_ptp_general_trap_key()
[all …]
/openbmc/qemu/qobject/
H A Dqlit.c30 for (i = 0; lhs->value.qdict[i].key; i++) { in qlit_equal_qdict()
31 QObject *obj = qdict_get(qdict, lhs->value.qdict[i].key); in qlit_equal_qdict()
104 for (e = qlit->value.qdict; e->key; e++) { in qobject_from_qlit()
105 qdict_put_obj(qdict, e->key, qobject_from_qlit(&e->value)); in qobject_from_qlit()
/openbmc/linux/drivers/crypto/vmx/
H A Daes.c61 static int p8_aes_setkey(struct crypto_tfm *tfm, const u8 *key, in p8_aes_setkey() argument
70 ret = aes_p8_set_encrypt_key(key, keylen * 8, &ctx->enc_key); in p8_aes_setkey()
71 ret |= aes_p8_set_decrypt_key(key, keylen * 8, &ctx->dec_key); in p8_aes_setkey()
76 ret |= crypto_cipher_setkey(ctx->fallback, key, keylen); in p8_aes_setkey()
/openbmc/linux/Documentation/devicetree/bindings/input/touchscreen/
H A Dst,stmfts.yaml15 as a basic HOME and BACK key for phones.
34 description: Power supply to the touch key leds
36 touch-key-connected:
67 touch-key-connected;
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_sprite_uapi.c21 struct drm_intel_sprite_colorkey *key = &plane_state->ckey; in intel_plane_set_ckey() local
23 *key = *set; in intel_plane_set_ckey()
31 key->flags = 0; in intel_plane_set_ckey()
39 key->flags = 0; in intel_plane_set_ckey()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dmap_lock.c24 int vars[17], i, j, rnd, key = 0; in parallel_map_access() local
27 err = bpf_map_lookup_elem_flags(map_fd, &key, vars, BPF_F_LOCK); in parallel_map_access()
56 int err = 0, key = 0, i; in test_map_lock() local
71 bpf_map_update_elem(map_fd[0], &key, vars, BPF_F_LOCK); in test_map_lock()
/openbmc/linux/drivers/soc/qcom/
H A Dice.c173 } key; in qcom_ice_program_key() local
186 memcpy(key.bytes, crypto_key, AES_256_XTS_KEY_SIZE); in qcom_ice_program_key()
189 for (i = 0; i < ARRAY_SIZE(key.words); i++) in qcom_ice_program_key()
190 __cpu_to_be32s(&key.words[i]); in qcom_ice_program_key()
192 err = qcom_scm_ice_set_key(slot, key.bytes, AES_256_XTS_KEY_SIZE, in qcom_ice_program_key()
196 memzero_explicit(&key, sizeof(key)); in qcom_ice_program_key()
/openbmc/linux/samples/bpf/
H A Dsockex3_kern.c64 __type(key, __u32);
72 u32 key = bpf_get_smp_processor_id(); in this_cpu_globals() local
74 return bpf_map_lookup_elem(&percpu_map, &key); in this_cpu_globals()
85 __type(key, struct flow_key_record);
92 struct flow_key_record key = g->flow; in update_stats() local
95 value = bpf_map_lookup_elem(&hash_map, &key); in update_stats()
102 bpf_map_update_elem(&hash_map, &key, &val, BPF_ANY); in update_stats()
/openbmc/linux/crypto/
H A Daegis128-core.c36 union aegis_block key; member
99 const union aegis_block *key, in crypto_aegis128_init() argument
105 key_iv = *key; in crypto_aegis128_init()
111 state->blocks[3] = *key; in crypto_aegis128_init()
112 state->blocks[4] = *key; in crypto_aegis128_init()
118 crypto_aegis128_update_a(state, key, false); in crypto_aegis128_init()
374 memcpy(ctx->key.bytes, key, AEGIS128_KEY_SIZE); in crypto_aegis128_setkey()
399 crypto_aegis128_init(&state, &ctx->key, req->iv); in crypto_aegis128_encrypt_generic()
425 crypto_aegis128_init(&state, &ctx->key, req->iv); in crypto_aegis128_decrypt_generic()
463 crypto_aegis128_init_simd(&state, &ctx->key, req->iv); in crypto_aegis128_encrypt_simd()
[all …]
/openbmc/linux/ipc/
H A Dutil.c103 .key_offset = offsetof(struct kern_ipc_perm, key),
104 .key_len = sizeof_field(struct kern_ipc_perm, key),
172 static struct kern_ipc_perm *ipc_findkey(struct ipc_ids *ids, key_t key) in ipc_findkey() argument
176 ipcp = rhashtable_lookup_fast(&ids->key_ht, &key, in ipc_findkey()
308 if (idx >= 0 && new->key != IPC_PRIVATE) { in ipc_addid()
409 ipcp = ipc_findkey(ids, params->key); in ipcget_public()
449 if (ipcp->key != IPC_PRIVATE) in ipc_kht_remove()
525 ipcp->key = IPC_PRIVATE; in ipc_set_key_private()
589 out->key = in->key; in kernel_to_ipc64_perm()
608 out->key = in->key; in ipc64_perm_to_ipc_perm()
[all …]
/openbmc/linux/sound/core/
H A Djack.c107 for (i = 0; i < ARRAY_SIZE(jack->key); i++) { in snd_jack_dev_register()
113 if (!jack->key[i]) in snd_jack_dev_register()
114 jack->key[i] = BTN_0 + i; in snd_jack_dev_register()
116 input_set_capability(jack->input_dev, EV_KEY, jack->key[i]); in snd_jack_dev_register()
147 for (i = 0; i < ARRAY_SIZE(jack->key); i++) { in snd_jack_inject_report()
151 input_report_key(jack->input_dev, jack->key[i], in snd_jack_inject_report()
624 int key = fls(SND_JACK_BTN_0) - fls(type); in snd_jack_set_key() local
628 if (!keytype || key >= ARRAY_SIZE(jack->key)) in snd_jack_set_key()
632 jack->key[key] = keytype; in snd_jack_set_key()
672 for (i = 0; i < ARRAY_SIZE(jack->key); i++) { in snd_jack_report()
[all …]
/openbmc/linux/Documentation/trace/
H A Dhistogram-design.rst105 for the hitcount and one key field for the pid key.
332 key fields:
770 key fields:
827 key fields:
1151 key fields:
1215 key fields:
1427 key fields:
1489 key fields:
1698 key fields:
1739 key fields:
[all …]
/openbmc/linux/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
H A DSchedGui.py167 key = event.GetRawKeyCode()
168 if key == ord("+"):
171 if key == ord("-"):
175 key = event.GetKeyCode()
177 if key == wx.WXK_RIGHT:
179 elif key == wx.WXK_LEFT:
181 elif key == wx.WXK_DOWN:
183 elif key == wx.WXK_UP:
/openbmc/linux/tools/lib/bpf/
H A Dskel_internal.h239 static inline int skel_map_update_elem(int fd, const void *key, in skel_map_update_elem() argument
247 attr.key = (long) key; in skel_map_update_elem()
254 static inline int skel_map_delete_elem(int fd, const void *key) in skel_map_delete_elem() argument
261 attr.key = (long)key; in skel_map_delete_elem()
313 int map_fd = -1, prog_fd = -1, key = 0, err; in bpf_load_and_run() local
323 err = skel_map_update_elem(map_fd, &key, opts->data, 0); in bpf_load_and_run()

1...<<41424344454647484950>>...211