Lines Matching refs:prog
94 struct bpf_program *prog = NULL; \ in test_exceptions_success()
99 ASSERT_OK_PTR(bpf_program__name(prog), bpf_program__name(prog)); \ in test_exceptions_success()
112 if (!ASSERT_ERR_PTR(link = bpf_program__attach(prog), "attach err")) \ in test_exceptions_success()
115 if (!ASSERT_OK_PTR(link = bpf_program__attach(prog), "attach ok")) \ in test_exceptions_success()
124 prog = eskel->progs.pfentry; in test_exceptions_success()
125 bpf_program__set_autoload(prog, true); in test_exceptions_success()
126 if (!ASSERT_OK(bpf_program__set_attach_target(prog, in test_exceptions_success()
134 prog = eskel->progs.throwing_fentry; in test_exceptions_success()
135 bpf_program__set_autoload(prog, true); in test_exceptions_success()
136 if (!ASSERT_OK(bpf_program__set_attach_target(prog, in test_exceptions_success()
144 prog = eskel->progs.pfexit; in test_exceptions_success()
145 bpf_program__set_autoload(prog, true); in test_exceptions_success()
146 if (!ASSERT_OK(bpf_program__set_attach_target(prog, in test_exceptions_success()
154 prog = eskel->progs.throwing_fexit; in test_exceptions_success()
155 bpf_program__set_autoload(prog, true); in test_exceptions_success()
156 if (!ASSERT_OK(bpf_program__set_attach_target(prog, in test_exceptions_success()
164 prog = eskel->progs.throwing_exception_cb_extension; in test_exceptions_success()
165 bpf_program__set_autoload(prog, true); in test_exceptions_success()
166 if (!ASSERT_OK(bpf_program__set_attach_target(prog, in test_exceptions_success()
174 prog = eskel->progs.throwing_exception_cb_extension; in test_exceptions_success()
175 bpf_program__set_autoload(prog, true); in test_exceptions_success()
176 if (!ASSERT_OK(bpf_program__set_attach_target(prog, in test_exceptions_success()
184 prog = eskel->progs.throwing_extension; in test_exceptions_success()
185 bpf_program__set_autoload(prog, true); in test_exceptions_success()
186 if (!ASSERT_OK(bpf_program__set_attach_target(prog, in test_exceptions_success()
195 prog = eskel->progs.pfentry; in test_exceptions_success()
196 bpf_program__set_autoload(prog, true); in test_exceptions_success()
197 if (!ASSERT_OK(bpf_program__set_attach_target(prog, in test_exceptions_success()
206 prog = eskel->progs.throwing_fentry; in test_exceptions_success()
207 bpf_program__set_autoload(prog, true); in test_exceptions_success()
208 if (!ASSERT_OK(bpf_program__set_attach_target(prog, in test_exceptions_success()
217 prog = eskel->progs.pfentry; in test_exceptions_success()
218 bpf_program__set_autoload(prog, true); in test_exceptions_success()
219 if (!ASSERT_OK(bpf_program__set_attach_target(prog, in test_exceptions_success()
228 prog = eskel->progs.throwing_fentry; in test_exceptions_success()
229 bpf_program__set_autoload(prog, true); in test_exceptions_success()
230 if (!ASSERT_OK(bpf_program__set_attach_target(prog, in test_exceptions_success()
239 prog = eskel->progs.pfexit; in test_exceptions_success()
240 bpf_program__set_autoload(prog, true); in test_exceptions_success()
241 if (!ASSERT_OK(bpf_program__set_attach_target(prog, in test_exceptions_success()
250 prog = eskel->progs.throwing_fexit; in test_exceptions_success()
251 bpf_program__set_autoload(prog, true); in test_exceptions_success()
252 if (!ASSERT_OK(bpf_program__set_attach_target(prog, in test_exceptions_success()
261 prog = eskel->progs.pfexit; in test_exceptions_success()
262 bpf_program__set_autoload(prog, true); in test_exceptions_success()
263 if (!ASSERT_OK(bpf_program__set_attach_target(prog, in test_exceptions_success()
272 prog = eskel->progs.throwing_fexit; in test_exceptions_success()
273 bpf_program__set_autoload(prog, true); in test_exceptions_success()
274 if (!ASSERT_OK(bpf_program__set_attach_target(prog, in test_exceptions_success()
285 prog = eskel->progs.pfmod_ret; in test_exceptions_success()
286 bpf_program__set_autoload(prog, true); in test_exceptions_success()
287 if (!ASSERT_OK(bpf_program__set_attach_target(prog, in test_exceptions_success()
298 prog = eskel->progs.pfmod_ret; in test_exceptions_success()
299 bpf_program__set_autoload(prog, true); in test_exceptions_success()
300 if (!ASSERT_OK(bpf_program__set_attach_target(prog, in test_exceptions_success()
309 prog = eskel->progs.extension; in test_exceptions_success()
310 bpf_program__set_autoload(prog, true); in test_exceptions_success()
311 if (!ASSERT_OK(bpf_program__set_attach_target(prog, in test_exceptions_success()
320 prog = eskel->progs.extension; in test_exceptions_success()
321 bpf_program__set_autoload(prog, true); in test_exceptions_success()
322 if (!ASSERT_OK(bpf_program__set_attach_target(prog, in test_exceptions_success()
331 prog = eskel->progs.extension; in test_exceptions_success()
332 bpf_program__set_autoload(prog, true); in test_exceptions_success()
333 if (!ASSERT_OK(bpf_program__set_attach_target(prog, in test_exceptions_success()
342 prog = eskel->progs.extension; in test_exceptions_success()
343 bpf_program__set_autoload(prog, true); in test_exceptions_success()
344 if (!ASSERT_OK(bpf_program__set_attach_target(prog, in test_exceptions_success()
353 prog = eskel->progs.throwing_extension; in test_exceptions_success()
354 bpf_program__set_autoload(prog, true); in test_exceptions_success()
355 if (!ASSERT_OK(bpf_program__set_attach_target(prog, in test_exceptions_success()
364 prog = eskel->progs.throwing_extension; in test_exceptions_success()
365 bpf_program__set_autoload(prog, true); in test_exceptions_success()
366 if (!ASSERT_OK(bpf_program__set_attach_target(prog, in test_exceptions_success()
375 prog = eskel->progs.extension; in test_exceptions_success()
376 bpf_program__set_autoload(prog, true); in test_exceptions_success()
377 if (!ASSERT_OK(bpf_program__set_attach_target(prog, in test_exceptions_success()
386 prog = eskel->progs.throwing_extension; in test_exceptions_success()
387 bpf_program__set_autoload(prog, true); in test_exceptions_success()
388 if (!ASSERT_OK(bpf_program__set_attach_target(prog, in test_exceptions_success()