Searched refs:__uint (Results 1 - 25 of 312) sorted by path

1234567891011>>

/linux-master/drivers/hid/bpf/entrypoints/
H A Dentrypoints.bpf.c11 __uint(type, BPF_MAP_TYPE_PROG_ARRAY);
12 __uint(max_entries, HID_BPF_MAX_PROGS);
13 __uint(key_size, sizeof(__u32));
14 __uint(value_size, sizeof(__u32));
/linux-master/samples/bpf/
H A Dcpustat_kern.c55 __uint(type, BPF_MAP_TYPE_ARRAY);
58 __uint(max_entries, MAX_CPU * MAP_OFF_NUM);
63 __uint(type, BPF_MAP_TYPE_ARRAY);
66 __uint(max_entries, MAX_CPU * MAX_CSTATE_ENTRIES);
71 __uint(type, BPF_MAP_TYPE_ARRAY);
74 __uint(max_entries, MAX_CPU * MAX_PSTATE_ENTRIES);
H A Dhbm_kern.h61 __uint(type, BPF_MAP_TYPE_CGROUP_STORAGE);
67 __uint(type, BPF_MAP_TYPE_ARRAY);
68 __uint(max_entries, 1);
H A Dibumad_kern.c20 __uint(type, BPF_MAP_TYPE_ARRAY);
23 __uint(max_entries, 256); /* Room for all Classes */
27 __uint(type, BPF_MAP_TYPE_ARRAY);
30 __uint(max_entries, 256); /* Room for all Classes */
H A Dlathist_kern.c22 __uint(type, BPF_MAP_TYPE_ARRAY);
25 __uint(max_entries, MAX_CPU);
65 __uint(type, BPF_MAP_TYPE_ARRAY);
68 __uint(max_entries, MAX_CPU * MAX_ENTRIES);
H A Dlwt_len_hist.bpf.c17 __uint(type, BPF_MAP_TYPE_PERCPU_HASH);
20 __uint(pinning, LIBBPF_PIN_BY_NAME);
21 __uint(max_entries, 1024);
H A Dmap_perf_test.bpf.c18 __uint(type, BPF_MAP_TYPE_HASH);
21 __uint(max_entries, MAX_ENTRIES);
25 __uint(type, BPF_MAP_TYPE_LRU_HASH);
28 __uint(max_entries, 10000);
32 __uint(type, BPF_MAP_TYPE_LRU_HASH);
35 __uint(max_entries, 10000);
36 __uint(map_flags, BPF_F_NO_COMMON_LRU);
40 __uint(type, BPF_MAP_TYPE_LRU_HASH);
43 __uint(max_entries, MAX_ENTRIES);
44 __uint(map_flag
[all...]
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 Dsampleip_kern.c16 __uint(type, BPF_MAP_TYPE_HASH);
19 __uint(max_entries, MAX_IPS);
H A Dsockex1_kern.c9 __uint(type, BPF_MAP_TYPE_ARRAY);
12 __uint(max_entries, 256);
H A Dsockex2_kern.c194 __uint(type, BPF_MAP_TYPE_HASH);
197 __uint(max_entries, 1024);
H A Dsockex3_kern.c63 __uint(type, BPF_MAP_TYPE_ARRAY);
66 __uint(max_entries, 32);
84 __uint(type, BPF_MAP_TYPE_HASH);
87 __uint(max_entries, 1024);
252 __uint(type, BPF_MAP_TYPE_PROG_ARRAY);
253 __uint(key_size, sizeof(u32));
254 __uint(max_entries, 8);
H A Dspintest.bpf.c17 __uint(type, BPF_MAP_TYPE_HASH);
20 __uint(max_entries, 1024);
23 __uint(type, BPF_MAP_TYPE_PERCPU_HASH);
24 __uint(key_size, sizeof(long));
25 __uint(value_size, sizeof(long));
26 __uint(max_entries, 1024);
30 __uint(type, BPF_MAP_TYPE_STACK_TRACE);
31 __uint(key_size, sizeof(u32));
32 __uint(value_size, PERF_MAX_STACK_DEPTH * sizeof(u64));
33 __uint(max_entrie
[all...]
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 Dtest_cgrp2_tc.bpf.c20 __uint(type, BPF_MAP_TYPE_CGROUP_ARRAY);
23 __uint(pinning, LIBBPF_PIN_BY_NAME);
24 __uint(max_entries, 1);
H A Dtest_current_task_under_cgroup.bpf.c15 __uint(type, BPF_MAP_TYPE_CGROUP_ARRAY);
16 __uint(key_size, sizeof(u32));
17 __uint(value_size, sizeof(u32));
18 __uint(max_entries, 1);
22 __uint(type, BPF_MAP_TYPE_ARRAY);
25 __uint(max_entries, 1);
H A Dtest_map_in_map.bpf.c22 __uint(type, BPF_MAP_TYPE_ARRAY);
25 __uint(max_entries, MAX_NR_PORTS);
30 __uint(type, BPF_MAP_TYPE_HASH);
33 __uint(max_entries, 1);
38 __uint(type, BPF_MAP_TYPE_HASH);
41 __uint(max_entries, 1);
46 __uint(type, BPF_MAP_TYPE_HASH);
49 __uint(max_entries, 1);
54 __uint(type, BPF_MAP_TYPE_ARRAY_OF_MAPS);
55 __uint(max_entrie
[all...]
H A Dtest_probe_write_user.bpf.c15 __uint(type, BPF_MAP_TYPE_HASH);
18 __uint(max_entries, 256);
H A Dtrace_event_kern.c21 __uint(type, BPF_MAP_TYPE_HASH);
24 __uint(max_entries, 10000);
28 __uint(type, BPF_MAP_TYPE_STACK_TRACE);
29 __uint(key_size, sizeof(u32));
30 __uint(value_size, PERF_MAX_STACK_DEPTH * sizeof(u64));
31 __uint(max_entries, 10000);
H A Dtrace_output.bpf.c6 __uint(type, BPF_MAP_TYPE_PERF_EVENT_ARRAY);
7 __uint(key_size, sizeof(int));
8 __uint(value_size, sizeof(u32));
9 __uint(max_entries, 2);
H A Dtracex2.bpf.c14 __uint(type, BPF_MAP_TYPE_HASH);
17 __uint(max_entries, 1024);
73 __uint(type, BPF_MAP_TYPE_PERCPU_HASH);
74 __uint(key_size, sizeof(struct hist_key));
75 __uint(value_size, sizeof(long));
76 __uint(max_entries, 1024);
H A Dtracex3.bpf.c19 __uint(type, BPF_MAP_TYPE_HASH);
22 __uint(max_entries, 4096);
51 __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);
52 __uint(key_size, sizeof(u32));
53 __uint(value_size, sizeof(u64));
54 __uint(max_entries, SLOTS);
H A Dtracex4.bpf.c18 __uint(type, BPF_MAP_TYPE_HASH);
21 __uint(max_entries, 1000000);
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 Dtracex6.bpf.c8 __uint(type, BPF_MAP_TYPE_PERF_EVENT_ARRAY);
9 __uint(key_size, sizeof(int));
10 __uint(value_size, sizeof(u32));
11 __uint(max_entries, 64);
15 __uint(type, BPF_MAP_TYPE_HASH);
18 __uint(max_entries, 64);
22 __uint(type, BPF_MAP_TYPE_HASH);
25 __uint(max_entries, 64);

Completed in 275 milliseconds

1234567891011>>