/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | verifier_array_access.c | 16 __uint(type, BPF_MAP_TYPE_ARRAY); 17 __uint(max_entries, 1); 20 __uint(map_flags, BPF_F_RDONLY_PROG); 24 __uint(type, BPF_MAP_TYPE_ARRAY); 25 __uint(max_entries, 1); 28 __uint(map_flags, BPF_F_WRONLY_PROG); 32 __uint(type, BPF_MAP_TYPE_HASH); 33 __uint(max_entries, 1);
|
H A D | test_log_fixup.c | 39 __uint(type, BPF_MAP_TYPE_ARRAY); 40 __uint(max_entries, 1); 46 __uint(type, BPF_MAP_TYPE_ARRAY); 47 __uint(max_entries, 1);
|
H A D | tailcall_bpf2bpf3.c | 8 __uint(type, BPF_MAP_TYPE_PROG_ARRAY); 9 __uint(max_entries, 2); 10 __uint(key_size, sizeof(__u32)); 11 __uint(value_size, sizeof(__u32));
|
H A D | perf_event_stackmap.c | 12 __uint(type, BPF_MAP_TYPE_STACK_TRACE); 13 __uint(max_entries, 16384); 19 __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY); 20 __uint(max_entries, 1);
|
H A D | verifier_cgroup_storage.c | 10 __uint(type, BPF_MAP_TYPE_CGROUP_STORAGE); 11 __uint(max_entries, 0); 17 __uint(type, BPF_MAP_TYPE_HASH); 18 __uint(max_entries, 1); 24 __uint(type, BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE); 25 __uint(max_entries, 0);
|
H A D | bpf_iter_bpf_array_map.c | 16 __uint(type, BPF_MAP_TYPE_ARRAY); 17 __uint(max_entries, 3); 23 __uint(type, BPF_MAP_TYPE_HASH); 24 __uint(max_entries, 10);
|
H A D | linked_list.h | 29 __uint(type, BPF_MAP_TYPE_ARRAY); 32 __uint(max_entries, 1); 39 __uint(type, BPF_MAP_TYPE_ARRAY_OF_MAPS); 40 __uint(max_entries, 1);
|
H A D | test_spin_lock.c | 15 __uint(type, BPF_MAP_TYPE_HASH); 16 __uint(max_entries, 1); 27 __uint(type, BPF_MAP_TYPE_CGROUP_STORAGE); 41 __uint(type, BPF_MAP_TYPE_ARRAY); 42 __uint(max_entries, 1);
|
H A D | bloom_filter_bench.c | 18 __uint(type, BPF_MAP_TYPE_ARRAY); 19 __uint(key_size, sizeof(__u32)); 26 __uint(type, BPF_MAP_TYPE_BLOOM_FILTER); 31 __uint(map_extra, 3); 35 __uint(type, BPF_MAP_TYPE_HASH);
|
H A D | test_pinning_invalid.c | 7 __uint(type, BPF_MAP_TYPE_ARRAY); 8 __uint(max_entries, 1); 11 __uint(pinning, 2); /* invalid */
|
H A D | test_map_lock.c | 15 __uint(type, BPF_MAP_TYPE_HASH); 16 __uint(max_entries, 1); 27 __uint(type, BPF_MAP_TYPE_ARRAY); 28 __uint(max_entries, 1);
|
H A D | xdp_metadata.c | 9 __uint(type, BPF_MAP_TYPE_XSKMAP); 10 __uint(max_entries, 4); 16 __uint(type, BPF_MAP_TYPE_PROG_ARRAY); 17 __uint(max_entries, 1);
|
H A D | htab_reuse.c | 14 __uint(type, BPF_MAP_TYPE_HASH); 15 __uint(max_entries, 64); 18 __uint(map_flags, BPF_F_NO_PREALLOC);
|
H A D | cgrp_ls_recursion.c | 11 __uint(type, BPF_MAP_TYPE_CGRP_STORAGE); 12 __uint(map_flags, BPF_F_NO_PREALLOC); 18 __uint(type, BPF_MAP_TYPE_CGRP_STORAGE); 19 __uint(map_flags, BPF_F_NO_PREALLOC);
|
H A D | test_tcpnotify_kern.c | 18 __uint(type, BPF_MAP_TYPE_ARRAY); 19 __uint(max_entries, 4); 25 __uint(type, BPF_MAP_TYPE_PERF_EVENT_ARRAY); 26 __uint(max_entries, 2);
|
H A D | for_each_array_map_elem.c | 9 __uint(type, BPF_MAP_TYPE_ARRAY); 10 __uint(max_entries, 3); 16 __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY); 17 __uint(max_entries, 1);
|
H A D | verifier_runtime_jit.c | 14 __uint(type, BPF_MAP_TYPE_PROG_ARRAY); 15 __uint(max_entries, 4); 16 __uint(key_size, sizeof(int)); 27 __uint(type, BPF_MAP_TYPE_PROG_ARRAY); 28 __uint(max_entries, 8); 29 __uint(key_size, sizeof(int));
|
H A D | test_helper_restricted.c | 15 __uint(type, BPF_MAP_TYPE_ARRAY); 16 __uint(max_entries, 1); 22 __uint(type, BPF_MAP_TYPE_ARRAY); 23 __uint(max_entries, 1);
|
H A D | verifier_map_ptr.c | 16 __uint(type, BPF_MAP_TYPE_ARRAY); 17 __uint(max_entries, 1); 28 __uint(type, BPF_MAP_TYPE_HASH); 29 __uint(max_entries, 1);
|
H A D | task_ls_recursion.c | 17 __uint(type, BPF_MAP_TYPE_TASK_STORAGE); 18 __uint(map_flags, BPF_F_NO_PREALLOC); 24 __uint(type, BPF_MAP_TYPE_TASK_STORAGE); 25 __uint(map_flags, BPF_F_NO_PREALLOC);
|
H A D | cgrp_ls_tp_btf.c | 11 __uint(type, BPF_MAP_TYPE_CGRP_STORAGE); 12 __uint(map_flags, BPF_F_NO_PREALLOC); 18 __uint(type, BPF_MAP_TYPE_CGRP_STORAGE); 19 __uint(map_flags, BPF_F_NO_PREALLOC);
|
H A D | bench_local_storage_create.c | 19 __uint(type, BPF_MAP_TYPE_SK_STORAGE); 20 __uint(map_flags, BPF_F_NO_PREALLOC); 26 __uint(type, BPF_MAP_TYPE_TASK_STORAGE); 27 __uint(map_flags, BPF_F_NO_PREALLOC);
|
H A D | test_prog_array_init.c | 19 __uint(type, BPF_MAP_TYPE_PROG_ARRAY); 20 __uint(max_entries, 2); 21 __uint(key_size, sizeof(__u32));
|
/openbmc/linux/tools/perf/util/bpf_skel/ |
H A D | augmented_raw_syscalls.bpf.c | 40 __uint(type, BPF_MAP_TYPE_PERF_EVENT_ARRAY); 43 __uint(max_entries, MAX_CPUS); 52 __uint(type, BPF_MAP_TYPE_PROG_ARRAY); 55 __uint(max_entries, 512); 64 __uint(type, BPF_MAP_TYPE_PROG_ARRAY); 67 __uint(max_entries, 512); 89 __uint(type, BPF_MAP_TYPE_HASH); 92 __uint(max_entries, 64); 134 __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY); 137 __uint(max_entries, 1);
|
/openbmc/linux/samples/bpf/ |
H A D | syscall_tp_kern.c | 22 __uint(type, BPF_MAP_TYPE_ARRAY); 25 __uint(max_entries, 1); 29 __uint(type, BPF_MAP_TYPE_ARRAY); 32 __uint(max_entries, 1);
|