Searched refs:lopts (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | map_kptr.c | 11 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()
|
/openbmc/qemu/tests/unit/ |
H A D | test-qdist.c | 150 unsigned int lopts = opt & (QDIST_PR_NODECIMAL | in do_test_pr() local 155 if (lopts == 0) { in do_test_pr() 158 } else if (lopts == QDIST_PR_NODECIMAL) { in do_test_pr() 161 } else if (lopts == (QDIST_PR_PERCENT | QDIST_PR_NODECIMAL)) { in do_test_pr() 164 } else if (lopts == QDIST_PR_100X) { in do_test_pr() 167 } else if (lopts == (QDIST_PR_NOBINRANGE | QDIST_PR_NODECIMAL)) { in do_test_pr()
|
/openbmc/obmc-ikvm/ |
H A D | ikvm_args.cpp | 15 struct option lopts[] = { local 26 while ((option = getopt_long(argc, argv, opts, lopts, NULL)) != -1)
|
/openbmc/linux/tools/testing/selftests/watchdog/ |
H A D | watchdog-test.c | 31 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()
|
/openbmc/linux/tools/spi/ |
H A D | spidev_test.c | 212 static const struct option lopts[] = { in parse_opts() local 241 lopts, NULL); in parse_opts()
|
/openbmc/linux/tools/lib/bpf/ |
H A D | libbpf.c | 10834 LIBBPF_OPTS(bpf_link_create_opts, lopts); in bpf_program__attach_kprobe_multi_opts() 10877 lopts.kprobe_multi.syms = syms; in bpf_program__attach_kprobe_multi_opts() 10878 lopts.kprobe_multi.addrs = addrs; in bpf_program__attach_kprobe_multi_opts() 10879 lopts.kprobe_multi.cookies = cookies; in bpf_program__attach_kprobe_multi_opts() 10880 lopts.kprobe_multi.cnt = cnt; in bpf_program__attach_kprobe_multi_opts() 11260 LIBBPF_OPTS(bpf_link_create_opts, lopts); in bpf_program__attach_uprobe_multi() 11329 lopts.uprobe_multi.path = path; in bpf_program__attach_uprobe_multi() 11330 lopts.uprobe_multi.offsets = offsets; in bpf_program__attach_uprobe_multi() 11332 lopts.uprobe_multi.cookies = cookies; in bpf_program__attach_uprobe_multi() 11333 lopts.uprobe_multi.cnt = cnt; in bpf_program__attach_uprobe_multi() [all …]
|