/openbmc/qemu/include/qemu/ |
H A D | qtree.h | 69 gpointer key, 72 gpointer key, 75 gconstpointer key); 77 gconstpointer key); 79 gconstpointer key); 135 gpointer key, in q_tree_insert() argument 138 g_tree_insert(tree, key, value); in q_tree_insert() 145 g_tree_replace(tree, key, value); in q_tree_replace() 151 return g_tree_remove(tree, key); in q_tree_remove() 157 return g_tree_steal(tree, key); in q_tree_steal() [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
H A D | vporttbl.c | 21 struct mlx5_vport_key key; member 57 struct mlx5_vport_key *key) in flow_attr_to_vport_key() argument 59 key->vport = attr->vport; in flow_attr_to_vport_key() 60 key->chain = attr->chain; in flow_attr_to_vport_key() 61 key->prio = attr->prio; in flow_attr_to_vport_key() 63 key->vport_ns = attr->vport_ns; in flow_attr_to_vport_key() 64 return jhash(key, sizeof(*key), 0); in flow_attr_to_vport_key() 74 if (!memcmp(&e->key, skey, sizeof(*skey))) in esw_vport_tbl_lookup() 118 e->key = skey; in mlx5_esw_vporttbl_get() 135 struct mlx5_vport_key key; in mlx5_esw_vporttbl_put() local [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_stacktrace_map.c | 14 __type(key, __u32); 21 __type(key, __u32); 30 __type(key, __u32); 37 __type(key, __u32); 57 __u32 key = 0, val = 0, *value_p; in oncpu() local 60 value_p = bpf_map_lookup_elem(&control_map, &key); in oncpu() 65 key = bpf_get_stackid(ctx, &stackmap, 0); in oncpu() 66 if ((int)key >= 0) { in oncpu() 67 bpf_map_update_elem(&stackid_hmap, &key, &val, 0); in oncpu() 68 stack_p = bpf_map_lookup_elem(&stack_amap, &key); in oncpu()
|
H A D | bpf_iter_bpf_array_map.c | 18 __type(key, __u32); 25 __type(key, __u64); 35 __u32 *hmap_val, *key = ctx->key; in dump_bpf_array_map() local 38 if (key == (void *)0 || val == (void *)0) in dump_bpf_array_map() 41 bpf_seq_write(ctx->meta->seq, key, sizeof(__u32)); in dump_bpf_array_map() 43 key_sum += *key; in dump_bpf_array_map() 55 *hmap_val = *key; in dump_bpf_array_map() 57 *val = *key; in dump_bpf_array_map()
|
H A D | test_map_ops.c | 12 __type(key, int); 25 __type(key, int); 32 static u64 callback(u64 map, u64 key, u64 val, u64 ctx, u64 flags) in callback() argument 40 const int key = 0; in map_update() local 46 err = bpf_map_update_elem(&hash_map, &key, &val, BPF_NOEXIST); in map_update() 54 const int key = 0; in map_delete() local 59 err = bpf_map_delete_elem(&hash_map, &key); in map_delete() 106 const int key = 0; in map_for_each_pass() local 114 bpf_map_update_elem(&array_map, &key, &val, flags); in map_for_each_pass() 124 const int key = 0; in map_for_each_fail() local [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/freeradius/files/ |
H A D | 0012-raddb-certs-Makefile-fix-the-existed-certificate-err.patch | 9 openssl ca -batch -keyfile ca.key -cert ca.pem -in client.csr -key 'whatever' -out client.crt -ext… 35 @@ -92,7 +92,7 @@ server.csr server.key: server.cnf 36 chmod g+r server.key 38 server.crt: ca.key ca.pem server.csr 39 - $(OPENSSL) ca -batch -keyfile ca.key -cert ca.pem -in server.csr -key $(PASSWORD_CA) -out server… 40 + @[ -f server.crt ] || $(OPENSSL) ca -batch -keyfile ca.key -cert ca.pem -in server.csr -key $(PA… 44 @@ -117,7 +117,7 @@ client.csr client.key: client.cnf 45 chmod g+r client.key 47 client.crt: ca.key ca.pem client.csr 48 - $(OPENSSL) ca -batch -keyfile ca.key -cert ca.pem -in client.csr -key $(PASSWORD_CA) -out client… [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | mod_hdr.c | 18 struct mod_hdr_key key; member 29 return jhash(key->actions, in hash_mod_hdr_info() 55 struct mod_hdr_key *key, in mod_hdr_get() argument 61 if (!cmp_mod_hdr_info(&mh->key, key)) { in mod_hdr_get() 79 struct mod_hdr_key key; in mlx5e_mod_hdr_attach() local 86 key.num_actions = num_actions; in mlx5e_mod_hdr_attach() 88 hash_key = hash_mod_hdr_info(&key); in mlx5e_mod_hdr_attach() 110 memcpy(mh->key.actions, key.actions, actions_size); in mlx5e_mod_hdr_attach() 111 mh->key.num_actions = num_actions; in mlx5e_mod_hdr_attach() 119 mh->key.num_actions, in mlx5e_mod_hdr_attach() [all …]
|
/openbmc/linux/net/ceph/ |
H A D | ceph_common.c | 155 if (opt1->key && !opt2->key) in ceph_compare_options() 157 if (!opt1->key && opt2->key) in ceph_compare_options() 159 if (opt1->key && opt2->key) { in ceph_compare_options() 160 if (opt1->key->type != opt2->key->type) in ceph_compare_options() 166 if (opt1->key->len != opt2->key->len) in ceph_compare_options() 168 if (opt1->key->key && !opt2->key->key) in ceph_compare_options() 170 if (!opt1->key->key && opt2->key->key) in ceph_compare_options() 172 if (opt1->key->key && opt2->key->key) { in ceph_compare_options() 173 ret = memcmp(opt1->key->key, opt2->key->key, opt1->key->len); in ceph_compare_options() 459 opt->key = kzalloc(sizeof(*opt->key), GFP_KERNEL); in ceph_parse_param() [all …]
|
/openbmc/linux/tools/testing/selftests/drivers/net/netdevsim/ |
H A D | ethtool-coalesce.sh | 14 for key in ${!SETTINGS_MAP[@]}; do 15 CURRENT_SETTINGS[$key]=$(get_value $key) 99 for key in ${!SETTINGS_MAP[@]}; do 100 EXPECTED_SETTINGS[$key]=$(get_value $key) 104 for key in ${!SETTINGS_MAP[@]}; do 107 ethtool -C $NSIM_NETDEV "$key" "$value" 109 EXPECTED_SETTINGS[$key]="$value"
|
H A D | ethtool-ring.sh | 15 for key in ${!SETTINGS_MAP[@]}; do 16 CURRENT_SETTINGS[$key]=$(get_value $key) 61 for key in ${!SETTINGS_MAP[@]}; do 62 EXPECTED_SETTINGS[$key]=$(get_value $key) 66 for key in ${!SETTINGS_MAP[@]}; do 69 ethtool -G $NSIM_NETDEV "$key" "$value" 71 EXPECTED_SETTINGS[$key]="$value"
|
/openbmc/linux/net/openvswitch/ |
H A D | openvswitch_trace.h | 17 TP_ARGS(dp, skb, key, a, rem), 56 __entry->recirc_id = key->recirc_id; 57 __entry->keyaddr = key; 58 __entry->key_eth_type = key->eth.type; 59 __entry->key_ct_state = key->ct_state; 61 __entry->key_ct_zone = key->ct_zone; 85 const struct sw_flow_key *key, 88 TP_ARGS(dp, skb, key, upcall_info), 126 __entry->recirc_id = key->recirc_id; 127 __entry->keyaddr = key; [all …]
|
/openbmc/qemu/hw/net/rocker/ |
H A D | rocker_of_dpa.c | 131 OfDpaFlowKey key; member 1064 OfDpaFlowKey *key = &flow->key; in of_dpa_cmd_add_ig_port() local 1101 OfDpaFlowKey *key = &flow->key; in of_dpa_cmd_add_vlan() local 1165 OfDpaFlowKey *key = &flow->key; in of_dpa_cmd_add_term_mac() local 1261 OfDpaFlowKey *key = &flow->key; in of_dpa_cmd_add_bridging() local 1294 if (key->eth.vlan_id && key->tunnel_id) { in of_dpa_cmd_add_bridging() 1423 OfDpaFlowKey *key = &flow->key; in of_dpa_cmd_add_unicast_routing() local 1515 OfDpaFlowKey *key = &flow->key; in of_dpa_cmd_add_multicast_routing() local 1644 key->ip.tos = 0; in of_dpa_cmd_add_acl_ip() 1676 OfDpaFlowKey *key = &flow->key; in of_dpa_cmd_add_acl() local [all …]
|
/openbmc/linux/scripts/ |
H A D | parse-maintainers.pl | 115 foreach my $key (sort by_category keys %$hashref) { 116 if ($key eq " ") { 117 print $file $$hashref{$key}; 124 print $file $key . "\n"; 126 foreach my $pattern (sort by_pattern split('\n', %$hashref{$key})) { 130 foreach my $pattern (split('\n', %$hashref{$key})) { 183 foreach my $key (keys %hash) { 184 if ($key =~ /$type/ || $hash{$key} =~ /$type/) { 185 $new_hash{$key} = $hash{$key}; 186 delete $hash{$key};
|
/openbmc/linux/security/selinux/ss/ |
H A D | hashtab.h | 21 u32 (*hash)(const void *key); /* hash function */ 27 void *key; member 51 void *key, void *datum); 61 static inline int hashtab_insert(struct hashtab *h, void *key, void *datum, in hashtab_insert() argument 72 hvalue = key_params.hash(key) & (h->size - 1); in hashtab_insert() 76 int cmp = key_params.cmp(key, cur->key); in hashtab_insert() 87 key, datum); in hashtab_insert() 96 static inline void *hashtab_search(struct hashtab *h, const void *key, in hashtab_search() argument 105 hvalue = key_params.hash(key) & (h->size - 1); in hashtab_search() 108 int cmp = key_params.cmp(key, cur->key); in hashtab_search()
|
/openbmc/linux/fs/afs/ |
H A D | vl_alias.c | 17 static struct afs_volume *afs_sample_volume(struct afs_cell *cell, struct key *key, in afs_sample_volume() argument 27 .key = key, /* This might need to be something */ in afs_sample_volume() 187 static int afs_query_for_alias_one(struct afs_cell *cell, struct key *key, in afs_query_for_alias_one() argument 234 static int afs_query_for_alias(struct afs_cell *cell, struct key *key) in afs_query_for_alias() argument 276 static char *afs_vl_get_cell_name(struct afs_cell *cell, struct key *key) in afs_vl_get_cell_name() argument 302 static int yfs_check_canonical_cell_name(struct afs_cell *cell, struct key *key) in yfs_check_canonical_cell_name() argument 307 cell_name = afs_vl_get_cell_name(cell, key); in yfs_check_canonical_cell_name() 326 static int afs_do_cell_detect_alias(struct afs_cell *cell, struct key *key) in afs_do_cell_detect_alias() argument 350 return afs_query_for_alias(cell, key); in afs_do_cell_detect_alias() 361 int afs_cell_detect_alias(struct afs_cell *cell, struct key *key) in afs_cell_detect_alias() argument [all …]
|
/openbmc/linux/include/trace/events/ |
H A D | mctp.h | 29 TP_PROTO(const struct mctp_sk_key *key), 30 TP_ARGS(key), 37 __entry->paddr = key->peer_addr; 38 __entry->laddr = key->local_addr; 39 __entry->tag = key->tag; 49 TP_PROTO(const struct mctp_sk_key *key, int reason), 50 TP_ARGS(key, reason), 58 __entry->paddr = key->peer_addr; 59 __entry->laddr = key->local_addr; 60 __entry->tag = key->tag;
|
/openbmc/linux/samples/bpf/ |
H A D | tracex6.bpf.c | 16 __type(key, int); 23 __type(key, int); 31 u32 key = bpf_get_smp_processor_id(); in bpf_prog1() local 35 count = bpf_perf_event_read(&counters, key); in bpf_prog1() 40 val = bpf_map_lookup_elem(&values, &key); in bpf_prog1() 44 bpf_map_update_elem(&values, &key, &count, BPF_NOEXIST); in bpf_prog1() 58 u32 key = bpf_get_smp_processor_id(); in BPF_KPROBE() local 67 error = bpf_perf_event_read_value(&counters, key, &buf, sizeof(buf)); in BPF_KPROBE() 71 val = bpf_map_lookup_elem(&values2, &key); in BPF_KPROBE() 75 bpf_map_update_elem(&values2, &key, &buf, BPF_NOEXIST); in BPF_KPROBE()
|
H A D | trace_event_kern.c | 22 __type(key, struct key_t); 46 struct key_t key; in bpf_prog1() local 53 bpf_get_current_comm(&key.comm, sizeof(key.comm)); in bpf_prog1() 54 key.kernstack = bpf_get_stackid(ctx, &stackmap, KERN_STACKID_FLAGS); in bpf_prog1() 55 key.userstack = bpf_get_stackid(ctx, &stackmap, USER_STACKID_FLAGS); in bpf_prog1() 56 if ((int)key.kernstack < 0 && (int)key.userstack < 0) { in bpf_prog1() 71 val = bpf_map_lookup_elem(&counts, &key); in bpf_prog1() 75 bpf_map_update_elem(&counts, &key, &one, BPF_NOEXIST); in bpf_prog1()
|
/openbmc/u-boot/scripts/kconfig/lxdialog/ |
H A D | menubox.c | 270 key = wgetch(menu); in dialog_menu() 272 if (key < 256 && isalpha(key)) in dialog_menu() 273 key = tolower(key); in dialog_menu() 295 key == KEY_UP || key == KEY_DOWN || in dialog_menu() 296 key == '-' || key == '+' || in dialog_menu() 297 key == KEY_PPAGE || key == KEY_NPAGE)) { in dialog_menu() 301 if (key == KEY_UP || key == '-') { in dialog_menu() 310 } else if (key == KEY_DOWN || key == '+') { in dialog_menu() 360 switch (key) { in dialog_menu() 386 switch (key) { in dialog_menu() [all …]
|
/openbmc/linux/scripts/kconfig/lxdialog/ |
H A D | menubox.c | 262 key = wgetch(menu); in dialog_menu() 264 if (key < 256 && isalpha(key)) in dialog_menu() 265 key = tolower(key); in dialog_menu() 287 key == KEY_UP || key == KEY_DOWN || in dialog_menu() 288 key == '-' || key == '+' || in dialog_menu() 289 key == KEY_PPAGE || key == KEY_NPAGE)) { in dialog_menu() 293 if (key == KEY_UP || key == '-') { in dialog_menu() 302 } else if (key == KEY_DOWN || key == '+') { in dialog_menu() 352 switch (key) { in dialog_menu() 378 switch (key) { in dialog_menu() [all …]
|
/openbmc/linux/tools/testing/selftests/riscv/hwprobe/ |
H A D | hwprobe.c | 27 pairs[i].key = i; in main() 33 if ((i < 4) && (pairs[i].key != i)) in main() 36 if (pairs[i].key != RISCV_HWPROBE_KEY_BASE_BEHAVIOR) in main() 65 pairs[0].key = RISCV_HWPROBE_KEY_BASE_BEHAVIOR; in main() 69 if (pairs[0].key != RISCV_HWPROBE_KEY_BASE_BEHAVIOR) in main() 76 pairs[0].key = 0x5555; in main() 77 pairs[1].key = 1; in main() 83 if (pairs[0].key != -1) in main() 86 if ((pairs[1].key != 1) || (pairs[1].value == 0xAAAA)) in main()
|
/openbmc/linux/drivers/crypto/starfive/ |
H A D | jh7110-rsa.c | 64 if (key->d) in starfive_rsa_free_key() 66 if (key->e) in starfive_rsa_free_key() 68 if (key->n) in starfive_rsa_free_key() 70 memset(key, 0, sizeof(*key)); in starfive_rsa_free_key() 289 key->bitlen = key->e_bitlen; in starfive_rsa_enc_core() 291 key->n, key->key_sz); in starfive_rsa_enc_core() 293 key->bitlen = key->d_bitlen; in starfive_rsa_enc_core() 295 key->n, key->key_sz); in starfive_rsa_enc_core() 319 if (!key->key_sz) { in starfive_rsa_enc() 326 if (unlikely(!key->n || !key->e)) in starfive_rsa_enc() [all …]
|
/openbmc/linux/net/sctp/ |
H A D | auth.c | 48 if (!key) in sctp_auth_key_put() 68 if (!key) in sctp_auth_create_key() 71 key->len = key_len; in sctp_auth_create_key() 75 return key; in sctp_auth_create_key() 100 sh_key->key = NULL; in sctp_auth_shkey_destroy() 263 if (ep_key->key) in sctp_auth_asoc_set_secret() 271 memcpy(secret->data, ep_key->key->data, ep_key->key->len); in sctp_auth_asoc_set_secret() 367 new->key = sh_key->key; in sctp_auth_asoc_copy_shkeys() 439 return key; in sctp_auth_get_shkey() 852 if (!key) { in sctp_auth_set_key() [all …]
|
/openbmc/linux/include/linux/ |
H A D | sysrq.h | 46 void handle_sysrq(u8 key); 47 void __handle_sysrq(u8 key, bool check_mask); 48 int register_sysrq_key(u8 key, const struct sysrq_key_op *op); 49 int unregister_sysrq_key(u8 key, const struct sysrq_key_op *op); 57 static inline void handle_sysrq(u8 key) in handle_sysrq() argument 61 static inline void __handle_sysrq(u8 key, bool check_mask) in __handle_sysrq() argument 65 static inline int register_sysrq_key(u8 key, const struct sysrq_key_op *op) in register_sysrq_key() argument 70 static inline int unregister_sysrq_key(u8 key, const struct sysrq_key_op *op) in unregister_sysrq_key() argument
|
/openbmc/u-boot/fs/btrfs/ |
H A D | dir-item.c | 68 struct btrfs_key key; in btrfs_lookup_dir_item() local 71 key.objectid = dir; in btrfs_lookup_dir_item() 72 key.type = BTRFS_DIR_ITEM_KEY; in btrfs_lookup_dir_item() 73 key.offset = btrfs_name_hash(name, name_len); in btrfs_lookup_dir_item() 75 if (btrfs_search_tree(root, &key, &path)) in btrfs_lookup_dir_item() 93 struct btrfs_key key, *found_key; in btrfs_readdir() local 97 key.objectid = dir; in btrfs_readdir() 98 key.type = BTRFS_DIR_INDEX_KEY; in btrfs_readdir() 99 key.offset = 0; in btrfs_readdir() 101 if (btrfs_search_tree(root, &key, &path)) in btrfs_readdir() [all …]
|