/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | sample_map_ret0.c | 6 __uint(type, BPF_MAP_TYPE_HASH); 9 __uint(max_entries, 2); 13 __uint(type, BPF_MAP_TYPE_ARRAY); 16 __uint(max_entries, 2);
|
H A D | recursion.c | 11 __uint(type, BPF_MAP_TYPE_HASH); 12 __uint(max_entries, 1); 18 __uint(type, BPF_MAP_TYPE_HASH); 19 __uint(max_entries, 1);
|
H A D | test_xdp_with_cpumap_helpers.c | 9 __uint(type, BPF_MAP_TYPE_CPUMAP); 10 __uint(key_size, sizeof(__u32)); 11 __uint(value_size, sizeof(struct bpf_cpumap_val)); 12 __uint(max_entries, 4);
|
H A D | tailcall6.c | 7 __uint(type, BPF_MAP_TYPE_PROG_ARRAY); 8 __uint(max_entries, 1); 9 __uint(key_size, sizeof(__u32)); 10 __uint(value_size, sizeof(__u32));
|
H A D | tailcall_bpf2bpf1.c | 6 __uint(type, BPF_MAP_TYPE_PROG_ARRAY); 7 __uint(max_entries, 2); 8 __uint(key_size, sizeof(__u32)); 9 __uint(value_size, sizeof(__u32));
|
H A D | tailcall_bpf2bpf2.c | 7 __uint(type, BPF_MAP_TYPE_PROG_ARRAY); 8 __uint(max_entries, 1); 9 __uint(key_size, sizeof(__u32)); 10 __uint(value_size, sizeof(__u32));
|
H A D | tailcall_bpf2bpf6.c | 9 __uint(type, BPF_MAP_TYPE_PROG_ARRAY); 10 __uint(max_entries, 1); 11 __uint(key_size, sizeof(__u32)); 12 __uint(value_size, sizeof(__u32));
|
H A D | inner_array_lookup.c | 7 __uint(type, BPF_MAP_TYPE_ARRAY); 8 __uint(max_entries, 5); 14 __uint(type, BPF_MAP_TYPE_HASH_OF_MAPS); 15 __uint(max_entries, 3);
|
H A D | test_hash_large_key.c | 9 __uint(type, BPF_MAP_TYPE_HASH); 10 __uint(max_entries, 2); 16 __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY); 17 __uint(max_entries, 1);
|
H A D | test_core_retro.c | 12 __uint(type, BPF_MAP_TYPE_ARRAY); 13 __uint(max_entries, 1); 19 __uint(type, BPF_MAP_TYPE_ARRAY); 20 __uint(max_entries, 1);
|
H A D | get_cgroup_id_kern.c | 8 __uint(type, BPF_MAP_TYPE_ARRAY); 9 __uint(max_entries, 1); 15 __uint(type, BPF_MAP_TYPE_ARRAY); 16 __uint(max_entries, 1);
|
H A D | test_xdp_with_devmap_helpers.c | 6 __uint(type, BPF_MAP_TYPE_DEVMAP); 7 __uint(key_size, sizeof(__u32)); 8 __uint(value_size, sizeof(struct bpf_devmap_val)); 9 __uint(max_entries, 4);
|
H A D | timer_crash.c | 13 __uint(type, BPF_MAP_TYPE_ARRAY); 14 __uint(max_entries, 1); 20 __uint(type, BPF_MAP_TYPE_HASH); 21 __uint(max_entries, 1);
|
H A D | verifier_bpf_get_stack.c | 16 __uint(type, BPF_MAP_TYPE_ARRAY); 17 __uint(max_entries, 1); 23 __uint(type, BPF_MAP_TYPE_HASH); 24 __uint(max_entries, 1);
|
H A D | tailcall2.c | 7 __uint(type, BPF_MAP_TYPE_PROG_ARRAY); 8 __uint(max_entries, 5); 9 __uint(key_size, sizeof(__u32)); 10 __uint(value_size, sizeof(__u32));
|
H A D | test_mmap.c | 11 __uint(type, BPF_MAP_TYPE_ARRAY); 12 __uint(map_flags, BPF_F_MMAPABLE | BPF_F_RDONLY_PROG); 18 __uint(type, BPF_MAP_TYPE_ARRAY); 19 __uint(map_flags, BPF_F_MMAPABLE);
|
H A D | xsk_xdp_progs.c | 9 __uint(type, BPF_MAP_TYPE_XSKMAP); 10 __uint(max_entries, 1); 11 __uint(key_size, sizeof(int)); 12 __uint(value_size, sizeof(int));
|
H A D | test_legacy_printk.c | 11 __uint(type, BPF_MAP_TYPE_ARRAY); 14 __uint(max_entries, 1); 18 __uint(type, BPF_MAP_TYPE_ARRAY); 21 __uint(max_entries, 1);
|
H A D | twfw.c | 23 __uint(type, BPF_MAP_TYPE_ARRAY); 26 __uint(max_entries, 1); 30 __uint(type, BPF_MAP_TYPE_ARRAY); 33 __uint(max_entries, 1);
|
H A D | tailcall1.c | 7 __uint(type, BPF_MAP_TYPE_PROG_ARRAY); 8 __uint(max_entries, 3); 9 __uint(key_size, sizeof(__u32)); 10 __uint(value_size, sizeof(__u32));
|
H A D | test_subskeleton_lib.c | 31 __uint(type, BPF_MAP_TYPE_HASH); 34 __uint(max_entries, 16); 38 __uint(type, BPF_MAP_TYPE_HASH); 41 __uint(max_entries, 16);
|
H A D | verifier_map_in_map.c | 9 __uint(type, BPF_MAP_TYPE_ARRAY_OF_MAPS); 10 __uint(max_entries, 1); 14 __uint(type, BPF_MAP_TYPE_ARRAY); 15 __uint(max_entries, 1);
|
/openbmc/linux/samples/bpf/ |
H A D | tracex5.bpf.c | 19 __uint(type, BPF_MAP_TYPE_PROG_ARRAY); 20 __uint(key_size, sizeof(u32)); 21 __uint(value_size, sizeof(u32)); 23 __uint(max_entries, 6000); /* MIPS n64 syscalls start at 5000 */ 25 __uint(max_entries, 1024);
|
/openbmc/linux/tools/bpf/runqslower/ |
H A D | runqslower.bpf.c | 14 __uint(type, BPF_MAP_TYPE_TASK_STORAGE); 15 __uint(map_flags, BPF_F_NO_PREALLOC); 21 __uint(type, BPF_MAP_TYPE_PERF_EVENT_ARRAY); 22 __uint(key_size, sizeof(u32)); 23 __uint(value_size, sizeof(u32));
|
/openbmc/qemu/tools/ebpf/ |
H A D | rss.bpf.c | 80 __uint(type, BPF_MAP_TYPE_ARRAY); 81 __uint(key_size, sizeof(__u32)); 83 __uint(max_entries, 1); 84 __uint(map_flags, BPF_F_MMAPABLE); 88 __uint(type, BPF_MAP_TYPE_ARRAY); 89 __uint(key_size, sizeof(__u32)); 91 __uint(max_entries, 1); 92 __uint(map_flags, BPF_F_MMAPABLE); 96 __uint(type, BPF_MAP_TYPE_ARRAY); 97 __uint(key_size, sizeof(__u32)); [all …]
|