Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
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()
/Linux-v6.6/tools/testing/selftests/watchdog/
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-v6.6/tools/spi/
Dspidev_test.c212 static const struct option lopts[] = { in parse_opts() local
241 lopts, NULL); in parse_opts()
/Linux-v6.6/tools/lib/bpf/
Dlibbpf.c10828 LIBBPF_OPTS(bpf_link_create_opts, lopts); in bpf_program__attach_kprobe_multi_opts()
10871 lopts.kprobe_multi.syms = syms; in bpf_program__attach_kprobe_multi_opts()
10872 lopts.kprobe_multi.addrs = addrs; in bpf_program__attach_kprobe_multi_opts()
10873 lopts.kprobe_multi.cookies = cookies; in bpf_program__attach_kprobe_multi_opts()
10874 lopts.kprobe_multi.cnt = cnt; in bpf_program__attach_kprobe_multi_opts()
10875 lopts.kprobe_multi.flags = retprobe ? BPF_F_KPROBE_MULTI_RETURN : 0; in bpf_program__attach_kprobe_multi_opts()
10885 link_fd = bpf_link_create(prog_fd, 0, BPF_TRACE_KPROBE_MULTI, &lopts); in bpf_program__attach_kprobe_multi_opts()
11254 LIBBPF_OPTS(bpf_link_create_opts, lopts); in bpf_program__attach_uprobe_multi()
11323 lopts.uprobe_multi.path = path; in bpf_program__attach_uprobe_multi()
11324 lopts.uprobe_multi.offsets = offsets; in bpf_program__attach_uprobe_multi()
[all …]