/tools/testing/selftests/bpf/map_tests/ |
D | array_map_batch_ops.c | 76 .value_size = sizeof(__s64), in __test_map_lookup_and_update_batch() 82 int err, step, value_size; in __test_map_lookup_and_update_batch() local 94 value_size = sizeof(__s64); in __test_map_lookup_and_update_batch() 96 value_size *= nr_cpus; in __test_map_lookup_and_update_batch() 99 values = calloc(max_entries, value_size); in __test_map_lookup_and_update_batch() 110 memset(values, 0, max_entries * value_size); in __test_map_lookup_and_update_batch() 121 values + total * value_size, in __test_map_lookup_and_update_batch()
|
D | htab_map_batch_ops.c | 83 int err, step, value_size; in __test_map_lookup_and_delete_batch() local 91 .value_size = sizeof(int), in __test_map_lookup_and_delete_batch() 103 value_size = is_pcpu ? sizeof(value) : sizeof(int); in __test_map_lookup_and_delete_batch() 131 memset(values, 0, max_entries * value_size); in __test_map_lookup_and_delete_batch() 150 memset(values, 0, max_entries * value_size); in __test_map_lookup_and_delete_batch() 162 total * value_size, in __test_map_lookup_and_delete_batch() 216 memset(values, 0, max_entries * value_size); in __test_map_lookup_and_delete_batch() 225 total * value_size, in __test_map_lookup_and_delete_batch()
|
/tools/testing/selftests/bpf/prog_tests/ |
D | btf.c | 72 __u32 value_size; member 140 .value_size = 180, 195 .value_size = 68, 220 .value_size = 16, 261 .value_size = 48, 306 .value_size = 48, 328 .value_size = 4, 350 .value_size = 4, 372 .value_size = 4, 397 .value_size = 4, [all …]
|
/tools/lib/bpf/ |
D | libbpf_probes.c | 204 int key_size, value_size, max_entries, map_flags; in bpf_probe_map_type() local 210 value_size = sizeof(__u32); in bpf_probe_map_type() 216 value_size = sizeof(__u64); in bpf_probe_map_type() 220 value_size = sizeof(__u64); in bpf_probe_map_type() 226 value_size = sizeof(__u64); in bpf_probe_map_type() 238 value_size = 8; in bpf_probe_map_type() 247 value_size = 0; in bpf_probe_map_type() 293 attr.value_size = value_size; in bpf_probe_map_type()
|
/tools/perf/util/bpf_skel/ |
D | bperf_leader.bpf.c | 11 __uint(value_size, sizeof(int)); 18 __uint(value_size, sizeof(struct bpf_perf_event_value)); 25 __uint(value_size, sizeof(struct bpf_perf_event_value));
|
D | bperf_follower.bpf.c | 12 __uint(value_size, sizeof(struct bpf_perf_event_value)); 19 __uint(value_size, sizeof(struct bpf_perf_event_value)); 26 __uint(value_size, sizeof(__u32));
|
D | bpf_prog_profiler.bpf.c | 11 __uint(value_size, sizeof(int)); 18 __uint(value_size, sizeof(struct bpf_perf_event_value)); 26 __uint(value_size, sizeof(struct bpf_perf_event_value));
|
D | bperf_cgroup.bpf.c | 19 __uint(value_size, sizeof(int)); 27 __uint(value_size, sizeof(__u32)); 35 __uint(value_size, sizeof(struct bpf_perf_event_value)); 43 __uint(value_size, sizeof(struct bpf_perf_event_value));
|
/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_pe_preserve_elems.c | 11 __uint(value_size, sizeof(int)); 18 __uint(value_size, sizeof(int));
|
D | test_map_in_map.c | 14 __uint(value_size, sizeof(__u32)); 23 __uint(value_size, sizeof(__u32));
|
D | test_queue_stack_map.h | 18 __uint(value_size, sizeof(__u32)); 26 __uint(value_size, sizeof(__u32));
|
D | tailcall_bpf2bpf4.c | 9 __uint(value_size, sizeof(__u32)); 16 __uint(value_size, sizeof(__u32));
|
D | test_btf_map_in_map.c | 25 __uint(value_size, sizeof(int)); 65 __uint(value_size, sizeof(int)); 115 __uint(value_size, sizeof(int));
|
D | xdp_redirect_multi_kern.c | 18 __uint(value_size, sizeof(int)); 25 __uint(value_size, sizeof(struct bpf_devmap_val));
|
D | test_perf_buffer.c | 12 __uint(value_size, sizeof(int));
|
D | xdp_redirect_map.c | 10 __uint(value_size, sizeof(int));
|
/tools/bpf/bpftool/ |
D | map.c | 92 return malloc(round_up(info->value_size, 8) * in alloc_value() 95 return malloc(info->value_size); in alloc_value() 128 step = round_up(map_info->value_size, 8); in do_dump_btf() 168 print_hex_data_json(value, info->value_size); in print_entry_json() 183 step = round_up(info->value_size, 8); in print_entry_json() 197 info->value_size); in print_entry_json() 277 break_names = info->key_size > 16 || info->value_size > 16; in print_entry_plain() 278 single_line = info->key_size + info->value_size <= 24 && in print_entry_plain() 288 if (info->value_size) { in print_entry_plain() 290 fprint_hex(stdout, value, info->value_size, " "); in print_entry_plain() [all …]
|
/tools/bpf/bpftool/skeleton/ |
D | profiler.bpf.c | 17 __uint(value_size, sizeof(int)); 24 __uint(value_size, sizeof(struct bpf_perf_event_value___local)); 31 __uint(value_size, sizeof(struct bpf_perf_event_value___local)); 38 __uint(value_size, sizeof(u64));
|
/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),
|