Home
last modified time | relevance | path

Searched refs:key (Results 226 – 250 of 5234) sorted by relevance

12345678910>>...210

/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_hwinfo.c108 const char *key, *val, *end = hwinfo->data + size; in hwinfo_db_walk() local
110 for (key = hwinfo->data; *key && key < end; in hwinfo_db_walk()
111 key = val + strlen(val) + 1) { in hwinfo_db_walk()
113 val = key + strlen(key) + 1; in hwinfo_db_walk()
257 const char *key, *val, *end; in nfp_hwinfo_lookup() local
264 for (key = hwinfo->data; *key && key < end; in nfp_hwinfo_lookup()
265 key = val + strlen(val) + 1) { in nfp_hwinfo_lookup()
267 val = key + strlen(key) + 1; in nfp_hwinfo_lookup()
269 if (strcmp(key, lookup) == 0) in nfp_hwinfo_lookup()
/openbmc/linux/drivers/staging/wlan-ng/
H A Dp80211wep.c52 if (!key) in wep_change_key()
73 u8 s[256], key[64], c_crc[4]; in wep_decrypt() local
81 key[0] = iv[0]; in wep_decrypt()
82 key[1] = iv[1]; in wep_decrypt()
83 key[2] = iv[2]; in wep_decrypt()
107 j = (j + s[i] + key[i % keylen]) & 0xff; in wep_decrypt()
144 u8 s[256], key[64]; in wep_encrypt() local
164 key[0] = iv[0]; in wep_encrypt()
165 key[1] = iv[1]; in wep_encrypt()
166 key[2] = iv[2]; in wep_encrypt()
[all …]
/openbmc/linux/net/openvswitch/
H A Dflow.h171 return key->eth.type == htons(ETH_P_IPV6) && in sw_flow_key_is_nd()
172 key->ip.proto == NEXTHDR_ICMP && in sw_flow_key_is_nd()
173 key->tp.dst == 0 && in sw_flow_key_is_nd()
174 (key->tp.src == htons(NDISC_NEIGHBOUR_SOLICITATION) || in sw_flow_key_is_nd()
187 struct sw_flow_key key; member
191 struct sw_flow_key *key; member
230 struct sw_flow_key key; member
258 return key->mac_proto & ~SW_FLOW_KEY_INVALID; in ovs_key_mac_proto()
268 return __ovs_mac_header_len(ovs_key_mac_proto(key)); in ovs_mac_header_len()
292 struct sw_flow_key *key);
[all …]
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dmap_kptr.c17 int key = 0, ret, cpu; in test_map_kptr_success() local
52 &key, sizeof(key), buf, sizeof(buf), 0); in test_map_kptr_success()
60 &key, sizeof(key), pbuf, cpu * sizeof(buf), 0); in test_map_kptr_success()
67 ret = bpf_map__delete_elem(skel->maps.hash_map, &key, sizeof(key), 0); in test_map_kptr_success()
74 ret = bpf_map__delete_elem(skel->maps.pcpu_hash_map, &key, sizeof(key), 0); in test_map_kptr_success()
81 ret = bpf_map__delete_elem(skel->maps.hash_malloc_map, &key, sizeof(key), 0); in test_map_kptr_success()
88 ret = bpf_map__delete_elem(skel->maps.pcpu_hash_malloc_map, &key, sizeof(key), 0); in test_map_kptr_success()
95 ret = bpf_map__delete_elem(skel->maps.lru_hash_map, &key, sizeof(key), 0); in test_map_kptr_success()
102 ret = bpf_map__delete_elem(skel->maps.lru_pcpu_hash_map, &key, sizeof(key), 0); in test_map_kptr_success()
/openbmc/linux/Documentation/admin-guide/nfs/
H A Dnfs-idmapper.rst8 ways NFS could obtain this information: placing a call to /sbin/request-key
11 NFS will attempt to call /sbin/request-key first. If this succeeds, the
13 only fail if /etc/request-key.conf is not configured for the id_resolver key
17 If the call to /sbin/request-key fails (if /etc/request-key.conf is not
18 configured with the id_resolver key type), then the idmapper will ask the
26 The file /etc/request-key.conf will need to be modified so /sbin/request-key can
39 id mapper uses for key descriptions::
48 would edit your request-key.conf so it look similar to this:
61 See Documentation/security/keys/request-key.rst for more information
62 about the request-key function.
[all …]
/openbmc/linux/fs/btrfs/
H A Dexport.c155 struct btrfs_key key; in btrfs_get_parent() local
165 key.type = BTRFS_ROOT_BACKREF_KEY; in btrfs_get_parent()
166 key.offset = (u64)-1; in btrfs_get_parent()
170 key.type = BTRFS_INODE_REF_KEY; in btrfs_get_parent()
171 key.offset = (u64)-1; in btrfs_get_parent()
195 if (found_key.objectid != key.objectid || found_key.type != key.type) { in btrfs_get_parent()
205 key.objectid = found_key.offset; in btrfs_get_parent()
232 struct btrfs_key key; in btrfs_get_name() local
249 key.offset = (u64)-1; in btrfs_get_name()
252 key.objectid = ino; in btrfs_get_name()
[all …]
H A Dprint-tree.c89 struct btrfs_disk_key key; in print_extent_item() local
117 btrfs_disk_key_objectid(&key), key.type, in print_extent_item()
217 struct btrfs_key key; in btrfs_print_leaf() local
233 type = key.type; in btrfs_print_leaf()
235 i, key.objectid, type, key.offset, in btrfs_print_leaf()
324 key.objectid, key.offset); in btrfs_print_leaf()
325 switch (key.objectid) { in btrfs_print_leaf()
335 key.objectid, key.offset); in btrfs_print_leaf()
336 switch (key.objectid) { in btrfs_print_leaf()
360 struct btrfs_key key; in btrfs_print_tree() local
[all …]
/openbmc/u-boot/doc/uImage.FIT/
H A Dverified-boot.txt15 A key point is that it is possible to field-upgrade the software on machines
25 Images are signed using a private key known only to the signer, but can
26 be verified using a public key. As its name suggests the public key can be
38 | RSA key pair | * +---------------+
39 | .key .crt | * | Public key in |
40 +--------------+ +------> public key ----->| trusted place |
62 The public key from the signer allows us to verify and therefore trust
77 2. Master public key is placed in read-only memory.
79 3. Secondary public key is placed in first stage images
84 different key at each stage, so that a compromise in one place will not
[all …]
/openbmc/linux/drivers/power/supply/
H A Dtest_power.c260 char const *key; member
309 strscpy(buf, key, MAX_KEYLENGTH); in map_get_value()
317 while (map->key) { in map_get_value()
330 while (map->key) { in map_get_key()
332 return map->key; in map_get_key()
371 static int param_set_battery_status(const char *key, in param_set_battery_status() argument
385 static int param_set_battery_health(const char *key, in param_set_battery_health() argument
436 if (1 != sscanf(key, "%d", &tmp)) in param_set_battery_capacity()
451 if (1 != sscanf(key, "%d", &tmp)) in param_set_battery_voltage()
466 if (1 != sscanf(key, "%d", &tmp)) in param_set_battery_charge_counter()
[all …]
/openbmc/phosphor-certificate-manager/
H A D.clang-tidy9 - { key: readability-identifier-naming.ClassCase, value: CamelCase }
10 - { key: readability-identifier-naming.VariableCase, value: camelBack }
11 - { key: readability-identifier-naming.EnumCase, value: CamelCase }
12 - { key: readability-identifier-naming.EnumConstantCase, value: camelBack }
13 - { key: readability-identifier-naming.FunctionCase, value: camelBack }
14 - { key: readability-identifier-naming.ParameterCase, value: camelBack }
15 - { key: readability-identifier-naming.NamespaceCase, value: lower_case }
16 - { key: readability-identifier-naming.StructCase, value: CamelCase }
/openbmc/phosphor-user-manager/
H A D.clang-tidy9 - { key: readability-identifier-naming.ClassCase, value: CamelCase }
10 - { key: readability-identifier-naming.VariableCase, value: camelBack }
11 - { key: readability-identifier-naming.EnumCase, value: CamelCase }
12 - { key: readability-identifier-naming.EnumConstantCase, value: camelBack }
13 - { key: readability-identifier-naming.FunctionCase, value: camelBack }
14 - { key: readability-identifier-naming.ParameterCase, value: camelBack }
15 - { key: readability-identifier-naming.NamespaceCase, value: lower_case }
16 - { key: readability-identifier-naming.StructCase, value: CamelCase }
/openbmc/phosphor-hwmon/
H A Denv.hpp18 virtual const char* get(const char* key) const = 0;
26 const char* get(const char* key) const override;
41 inline std::string getEnv(const char* key, const Env* env = &env_impl) in getEnv() argument
44 auto value = env->get(key); in getEnv()
61 std::string key; in getEnv() local
63 key.assign(prefix); in getEnv()
64 key.append(1, '_'); in getEnv()
65 key.append(sensor.first); in getEnv()
66 key.append(sensor.second); in getEnv()
68 return getEnv(key.c_str(), env); in getEnv()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dlinked_maps2.c14 __type(key, key_type);
21 __type(key, int);
29 __type(key, int);
42 int key = 2, val = 2; in BPF_PROG() local
47 bpf_map_update_elem(&map2, &key, &val, 0); in BPF_PROG()
48 bpf_map_update_elem(&map_weak, &key, &val, 0); in BPF_PROG()
57 int key = 1, *val; in BPF_PROG() local
65 val = bpf_map_lookup_elem(&map2, &key); in BPF_PROG()
69 val = bpf_map_lookup_elem(&map_weak, &key); in BPF_PROG()
H A Dlinked_maps1.c13 __type(key, struct my_key);
23 __type(key, int);
35 __type(key, int);
48 int key = 1, val = 1; in BPF_PROG() local
53 bpf_map_update_elem(&map2, &key, &val, 0); in BPF_PROG()
54 bpf_map_update_elem(&map_weak, &key, &val, 0); in BPF_PROG()
63 int key = 2, *val; in BPF_PROG() local
71 val = bpf_map_lookup_elem(&map2, &key); in BPF_PROG()
75 val = bpf_map_lookup_elem(&map_weak, &key); in BPF_PROG()
/openbmc/qemu/ui/
H A Dinput.c165 evt->u.key.data->key->type == KEY_VALUE_KIND_NUMBER) { in qmp_input_send_event()
166 KeyValue *key = evt->u.key.data->key; in qmp_input_send_event() local
212 InputKeyEvent *key; in qemu_input_event_trace() local
222 key = evt->u.key.data; in qemu_input_event_trace()
223 switch (key->key->type) { in qemu_input_event_trace()
227 trace_input_event_key_number(idx, key->key->u.number.data, in qemu_input_event_trace()
231 name = QKeyCode_str(key->key->u.qcode.data); in qemu_input_event_trace()
362 evt->u.key.data->key->type == KEY_VALUE_KIND_NUMBER)); in qemu_input_event_send()
374 evt->u.key.data->key->u.qcode.data == Q_KEY_CODE_SYSRQ) { in qemu_input_event_send()
375 evt->u.key.data->key->u.qcode.data = Q_KEY_CODE_PRINT; in qemu_input_event_send()
[all …]
/openbmc/qemu/tests/qtest/libqos/
H A Dfw_cfg.c21 void qfw_cfg_select(QFWCFG *fw_cfg, uint16_t key) in qfw_cfg_select() argument
23 fw_cfg->select(fw_cfg, key); in qfw_cfg_select()
33 qfw_cfg_select(fw_cfg, key); in qfw_cfg_get()
37 uint16_t qfw_cfg_get_u16(QFWCFG *fw_cfg, uint16_t key) in qfw_cfg_get_u16() argument
40 qfw_cfg_get(fw_cfg, key, &value, sizeof(value)); in qfw_cfg_get_u16()
44 uint32_t qfw_cfg_get_u32(QFWCFG *fw_cfg, uint16_t key) in qfw_cfg_get_u32() argument
47 qfw_cfg_get(fw_cfg, key, &value, sizeof(value)); in qfw_cfg_get_u32()
51 uint64_t qfw_cfg_get_u64(QFWCFG *fw_cfg, uint16_t key) in qfw_cfg_get_u64() argument
54 qfw_cfg_get(fw_cfg, key, &value, sizeof(value)); in qfw_cfg_get_u64()
60 qtest_writew(fw_cfg->qts, fw_cfg->base, key); in mm_fw_cfg_select()
[all …]
/openbmc/linux/fs/nilfs2/
H A Dbmap.c120 bmap, key, ptr, keys, ptrs, n); in nilfs_bmap_do_insert()
155 ret = nilfs_bmap_do_insert(bmap, key, rec); in nilfs_bmap_insert()
175 bmap, key, keys, ptrs, n); in nilfs_bmap_do_delete()
184 return bmap->b_ops->bop_delete(bmap, key); in nilfs_bmap_do_delete()
253 ret = nilfs_bmap_do_delete(bmap, key); in nilfs_bmap_delete()
271 while (key <= lastkey) { in nilfs_bmap_do_truncate()
305 ret = nilfs_bmap_do_truncate(bmap, key); in nilfs_bmap_truncate()
454 __u64 key; in nilfs_bmap_data_get_key() local
459 key++; in nilfs_bmap_data_get_key()
461 return key; in nilfs_bmap_data_get_key()
[all …]
/openbmc/linux/scripts/kconfig/
H A Dnconf.c318 .key = F_HELP,
479 if (*key == KEY_F(function_keys[i].key) || in process_special_keys()
480 *key == '0' + function_keys[i].key){ in process_special_keys()
701 if (key < '1' || key > '9') in next_jump_key()
704 key++; in next_jump_key()
706 if (key > '9') in next_jump_key()
707 key = '1'; in next_jump_key()
709 return key; in next_jump_key()
718 if (key < '1' || key > '9') in handle_search_keys()
1097 if (key == '/' || (state->in_search && key == 27)) { in do_match()
[all …]
/openbmc/linux/include/net/
H A Darp.h15 u32 key = *(const u32 *)pkey; in arp_hashfn() local
16 u32 val = key ^ hash32_ptr(dev); in arp_hashfn()
22 static inline struct neighbour *__ipv4_neigh_lookup_noref(struct net_device *dev, u32 key) in __ipv4_neigh_lookup_noref() argument
25 key = INADDR_ANY; in __ipv4_neigh_lookup_noref()
27 return ___neigh_lookup_noref(&arp_tbl, neigh_key_eq32, arp_hashfn, &key, dev); in __ipv4_neigh_lookup_noref()
31 struct neighbour *__ipv4_neigh_lookup_noref(struct net_device *dev, u32 key) in __ipv4_neigh_lookup_noref() argument
37 static inline struct neighbour *__ipv4_neigh_lookup(struct net_device *dev, u32 key) in __ipv4_neigh_lookup() argument
42 n = __ipv4_neigh_lookup_noref(dev, key); in __ipv4_neigh_lookup()
50 static inline void __ipv4_confirm_neigh(struct net_device *dev, u32 key) in __ipv4_confirm_neigh() argument
55 n = __ipv4_neigh_lookup_noref(dev, key); in __ipv4_confirm_neigh()
/openbmc/linux/tools/perf/util/bpf_skel/
H A Dfunc_latency.bpf.c47 __u64 key, now; in BPF_PROG() local
52 key = bpf_get_current_pid_tgid(); in BPF_PROG()
64 __u32 pid = key & 0xffffffff; in BPF_PROG()
75 bpf_map_update_elem(&functime, &key, &now, BPF_ANY); in BPF_PROG()
94 __u32 key; in BPF_PROG() local
103 for (key = 0; key < (NUM_BUCKET - 1); key++) { in BPF_PROG()
104 if (delta < (cmp_base << key)) in BPF_PROG()
108 hist = bpf_map_lookup_elem(&latency, &key); in BPF_PROG()
/openbmc/openbmc-test-automation/lib/
H A Dvar_funcs.py94 [format_str % (key, value) for (key, value) in dict.items()]
240 key = pair[0].strip(strip)
247 key = key.lower()
249 key = re.sub(r" ", "_", key)
251 return key, value
378 result_dict[key] = value
380 parent_key = key
772 if key == key_name:
951 if key == split_key:
954 dict2[key] = dictionary[key]
[all …]
/openbmc/linux/kernel/sched/
H A Dwait.c11 lockdep_set_class_and_name(&wq_head->lock, key, name); in __init_waitqueue_head()
81 int nr_exclusive, int wake_flags, void *key, in __wake_up_common() argument
107 ret = curr->func(curr, mode, wake_flags, key); in __wake_up_common()
125 int nr_exclusive, int wake_flags, void *key) in __wake_up_common_lock() argument
139 wake_flags, key, &bookmark); in __wake_up_common_lock()
158 int nr_exclusive, void *key) in __wake_up() argument
180 __wake_up_common(wq_head, mode, 1, 0, key, NULL); in __wake_up_locked_key()
187 __wake_up_common(wq_head, mode, 1, 0, key, bookmark); in __wake_up_locked_key_bookmark()
208 void *key) in __wake_up_sync_key() argument
213 __wake_up_common_lock(wq_head, mode, 1, WF_SYNC, key); in __wake_up_sync_key()
[all …]
/openbmc/qemu/util/
H A Dqtree.c119 q_tree_node_new(gpointer key, in q_tree_node_new() argument
129 node->key = key; in q_tree_node_new()
444 gpointer key, in q_tree_insert_node() argument
473 gpointer key, in q_tree_insert() argument
528 gpointer key, in q_tree_replace() argument
558 int cmp = tree->key_compare(key, node->key, tree->key_compare_data); in q_tree_insert_internal()
572 node->key = key; in q_tree_insert_internal()
678 gconstpointer key) in q_tree_remove() argument
708 gconstpointer key) in q_tree_steal() argument
745 int cmp = tree->key_compare(key, node->key, tree->key_compare_data); in q_tree_remove_internal()
[all …]
/openbmc/linux/include/keys/
H A Dasymmetric-subtype.h30 void (*describe)(const struct key *key, struct seq_file *m);
43 int (*verify_signature)(const struct key *key,
55 struct asymmetric_key_subtype *asymmetric_key_subtype(const struct key *key) in asymmetric_key_subtype() argument
57 return key->payload.data[asym_subtype]; in asymmetric_key_subtype()
/openbmc/linux/net/ipv4/
H A Dtcp_diag.c39 const struct tcp_md5sig_key *key) in tcp_diag_md5sig_fill() argument
41 info->tcpm_family = key->family; in tcp_diag_md5sig_fill()
42 info->tcpm_prefixlen = key->prefixlen; in tcp_diag_md5sig_fill()
43 info->tcpm_keylen = key->keylen; in tcp_diag_md5sig_fill()
44 memcpy(info->tcpm_key, key->key, key->keylen); in tcp_diag_md5sig_fill()
46 if (key->family == AF_INET) in tcp_diag_md5sig_fill()
49 else if (key->family == AF_INET6) in tcp_diag_md5sig_fill()
50 memcpy(&info->tcpm_addr, &key->addr.a6, in tcp_diag_md5sig_fill()
58 const struct tcp_md5sig_key *key; in tcp_diag_put_md5sig() local
76 tcp_diag_md5sig_fill(info++, key); in tcp_diag_put_md5sig()
[all …]

12345678910>>...210