/tools/testing/selftests/bpf/ |
D | test_btf.c | 110 __u32 value_size; member 178 .value_size = 180, 233 .value_size = 68, 258 .value_size = 16, 299 .value_size = 48, 344 .value_size = 48, 366 .value_size = 4, 388 .value_size = 4, 410 .value_size = 4, 435 .value_size = 4, [all …]
|
D | test_queue_stack_map.h | 18 __uint(value_size, sizeof(__u32)); 26 __uint(value_size, sizeof(__u32));
|
/tools/lib/bpf/ |
D | libbpf_probes.c | 195 int key_size, value_size, max_entries, map_flags; in bpf_probe_map_type() local 201 value_size = sizeof(__u32); in bpf_probe_map_type() 207 value_size = sizeof(__u64); in bpf_probe_map_type() 211 value_size = sizeof(__u64); in bpf_probe_map_type() 217 value_size = sizeof(__u64); in bpf_probe_map_type() 227 value_size = 8; in bpf_probe_map_type() 276 attr.value_size = value_size; in bpf_probe_map_type()
|
D | bpf.h | 44 __u32 value_size; member 57 int key_size, int value_size, 60 int key_size, int value_size, 63 int value_size, int max_entries, __u32 map_flags);
|
D | bpf.c | 87 attr.value_size = create_attr->value_size; in bpf_create_map_xattr() 104 int key_size, int value_size, int max_entries, in bpf_create_map_node() argument 113 map_attr.value_size = value_size; in bpf_create_map_node() 124 int value_size, int max_entries, __u32 map_flags) in bpf_create_map() argument 131 map_attr.value_size = value_size; in bpf_create_map() 138 int key_size, int value_size, int max_entries, in bpf_create_map_name() argument 147 map_attr.value_size = value_size; in bpf_create_map_name() 163 attr.value_size = 4; in bpf_create_map_in_map_node()
|
/tools/bpf/bpftool/ |
D | map.c | 88 return malloc(round_up(info->value_size, 8) * in alloc_value() 91 return malloc(info->value_size); in alloc_value() 175 step = round_up(map_info->value_size, 8); in do_dump_btf() 216 print_hex_data_json(value, info->value_size); in print_entry_json() 231 step = round_up(info->value_size, 8); in print_entry_json() 245 info->value_size); in print_entry_json() 290 break_names = info->key_size > 16 || info->value_size > 16; in print_entry_plain() 291 single_line = info->key_size + info->value_size <= 24 && in print_entry_plain() 301 if (info->value_size) { in print_entry_plain() 303 fprint_hex(stdout, value, info->value_size, " "); in print_entry_plain() [all …]
|
/tools/testing/selftests/bpf/progs/ |
D | sockmap_verdict_prog.c | 11 __uint(value_size, sizeof(int)); 18 __uint(value_size, sizeof(int)); 25 __uint(value_size, sizeof(int));
|
D | sample_map_ret0.c | 8 .value_size = sizeof(long), 15 .value_size = sizeof(long),
|
D | test_map_in_map.c | 14 __uint(value_size, sizeof(__u32)); 23 __uint(value_size, sizeof(__u32));
|
D | test_perf_buffer.c | 11 __uint(value_size, sizeof(int));
|
D | xdp_redirect_map.c | 10 __uint(value_size, sizeof(int));
|
D | test_skb_cgroup_id_kern.c | 16 .value_size = sizeof(__u64),
|
D | test_btf_nokv.c | 16 .value_size = sizeof(struct ipv_counts),
|
D | test_btf_haskv.c | 16 .value_size = sizeof(struct ipv_counts),
|
D | test_btf_newkv.c | 17 .value_size = sizeof(long long),
|
D | tcp_rtt.c | 19 .value_size = sizeof(struct tcp_rtt_storage),
|
D | test_tcpnotify_kern.c | 28 __uint(value_size, sizeof(__u32));
|
D | test_stacktrace_build_id.c | 32 __uint(value_size, sizeof(stack_trace_t));
|
D | test_stacktrace_map.c | 31 __uint(value_size, sizeof(stack_trace_t));
|
/tools/perf/tests/ |
D | bpf-script-test-relocation.c | 23 unsigned int value_size; member 31 .value_size = sizeof(int),
|
D | bpf-script-example.c | 23 unsigned int value_size; member 31 .value_size = sizeof(int),
|
/tools/perf/util/ |
D | bpf_map.c | 23 return malloc(round_up(def->value_size, 8) * sysconf(_SC_NPROCESSORS_CONF)); in bpf_map_def__alloc_value() 25 return malloc(def->value_size); in bpf_map_def__alloc_value()
|
/tools/perf/include/bpf/ |
D | bpf.h | 14 unsigned int value_size; member 25 .value_size = sizeof(type_val), \
|
D | stdio.h | 8 .value_size = sizeof(u32),
|
/tools/hv/ |
D | hv_kvp_daemon.c | 311 const __u8 *value, int value_size) in kvp_key_add_or_modify() argument 319 (value_size > HV_KVP_EXCHANGE_MAX_VALUE_SIZE)) in kvp_key_add_or_modify() 338 memcpy(record[i].value, value, value_size); in kvp_key_add_or_modify() 356 memcpy(record[i].value, value, value_size); in kvp_key_add_or_modify() 365 int value_size) in kvp_get_value() argument 372 (value_size > HV_KVP_EXCHANGE_MAX_VALUE_SIZE)) in kvp_get_value() 389 memcpy(value, record[i].value, value_size); in kvp_get_value() 397 __u8 *value, int value_size) in kvp_pool_enumerate() argument 412 memcpy(value, record[index].value, value_size); in kvp_pool_enumerate() 1526 hv_msg->body.kvp_set.data.value_size)) in main() [all …]
|