Home
last modified time | relevance | path

Searched refs:tp_fd (Results 1 – 7 of 7) sorted by relevance

/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/testing/selftests/bpf/prog_tests/
H A Draw_tp_writable_reject_nbd_invalid.c10 int bpf_fd = -1, tp_fd = -1; in test_raw_tp_writable_reject_nbd_invalid() local
34 tp_fd = bpf_raw_tracepoint_open("nbd_send_request", bpf_fd); in test_raw_tp_writable_reject_nbd_invalid()
35 if (CHECK(tp_fd >= 0, "bpf_raw_tracepoint_writable open", in test_raw_tp_writable_reject_nbd_invalid()
39 close(tp_fd); in test_raw_tp_writable_reject_nbd_invalid()
H A Draw_tp_writable_test_run.c50 int tp_fd = bpf_raw_tracepoint_open("bpf_test_finish", bpf_fd); in test_raw_tp_writable_test_run() local
51 if (CHECK(tp_fd < 0, "bpf_raw_tracepoint_writable opened", in test_raw_tp_writable_test_run()
52 "failed: %d errno %d\n", tp_fd, errno)) in test_raw_tp_writable_test_run()
67 close(tp_fd); in test_raw_tp_writable_test_run()
/dports/multimedia/libv4l/linux-5.13-rc2/tools/testing/selftests/bpf/prog_tests/
H A Draw_tp_writable_reject_nbd_invalid.c10 int bpf_fd = -1, tp_fd = -1; in test_raw_tp_writable_reject_nbd_invalid() local
34 tp_fd = bpf_raw_tracepoint_open("nbd_send_request", bpf_fd); in test_raw_tp_writable_reject_nbd_invalid()
35 if (CHECK(tp_fd >= 0, "bpf_raw_tracepoint_writable open", in test_raw_tp_writable_reject_nbd_invalid()
39 close(tp_fd); in test_raw_tp_writable_reject_nbd_invalid()
H A Draw_tp_writable_test_run.c50 int tp_fd = bpf_raw_tracepoint_open("bpf_test_finish", bpf_fd); in test_raw_tp_writable_test_run() local
51 if (CHECK(tp_fd < 0, "bpf_raw_tracepoint_writable opened", in test_raw_tp_writable_test_run()
52 "failed: %d errno %d\n", tp_fd, errno)) in test_raw_tp_writable_test_run()
67 close(tp_fd); in test_raw_tp_writable_test_run()
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/testing/selftests/bpf/prog_tests/
H A Draw_tp_writable_reject_nbd_invalid.c10 int bpf_fd = -1, tp_fd = -1; in test_raw_tp_writable_reject_nbd_invalid() local
34 tp_fd = bpf_raw_tracepoint_open("nbd_send_request", bpf_fd); in test_raw_tp_writable_reject_nbd_invalid()
35 if (CHECK(tp_fd >= 0, "bpf_raw_tracepoint_writable open", in test_raw_tp_writable_reject_nbd_invalid()
39 close(tp_fd); in test_raw_tp_writable_reject_nbd_invalid()
H A Draw_tp_writable_test_run.c50 int tp_fd = bpf_raw_tracepoint_open("bpf_test_finish", bpf_fd); in test_raw_tp_writable_test_run() local
51 if (CHECK(tp_fd < 0, "bpf_raw_tracepoint_writable opened", in test_raw_tp_writable_test_run()
52 "failed: %d errno %d\n", tp_fd, errno)) in test_raw_tp_writable_test_run()
67 close(tp_fd); in test_raw_tp_writable_test_run()
/dports/math/octave-forge-parallel/parallel-4.0.1/src/
H A Dp-control.cc415 int tp_fd; in set_executable() local
417 if ((tp_fd = ::open (tp_octave_binary.c_str (), O_RDONLY)) == -1) in set_executable()
419 if ((tp_fd = ::open (tp_octave_binary_no_ver.c_str (), O_RDONLY)) in set_executable()
435 ::close (tp_fd); in set_executable()
447 int tp_fd = ::open (tp_octave_binary.c_str (), O_RDONLY | O_CLOEXEC); in set_executable() local
449 if (tp_fd == -1) in set_executable()
455 else if (gnulib_fstat_reg_exec_nonsuid (tp_fd)) in set_executable()
458 ::close (tp_fd); in set_executable()
467 octave_fd = tp_fd; in set_executable()