Home
last modified time | relevance | path

Searched refs:lopts (Results 1 – 4 of 4) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dmap_kptr.c11 LIBBPF_OPTS(bpf_test_run_opts, lopts); in test_map_kptr_success()
32 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.test_ls_map_kptr_ref1), &lopts); in test_map_kptr_success()
34 ASSERT_OK(lopts.retval, "test_ls_map_kptr_ref1 retval"); in test_map_kptr_success()
36 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.test_ls_map_kptr_ref2), &lopts); in test_map_kptr_success()
38 ASSERT_OK(lopts.retval, "test_ls_map_kptr_ref2 retval"); in test_map_kptr_success()
109 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.test_ls_map_kptr_ref_del), &lopts); in test_map_kptr_success()
112 ASSERT_OK(lopts.retval, "test_ls_map_kptr_ref_del retval"); in test_map_kptr_success()
137 LIBBPF_OPTS(bpf_test_run_opts, lopts); in wait_for_map_release()
146 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.count_ref), &lopts); in wait_for_map_release()
148 ASSERT_OK(lopts.retval, "count_ref retval"); in wait_for_map_release()
/linux/tools/testing/selftests/watchdog/
H A Dwatchdog-test.c31 static const struct option lopts[] = { variable
184 while ((c = getopt_long(argc, argv, sopts, lopts, NULL)) != -1) { in main()
214 while ((c = getopt_long(argc, argv, sopts, lopts, NULL)) != -1) { in main()
/linux/tools/spi/
H A Dspidev_test.c215 static const struct option lopts[] = { in parse_opts() local
245 lopts, NULL); in parse_opts()
/linux/tools/lib/bpf/
H A Dlibbpf.c12004 LIBBPF_OPTS(bpf_link_create_opts, lopts); in bpf_program__attach_kprobe_multi_opts()
12071 lopts.kprobe_multi.syms = syms; in bpf_program__attach_kprobe_multi_opts()
12072 lopts.kprobe_multi.addrs = addrs; in bpf_program__attach_kprobe_multi_opts()
12073 lopts.kprobe_multi.cookies = cookies; in bpf_program__attach_kprobe_multi_opts()
12074 lopts.kprobe_multi.cnt = cnt; in bpf_program__attach_kprobe_multi_opts()
12075 lopts.kprobe_multi.flags = retprobe ? BPF_F_KPROBE_MULTI_RETURN : 0; in bpf_program__attach_kprobe_multi_opts()
12084 link_fd = bpf_link_create(prog_fd, 0, attach_type, &lopts); in bpf_program__attach_kprobe_multi_opts()
12465 LIBBPF_OPTS(bpf_link_create_opts, lopts); in bpf_program__attach_uprobe_multi()
12549 lopts.uprobe_multi.path = path; in bpf_program__attach_uprobe_multi()
12550 lopts.uprobe_multi.offsets = offsets; in bpf_program__attach_uprobe_multi()
[all …]