/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | map_kptr.c | 13 __uint(type, BPF_MAP_TYPE_ARRAY); 16 __uint(max_entries, 1); 20 __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY); 23 __uint(max_entries, 1); 27 __uint(type, BPF_MAP_TYPE_HASH); 30 __uint(max_entries, 1); 34 __uint(type, BPF_MAP_TYPE_PERCPU_HASH); 37 __uint(max_entries, 1); 41 __uint(type, BPF_MAP_TYPE_HASH); 44 __uint(max_entrie [all...] |
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 | 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 | 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 | 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_kfunc_dynptr_param.c | 22 __uint(type, BPF_MAP_TYPE_RINGBUF); 23 __uint(max_entries, 4096); 27 __uint(type, BPF_MAP_TYPE_ARRAY); 28 __uint(max_entries, 1);
|
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 | 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 | 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 | 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 | 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 | xsk_xdp_progs.c | 10 __uint(type, BPF_MAP_TYPE_XSKMAP); 11 __uint(max_entries, 2); 12 __uint(key_size, sizeof(int)); 13 __uint(value_size, sizeof(int));
|
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 | test_select_reuseport_kern.c | 23 __uint(type, BPF_MAP_TYPE_ARRAY_OF_MAPS); 24 __uint(max_entries, 1); 30 __uint(type, BPF_MAP_TYPE_ARRAY); 31 __uint(max_entries, NR_RESULTS); 37 __uint(type, BPF_MAP_TYPE_ARRAY); 38 __uint(max_entries, 1); 44 __uint(type, BPF_MAP_TYPE_ARRAY); 45 __uint(max_entries, 1); 51 __uint(type, BPF_MAP_TYPE_ARRAY); 52 __uint(max_entrie [all...] |
H A D | local_storage.c | 27 __uint(type, BPF_MAP_TYPE_INODE_STORAGE); 28 __uint(map_flags, BPF_F_NO_PREALLOC); 34 __uint(type, BPF_MAP_TYPE_SK_STORAGE); 35 __uint(map_flags, BPF_F_NO_PREALLOC | BPF_F_CLONE); 41 __uint(type, BPF_MAP_TYPE_SK_STORAGE); 42 __uint(map_flags, BPF_F_NO_PREALLOC | BPF_F_CLONE); 48 __uint(type, BPF_MAP_TYPE_TASK_STORAGE); 49 __uint(map_flags, BPF_F_NO_PREALLOC); 55 __uint(type, BPF_MAP_TYPE_TASK_STORAGE); 56 __uint(map_flag [all...] |
H A D | test_global_data.c | 11 __uint(type, BPF_MAP_TYPE_ARRAY); 12 __uint(max_entries, 11); 18 __uint(type, BPF_MAP_TYPE_ARRAY); 19 __uint(max_entries, 5); 31 __uint(type, BPF_MAP_TYPE_ARRAY); 32 __uint(max_entries, 5);
|
H A D | load_bytes_relative.c | 14 __uint(type, BPF_MAP_TYPE_ARRAY); 15 __uint(max_entries, 1);
|
H A D | bpf_iter_bpf_percpu_array_map.c | 16 __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY); 17 __uint(max_entries, 3);
|
H A D | bpf_iter_bpf_sk_storage_helpers.c | 10 __uint(type, BPF_MAP_TYPE_SK_STORAGE); 11 __uint(map_flags, BPF_F_NO_PREALLOC);
|
/linux-master/samples/bpf/ |
H A D | syscall_tp_kern.c | 33 __uint(type, BPF_MAP_TYPE_ARRAY); 36 __uint(max_entries, 1); 40 __uint(type, BPF_MAP_TYPE_ARRAY); 43 __uint(max_entries, 1);
|
H A D | offwaketime.bpf.c | 28 __uint(type, BPF_MAP_TYPE_HASH); 31 __uint(max_entries, MAX_ENTRIES); 35 __uint(type, BPF_MAP_TYPE_HASH); 38 __uint(max_entries, MAX_ENTRIES); 47 __uint(type, BPF_MAP_TYPE_HASH); 50 __uint(max_entries, MAX_ENTRIES); 54 __uint(type, BPF_MAP_TYPE_STACK_TRACE); 55 __uint(key_size, sizeof(u32)); 56 __uint(value_size, PERF_MAX_STACK_DEPTH * sizeof(u64)); 57 __uint(max_entrie [all...] |
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);
|
H A D | sockex1_kern.c | 9 __uint(type, BPF_MAP_TYPE_ARRAY); 12 __uint(max_entries, 256);
|
/linux-master/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));
|
/linux-master/tools/perf/util/bpf_skel/ |
H A D | kwork_trace.bpf.c | 36 __uint(type, BPF_MAP_TYPE_HASH); 37 __uint(key_size, sizeof(struct work_key)); 38 __uint(value_size, MAX_KWORKNAME); 39 __uint(max_entries, KWORK_COUNT); 43 __uint(type, BPF_MAP_TYPE_HASH); 44 __uint(key_size, sizeof(struct work_key)); 45 __uint(value_size, sizeof(__u64)); 46 __uint(max_entries, KWORK_COUNT); 50 __uint(type, BPF_MAP_TYPE_HASH); 51 __uint(key_siz [all...] |