Lines Matching refs:opts

12 	LIBBPF_OPTS(bpf_test_run_opts, opts,  in test_map_kptr_success()
25 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.test_map_kptr_ref1), &opts); in test_map_kptr_success()
27 ASSERT_OK(opts.retval, "test_map_kptr_ref1 retval"); in test_map_kptr_success()
28 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.test_map_kptr_ref2), &opts); in test_map_kptr_success()
30 ASSERT_OK(opts.retval, "test_map_kptr_ref2 retval"); in test_map_kptr_success()
55 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.test_map_kptr_ref3), &opts); in test_map_kptr_success()
57 ASSERT_OK(opts.retval, "test_map_kptr_ref3 retval"); in test_map_kptr_success()
63 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.test_map_kptr_ref3), &opts); in test_map_kptr_success()
65 ASSERT_OK(opts.retval, "test_map_kptr_ref3 retval"); in test_map_kptr_success()
70 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.test_map_kptr_ref3), &opts); in test_map_kptr_success()
72 ASSERT_OK(opts.retval, "test_map_kptr_ref3 retval"); in test_map_kptr_success()
77 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.test_map_kptr_ref3), &opts); in test_map_kptr_success()
79 ASSERT_OK(opts.retval, "test_map_kptr_ref3 retval"); in test_map_kptr_success()
84 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.test_map_kptr_ref3), &opts); in test_map_kptr_success()
86 ASSERT_OK(opts.retval, "test_map_kptr_ref3 retval"); in test_map_kptr_success()
91 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.test_map_kptr_ref3), &opts); in test_map_kptr_success()
93 ASSERT_OK(opts.retval, "test_map_kptr_ref3 retval"); in test_map_kptr_success()
98 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.test_map_kptr_ref3), &opts); in test_map_kptr_success()
100 ASSERT_OK(opts.retval, "test_map_kptr_ref3 retval"); in test_map_kptr_success()
105 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.test_map_kptr_ref3), &opts); in test_map_kptr_success()
107 ASSERT_OK(opts.retval, "test_map_kptr_ref3 retval"); in test_map_kptr_success()
122 LIBBPF_OPTS(bpf_test_run_opts, opts); in kern_sync_rcu_tasks_trace()
125 &opts), "do_call_rcu_tasks_trace")) in kern_sync_rcu_tasks_trace()
127 if (!ASSERT_OK(opts.retval, "opts.retval == 0")) in kern_sync_rcu_tasks_trace()