Home
last modified time | relevance | path

Searched refs:prog_type (Results 1 – 25 of 100) sorted by relevance

1234

/Linux-v6.1/tools/testing/selftests/bpf/verifier/
Devent_output.c42 .prog_type = BPF_PROG_TYPE_SOCK_OPS,
50 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
58 .prog_type = BPF_PROG_TYPE_LWT_OUT,
66 .prog_type = BPF_PROG_TYPE_XDP,
74 .prog_type = BPF_PROG_TYPE_SOCKET_FILTER,
82 .prog_type = BPF_PROG_TYPE_SK_SKB,
90 .prog_type = BPF_PROG_TYPE_CGROUP_SKB,
98 .prog_type = BPF_PROG_TYPE_CGROUP_DEVICE,
106 .prog_type = BPF_PROG_TYPE_CGROUP_SYSCTL,
114 .prog_type = BPF_PROG_TYPE_CGROUP_SOCKOPT,
Dloops1.c10 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
22 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
34 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
46 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
57 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
70 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
83 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
97 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
110 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
127 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
[all …]
Dctx.c10 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
21 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
35 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
46 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
59 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
89 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
101 .prog_type = BPF_PROG_TYPE_CGROUP_SOCK_ADDR,
114 .prog_type = BPF_PROG_TYPE_CGROUP_SOCK_ADDR,
127 .prog_type = BPF_PROG_TYPE_CGROUP_SOCK_ADDR,
141 .prog_type = BPF_PROG_TYPE_CGROUP_SOCK_ADDR,
[all …]
Dref_tracking.c8 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
19 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
33 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
48 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
59 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
70 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
83 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
99 .prog_type = BPF_PROG_TYPE_LSM,
120 .prog_type = BPF_PROG_TYPE_LSM,
141 .prog_type = BPF_PROG_TYPE_LSM,
[all …]
Dctx_sk_msg.c9 .prog_type = BPF_PROG_TYPE_SK_MSG,
19 .prog_type = BPF_PROG_TYPE_SK_MSG,
29 .prog_type = BPF_PROG_TYPE_SK_MSG,
39 .prog_type = BPF_PROG_TYPE_SK_MSG,
49 .prog_type = BPF_PROG_TYPE_SK_MSG,
65 .prog_type = BPF_PROG_TYPE_SK_SKB,
81 .prog_type = BPF_PROG_TYPE_SK_SKB,
91 .prog_type = BPF_PROG_TYPE_SK_MSG,
102 .prog_type = BPF_PROG_TYPE_SK_MSG,
114 .prog_type = BPF_PROG_TYPE_SK_MSG,
[all …]
Dsock.c9 .prog_type = BPF_PROG_TYPE_CGROUP_SKB,
24 .prog_type = BPF_PROG_TYPE_CGROUP_SKB,
38 .prog_type = BPF_PROG_TYPE_CGROUP_SKB,
50 .prog_type = BPF_PROG_TYPE_CGROUP_SKB,
66 .prog_type = BPF_PROG_TYPE_CGROUP_SKB,
85 .prog_type = BPF_PROG_TYPE_CGROUP_SKB,
102 .prog_type = BPF_PROG_TYPE_CGROUP_SKB,
120 .prog_type = BPF_PROG_TYPE_CGROUP_SKB,
138 .prog_type = BPF_PROG_TYPE_CGROUP_SKB,
156 .prog_type = BPF_PROG_TYPE_CGROUP_SKB,
[all …]
Dxdp_direct_packet_access.c17 .prog_type = BPF_PROG_TYPE_XDP,
35 .prog_type = BPF_PROG_TYPE_XDP,
51 .prog_type = BPF_PROG_TYPE_XDP,
69 .prog_type = BPF_PROG_TYPE_XDP,
87 .prog_type = BPF_PROG_TYPE_XDP,
104 .prog_type = BPF_PROG_TYPE_XDP,
122 .prog_type = BPF_PROG_TYPE_XDP,
140 .prog_type = BPF_PROG_TYPE_XDP,
159 .prog_type = BPF_PROG_TYPE_XDP,
177 .prog_type = BPF_PROG_TYPE_XDP,
[all …]
Dcgroup_storage.c14 .prog_type = BPF_PROG_TYPE_CGROUP_SKB,
30 .prog_type = BPF_PROG_TYPE_CGROUP_SKB,
43 .prog_type = BPF_PROG_TYPE_CGROUP_SKB,
59 .prog_type = BPF_PROG_TYPE_CGROUP_SKB,
75 .prog_type = BPF_PROG_TYPE_CGROUP_SKB,
92 .prog_type = BPF_PROG_TYPE_CGROUP_SKB,
109 .prog_type = BPF_PROG_TYPE_CGROUP_SKB,
124 .prog_type = BPF_PROG_TYPE_CGROUP_SKB,
140 .prog_type = BPF_PROG_TYPE_CGROUP_SKB,
153 .prog_type = BPF_PROG_TYPE_CGROUP_SKB,
[all …]
Dhelper_value_access.c18 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
37 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
56 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
76 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
96 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
117 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
137 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
157 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
179 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
200 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
[all …]
Dcalls.c8 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
21 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
32 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
47 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
62 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
77 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
92 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
110 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
133 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
153 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
[all …]
Dcgroup_inv_retcode.c9 .prog_type = BPF_PROG_TYPE_CGROUP_SOCK,
19 .prog_type = BPF_PROG_TYPE_CGROUP_SOCK,
30 .prog_type = BPF_PROG_TYPE_CGROUP_SOCK,
39 .prog_type = BPF_PROG_TYPE_CGROUP_SOCK,
49 .prog_type = BPF_PROG_TYPE_CGROUP_SOCK,
59 .prog_type = BPF_PROG_TYPE_CGROUP_SOCK,
71 .prog_type = BPF_PROG_TYPE_CGROUP_SOCK,
Dhelper_restricted.c10 .prog_type = BPF_PROG_TYPE_KPROBE,
21 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
32 .prog_type = BPF_PROG_TYPE_PERF_EVENT,
43 .prog_type = BPF_PROG_TYPE_RAW_TRACEPOINT,
63 .prog_type = BPF_PROG_TYPE_KPROBE,
83 .prog_type = BPF_PROG_TYPE_PERF_EVENT,
103 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
123 .prog_type = BPF_PROG_TYPE_RAW_TRACEPOINT,
141 .prog_type = BPF_PROG_TYPE_KPROBE,
159 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
[all …]
Ddiv_overflow.c13 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
24 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
39 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
53 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
65 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
76 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
92 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
107 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
Dhelper_access_var_len.c27 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
44 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
64 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
92 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
120 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
141 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
161 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
181 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
199 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
217 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
[all …]
Draw_stack.c15 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
31 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
47 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
63 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
78 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
94 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
117 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
136 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
166 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
193 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
[all …]
Ddiv0.c83 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
95 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
107 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
119 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
133 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
145 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
157 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
169 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
181 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
Djmp32.c16 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
48 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
104 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
128 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
169 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
193 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
234 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
261 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
304 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
331 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
[all …]
Dld_dw.c6 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
15 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
24 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
33 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
42 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
Dhelper_packet_access.c20 .prog_type = BPF_PROG_TYPE_XDP,
34 .prog_type = BPF_PROG_TYPE_XDP,
59 .prog_type = BPF_PROG_TYPE_XDP,
80 .prog_type = BPF_PROG_TYPE_XDP,
100 .prog_type = BPF_PROG_TYPE_XDP,
121 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
136 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
162 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
184 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
205 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
[all …]
Ddirect_packet_access.c13 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
30 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
64 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
76 .prog_type = BPF_PROG_TYPE_SOCKET_FILTER,
93 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
112 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
132 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
153 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
174 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
195 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
[all …]
Djset.c30 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
70 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
84 .prog_type = BPF_PROG_TYPE_SOCKET_FILTER,
98 .prog_type = BPF_PROG_TYPE_SOCKET_FILTER,
113 .prog_type = BPF_PROG_TYPE_SOCKET_FILTER,
127 .prog_type = BPF_PROG_TYPE_SOCKET_FILTER,
143 .prog_type = BPF_PROG_TYPE_SOCKET_FILTER,
165 .prog_type = BPF_PROG_TYPE_SOCKET_FILTER,
Dmap_kptr.c17 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
37 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
67 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
99 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
120 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
149 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
174 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
195 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
218 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
242 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
[all …]
Dld_abs.c92 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
103 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
115 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
161 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
181 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
201 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
217 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
233 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
244 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
272 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
[all …]
Dvar_off.c18 .prog_type = BPF_PROG_TYPE_LWT_IN,
42 .prog_type = BPF_PROG_TYPE_CGROUP_SKB,
63 .prog_type = BPF_PROG_TYPE_LWT_IN,
163 .prog_type = BPF_PROG_TYPE_SOCK_OPS,
188 .prog_type = BPF_PROG_TYPE_LWT_IN,
213 .prog_type = BPF_PROG_TYPE_LWT_IN,
238 .prog_type = BPF_PROG_TYPE_LWT_IN,
263 .prog_type = BPF_PROG_TYPE_LWT_IN,
290 .prog_type = BPF_PROG_TYPE_CGROUP_SKB,
317 .prog_type = BPF_PROG_TYPE_SOCK_OPS,
[all …]
/Linux-v6.1/tools/bpf/bpftool/
Dfeature.c517 probe_prog_load_ifindex(enum bpf_prog_type prog_type, in probe_prog_load_ifindex() argument
531 fd = bpf_prog_load(prog_type, NULL, "GPL", insns, insns_cnt, &opts); in probe_prog_load_ifindex()
538 static bool probe_prog_type_ifindex(enum bpf_prog_type prog_type, __u32 ifindex) in probe_prog_type_ifindex() argument
546 return probe_prog_load_ifindex(prog_type, insns, ARRAY_SIZE(insns), in probe_prog_type_ifindex()
551 probe_prog_type(enum bpf_prog_type prog_type, const char *prog_type_str, in probe_prog_type() argument
560 switch (prog_type) { in probe_prog_type()
568 res = probe_prog_type_ifindex(prog_type, ifindex); in probe_prog_type()
570 res = libbpf_probe_bpf_prog_type(prog_type, NULL) > 0; in probe_prog_type()
581 supported_types[prog_type] |= res; in probe_prog_type()
659 probe_helper_ifindex(enum bpf_func_id id, enum bpf_prog_type prog_type, in probe_helper_ifindex() argument
[all …]

1234