Searched refs:fd3 (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/tools/perf/tests/ |
D | bp_signal.c | 34 static int fd3; variable 77 ioctl(fd3, PERF_EVENT_IOC_DISABLE, 0); in sig_handler_2() 98 ioctl(fd3, PERF_EVENT_IOC_DISABLE, 0); in sig_handler() 243 fd3 = wp_event((void *)&the_var, SIGIO); in test__bp_signal() 247 ioctl(fd3, PERF_EVENT_IOC_ENABLE, 0); in test__bp_signal() 257 ioctl(fd3, PERF_EVENT_IOC_DISABLE, 0); in test__bp_signal() 261 count3 = bp_count(fd3); in test__bp_signal() 265 close(fd3); in test__bp_signal()
|
/linux-6.6.21/tools/testing/selftests/core/ |
D | close_range_test.c | 388 int fd1, fd2, fd3, flags, ret, status; in TEST() local 423 fd3 = dup2(fd1, 42); in TEST() 424 EXPECT_GT(fd3, 0); in TEST() 430 flags = fcntl(fd3, F_GETFD); in TEST() 453 fd3 = dup2(fd1, 42); in TEST() 454 EXPECT_GT(fd3, 0); in TEST() 456 flags = fcntl(fd3, F_GETFD); in TEST() 462 EXPECT_EQ(close(fd3), 0); in TEST() 470 int i, fd1, fd2, fd3, flags, ret, status; in TEST() local 518 fd3 = dup2(fd1, 42); in TEST() [all …]
|
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ |
D | tc_opts.c | 116 __u32 fd1, fd2, fd3, fd4, id1, id2, id3, id4; in test_tc_opts_before_target() local 127 fd3 = bpf_program__fd(skel->progs.tc3); in test_tc_opts_before_target() 132 id3 = id_from_prog_fd(fd3); in test_tc_opts_before_target() 181 err = bpf_prog_attach_opts(fd3, loopback, target, &opta); in test_tc_opts_before_target() 239 err = bpf_prog_detach_opts(fd3, loopback, target, &optd); in test_tc_opts_before_target() 268 __u32 fd1, fd2, fd3, fd4, id1, id2, id3, id4; in test_tc_opts_after_target() local 279 fd3 = bpf_program__fd(skel->progs.tc3); in test_tc_opts_after_target() 284 id3 = id_from_prog_fd(fd3); in test_tc_opts_after_target() 333 err = bpf_prog_attach_opts(fd3, loopback, target, &opta); in test_tc_opts_after_target() 405 err = bpf_prog_detach_opts(fd3, loopback, target, &optd); in test_tc_opts_after_target() [all …]
|
D | xdp_attach.c | 13 int err, fd1, fd2, fd3; in test_xdp_attach() local 36 err = bpf_prog_test_load(file, BPF_PROG_TYPE_XDP, &obj3, &fd3); in test_xdp_attach() 62 err = bpf_xdp_attach(IFINDEX_LO, fd3, 0, &opts); in test_xdp_attach()
|
/linux-6.6.21/Documentation/admin-guide/ |
D | devices.txt | 53 3 = /dev/fd3 Controller 0, drive 3, autodetect
|