Lines Matching refs:opts

11 	LIBBPF_OPTS(bpf_test_run_opts, opts,  in test_local_kptr_stash_simple()
23 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.stash_rb_nodes), &opts); in test_local_kptr_stash_simple()
25 ASSERT_OK(opts.retval, "local_kptr_stash_add_nodes retval"); in test_local_kptr_stash_simple()
32 LIBBPF_OPTS(bpf_test_run_opts, opts, in test_local_kptr_stash_plain()
44 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.stash_plain), &opts); in test_local_kptr_stash_plain()
46 ASSERT_OK(opts.retval, "local_kptr_stash_add_plain retval"); in test_local_kptr_stash_plain()
53 LIBBPF_OPTS(bpf_test_run_opts, opts, in test_local_kptr_stash_local_with_root()
65 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.stash_local_with_root), &opts); in test_local_kptr_stash_local_with_root()
67 ASSERT_OK(opts.retval, "local_kptr_stash_add_local_with_root retval"); in test_local_kptr_stash_local_with_root()
74 LIBBPF_OPTS(bpf_test_run_opts, opts, in test_local_kptr_stash_unstash()
86 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.stash_rb_nodes), &opts); in test_local_kptr_stash_unstash()
88 ASSERT_OK(opts.retval, "local_kptr_stash_add_nodes retval"); in test_local_kptr_stash_unstash()
90 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.unstash_rb_node), &opts); in test_local_kptr_stash_unstash()
92 ASSERT_EQ(opts.retval, 42, "local_kptr_stash_add_nodes retval"); in test_local_kptr_stash_unstash()
99 LIBBPF_OPTS(bpf_test_run_opts, opts, in test_refcount_acquire_without_unstash()
112 &opts); in test_refcount_acquire_without_unstash()
114 ASSERT_EQ(opts.retval, 2, "refcount_acquire_without_unstash retval"); in test_refcount_acquire_without_unstash()
116 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.stash_refcounted_node), &opts); in test_refcount_acquire_without_unstash()
118 ASSERT_OK(opts.retval, "stash_refcounted_node retval"); in test_refcount_acquire_without_unstash()
121 &opts); in test_refcount_acquire_without_unstash()
123 ASSERT_EQ(opts.retval, 42, "refcount_acquire_without_unstash (2) retval"); in test_refcount_acquire_without_unstash()