Searched refs:__uint (Results 126 - 150 of 312) sorted by relevance

1234567891011>>

/linux-master/tools/testing/selftests/bpf/progs/
H A Dmap_kptr.c13 __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 Dfor_each_array_map_elem.c9 __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 Dtest_helper_restricted.c15 __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 Dbpf_iter_bpf_array_map.c16 __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 Dbench_local_storage_create.c19 __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 Dtest_kfunc_dynptr_param.c22 __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 Dtest_map_lock.c15 __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 Dtest_log_fixup.c39 __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 Dverifier_map_ptr.c16 __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 Dlinked_list.h29 __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 Dtailcall_bpf2bpf3.c8 __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 Dxsk_xdp_progs.c10 __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 Dtask_ls_recursion.c17 __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 Dtest_select_reuseport_kern.c23 __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 Dlocal_storage.c27 __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 Dtest_global_data.c11 __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 Dload_bytes_relative.c14 __uint(type, BPF_MAP_TYPE_ARRAY);
15 __uint(max_entries, 1);
H A Dbpf_iter_bpf_percpu_array_map.c16 __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);
17 __uint(max_entries, 3);
H A Dbpf_iter_bpf_sk_storage_helpers.c10 __uint(type, BPF_MAP_TYPE_SK_STORAGE);
11 __uint(map_flags, BPF_F_NO_PREALLOC);
/linux-master/samples/bpf/
H A Dsyscall_tp_kern.c33 __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 Doffwaketime.bpf.c28 __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 Dtracex5.bpf.c19 __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 Dsockex1_kern.c9 __uint(type, BPF_MAP_TYPE_ARRAY);
12 __uint(max_entries, 256);
/linux-master/tools/bpf/runqslower/
H A Drunqslower.bpf.c14 __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 Dkwork_trace.bpf.c36 __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...]

Completed in 622 milliseconds

1234567891011>>