/external/linux-kselftest/tools/testing/selftests/filesystems/epoll/ |
D | epoll_wakeup_test.c | 14 int efd[3]; member 38 if (epoll_wait(ctx->efd[0], &e, 1, -1) > 0) in waiter_entry1a() 50 pfd.fd = ctx->efd[0]; in waiter_entry1ap() 53 if (epoll_wait(ctx->efd[0], &e, 1, 0) > 0) in waiter_entry1ap() 65 if (epoll_wait(ctx->efd[0], &e, 1, -1) > 0) in waiter_entry1o() 77 pfd.fd = ctx->efd[0]; in waiter_entry1op() 80 if (epoll_wait(ctx->efd[0], &e, 1, 0) > 0) in waiter_entry1op() 92 if (epoll_wait(ctx->efd[0], events, 2, -1) > 0) in waiter_entry2a() 104 pfd.fd = ctx->efd[0]; in waiter_entry2ap() 107 if (epoll_wait(ctx->efd[0], events, 2, 0) > 0) in waiter_entry2ap() [all …]
|
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/ |
D | task_fd_query_rawtp.c | 10 int efd, err, prog_fd; in test_task_fd_query_rawtp() local 18 efd = bpf_raw_tracepoint_open("sys_enter", prog_fd); in test_task_fd_query_rawtp() 19 if (CHECK(efd < 0, "raw_tp_open", "err %d errno %d\n", efd, errno)) in test_task_fd_query_rawtp() 24 err = bpf_task_fd_query(getpid(), efd, 0, buf, &len, &prog_id, in test_task_fd_query_rawtp() 38 err = bpf_task_fd_query(getpid(), efd, 0, buf, &len, &prog_id, in test_task_fd_query_rawtp() 50 err = bpf_task_fd_query(getpid(), efd, 0, 0, &len, &prog_id, in test_task_fd_query_rawtp() 62 err = bpf_task_fd_query(getpid(), efd, 0, buf, &len, &prog_id, in test_task_fd_query_rawtp()
|
D | task_fd_query_tp.c | 8 int err, bytes, efd, prog_fd, pmu_fd; in test_task_fd_query_tp_core() local 22 efd = open(buf, O_RDONLY, 0); in test_task_fd_query_tp_core() 23 if (CHECK(efd < 0, "open", "err %d errno %d\n", efd, errno)) in test_task_fd_query_tp_core() 25 bytes = read(efd, buf, sizeof(buf)); in test_task_fd_query_tp_core() 26 close(efd); in test_task_fd_query_tp_core()
|
D | tp_attach_query.c | 7 int i, j, bytes, efd, err, prog_fd[num_progs], pmu_fd[num_progs]; in test_tp_attach_query() local 21 efd = open(buf, O_RDONLY, 0); in test_tp_attach_query() 22 if (CHECK(efd < 0, "open", "err %d errno %d\n", efd, errno)) in test_tp_attach_query() 24 bytes = read(efd, buf, sizeof(buf)); in test_tp_attach_query() 25 close(efd); in test_tp_attach_query()
|
D | send_signal.c | 153 int bytes, efd; in test_send_signal_tracepoint() local 156 efd = open(id_path, O_RDONLY, 0); in test_send_signal_tracepoint() 157 if (CHECK(efd < 0, "tracepoint", in test_send_signal_tracepoint() 162 bytes = read(efd, buf, sizeof(buf)); in test_send_signal_tracepoint() 163 close(efd); in test_send_signal_tracepoint()
|
/external/rust/crates/nix/test/sys/ |
D | test_epoll.rs | 8 let efd = epoll_create1(EpollCreateFlags::empty()).unwrap(); in test_epoll_errno() localVariable 9 let result = epoll_ctl(efd, EpollOp::EpollCtlDel, 1, None); in test_epoll_errno() 13 let result = epoll_ctl(efd, EpollOp::EpollCtlAdd, 1, None); in test_epoll_errno() 20 let efd = epoll_create1(EpollCreateFlags::empty()).unwrap(); in test_epoll_ctl() localVariable 22 epoll_ctl(efd, EpollOp::EpollCtlAdd, 1, &mut event).unwrap(); in test_epoll_ctl() 23 epoll_ctl(efd, EpollOp::EpollCtlDel, 1, None).unwrap(); in test_epoll_ctl()
|
/external/grpc-grpc/src/core/lib/iomgr/ |
D | wakeup_fd_eventfd.cc | 35 int efd = eventfd(0, EFD_NONBLOCK | EFD_CLOEXEC); in eventfd_create() local 36 if (efd < 0) { in eventfd_create() 39 fd_info->read_fd = efd; in eventfd_create() 73 const int efd = eventfd(0, 0); in eventfd_check_availability() local 74 const int is_available = efd >= 0; in eventfd_check_availability() 75 if (is_available) close(efd); in eventfd_check_availability()
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | get_cgroup_id_user.c | 52 int err, bytes, efd, prog_fd, pmu_fd; in main() local 94 efd = open(buf, O_RDONLY, 0); in main() 95 if (CHECK(efd < 0, "open", "err %d errno %d\n", efd, errno)) in main() 97 bytes = read(efd, buf, sizeof(buf)); in main() 98 close(efd); in main()
|
/external/llvm-project/compiler-rt/test/msan/Linux/ |
D | eventfd.cpp | 9 int efd = eventfd(42, 0); in main() local 10 assert(efd >= 0); in main() 13 int ret = eventfd_read(efd, &v); in main()
|
/external/compiler-rt/test/msan/Linux/ |
D | eventfd.cc | 9 int efd = eventfd(42, 0); in main() local 10 assert(efd >= 0); in main() 13 int ret = eventfd_read(efd, &v); in main()
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/ |
D | wakeup_fd_eventfd.cc | 72 const int efd = eventfd(0, 0); in eventfd_check_availability() local 73 const int is_available = efd >= 0; in eventfd_check_availability() 74 if (is_available) close(efd); in eventfd_check_availability()
|
/external/openssh/ |
D | nchan.c | 341 c->efd != -1 && in chan_is_dead() 344 c->self, c->efd, sshbuf_len(c->extended)); in chan_is_dead() 380 c->self, __func__, c->istate, c->ostate, c->sock, c->wfd, c->efd, in chan_shutdown_write() 405 c->self, __func__, c->istate, c->ostate, c->sock, c->rfd, c->efd, in chan_shutdown_read() 432 if (c->type == SSH_CHANNEL_LARVAL || c->efd == -1) in chan_shutdown_extended_read() 438 c->self, __func__, c->istate, c->ostate, c->sock, c->rfd, c->efd, in chan_shutdown_extended_read() 440 if (channel_close_fd(ssh, &c->efd) < 0) { in chan_shutdown_extended_read() 443 c->self, __func__, c->efd, c->istate, c->ostate, in chan_shutdown_extended_read()
|
D | channels.c | 305 channel_register_fds(struct ssh *ssh, Channel *c, int rfd, int wfd, int efd, in channel_register_fds() argument 313 sc->channel_max_fd = MAXIMUM(sc->channel_max_fd, efd); in channel_register_fds() 319 if (efd != -1 && efd != rfd && efd != wfd) in channel_register_fds() 320 fcntl(efd, F_SETFD, FD_CLOEXEC); in channel_register_fds() 325 c->efd = efd; in channel_register_fds() 341 if (efd != -1) in channel_register_fds() 342 set_nonblock(efd); in channel_register_fds() 351 channel_new(struct ssh *ssh, char *ctype, int type, int rfd, int wfd, int efd, in channel_new() argument 388 channel_register_fds(ssh, c, rfd, wfd, efd, extusage, nonblock, 0); in channel_new() 415 max = MAXIMUM(max, c->efd); in channel_find_maxfd() [all …]
|
D | channels.h | 127 int efd; /* extended fd */ member 232 (c->efd != -1 || \ 236 c->efd != -1 && (!(c->flags & (CHAN_EOF_RCVD|CHAN_CLOSE_RCVD)) || \
|
/external/strace/ |
D | kcmp.c | 34 uint32_t efd; member 85 PRINT_FIELD_PIDFD("{", slot, efd, tcp, pid2); in SYS_FUNC()
|
/external/strace/tests-mx32/ |
D | kcmp.c | 71 uint32_t efd; member 131 printpidfd("{efd=", pid2, slot->efd); in do_kcmp()
|
/external/strace/tests/ |
D | kcmp.c | 71 uint32_t efd; member 131 printpidfd("{efd=", pid2, slot->efd); in do_kcmp()
|
/external/strace/tests-m32/ |
D | kcmp.c | 71 uint32_t efd; member 131 printpidfd("{efd=", pid2, slot->efd); in do_kcmp()
|
/external/kernel-headers/original/uapi/linux/ |
D | kcmp.h | 23 __u32 efd; /* epoll file descriptor */ member
|
/external/libxml2/ |
D | nanoftp.c | 1549 fd_set rfd, efd; in xmlNanoFTPCloseConnection() local 1559 FD_ZERO(&efd); in xmlNanoFTPCloseConnection() 1560 FD_SET(ctxt->controlFd, &efd); in xmlNanoFTPCloseConnection() 1561 res = select(ctxt->controlFd + 1, &rfd, NULL, &efd, &tv); in xmlNanoFTPCloseConnection() 1731 fd_set rfd, efd; in xmlNanoFTPList() local 1774 FD_ZERO(&efd); in xmlNanoFTPList() 1775 FD_SET(ctxt->dataFd, &efd); in xmlNanoFTPList() 1776 res = select(ctxt->dataFd + 1, &rfd, NULL, &efd, &tv); in xmlNanoFTPList()
|
/external/bcc/src/cc/ |
D | libbpf.c | 786 int efd, cpu = 0; in bpf_attach_tracing_event() local 794 efd = open(buf, O_RDONLY | O_CLOEXEC, 0); in bpf_attach_tracing_event() 795 if (efd < 0) { in bpf_attach_tracing_event() 800 bytes = read(efd, buf, sizeof(buf)); in bpf_attach_tracing_event() 803 close(efd); in bpf_attach_tracing_event() 806 close(efd); in bpf_attach_tracing_event()
|
/external/linux-kselftest/tools/testing/selftests/kcmp/ |
D | kcmp_test.c | 139 .efd = epollfd, in main()
|
/external/elfutils/tests/ |
D | run-strings-test.sh | 285 testfile6: efd N10__gnu_test9gnu_obj_2IlEE 328 testfile7: efd N10__gnu_test9gnu_obj_2IlEE
|
/external/llvm/test/tools/llvm-objdump/X86/ |
D | macho-symbolized-disassembly.test | 27 ObjC-EXE: 0000000100000efd movq 0x124(%rip), %rsi ## Objc selector ref: new
|
/external/llvm-project/llvm/test/tools/llvm-objdump/MachO/ |
D | symbolized-disassembly.test | 27 ObjC-EXE: 0000000100000efd movq 0x124(%rip), %rsi ## Objc selector ref: new
|