Searched refs:event_fd_ (Results 1 – 6 of 6) sorted by relevance
/system/netd/resolv/dns_responder/ |
D | dns_tls_frontend.cpp | 256 event_fd_.reset(eventfd(0, EFD_NONBLOCK | EFD_CLOEXEC)); in startServer() 257 if (event_fd_.get() == -1) { in startServer() 258 APLOGI("failed to create eventfd %d", event_fd_.get()); in startServer() 273 pollfd fds[2] = {{.fd = event_fd_.get(), .events = POLLIN}, in requestHandler() 380 event_fd_.reset(); in stopServer() 407 if (const ssize_t rt = write(event_fd_.get(), &data, sizeof(data)); rt != sizeof(data)) { in sendToEventFd() 416 if (const ssize_t rt = read(event_fd_.get(), &data, sizeof(data)); rt != sizeof(data)) { in handleEventFd()
|
D | dns_responder.cpp | 624 event_fd_.reset(eventfd(0, EFD_NONBLOCK | EFD_CLOEXEC)); in startServer() 625 if (event_fd_.get() == -1) { in startServer() 626 APLOGI("failed to create eventfd %d", event_fd_.get()); in startServer() 642 ALOGI("adding eventfd %d to epoll", event_fd_.get()); in startServer() 643 if (!addFd(event_fd_.get(), EPOLLIN)) { in startServer() 644 ALOGE("failed to add the eventfd %d to epoll", event_fd_.get()); in startServer() 705 if (fd == event_fd_.get() && (events & (EPOLLIN | EPOLLERR))) { in requestHandler() 980 if (const ssize_t rt = write(event_fd_.get(), &data, sizeof(data)); rt != sizeof(data)) { in sendToEventFd() 989 if (const ssize_t rt = read(event_fd_.get(), &data, sizeof(data)); rt != sizeof(data)) { in handleEventFd()
|
D | dns_tls_frontend.h | 89 android::base::unique_fd event_fd_; variable
|
D | dns_responder.h | 172 android::base::unique_fd event_fd_; variable
|
/system/extras/simpleperf/ |
D | RecordReadThread.h | 90 EventFd* GetEventFd() const { return event_fd_; } in GetEventFd() 103 EventFd* event_fd_;
|
D | RecordReadThread.cpp | 165 KernelRecordReader::KernelRecordReader(EventFd* event_fd) : event_fd_(event_fd) { in KernelRecordReader() 167 buffer_ = event_fd_->GetMappedBuffer(buffer_size); in KernelRecordReader() 172 data_size_ = event_fd_->GetAvailableMmapDataSize(data_pos_); in GetDataFromKernelBuffer() 194 event_fd_->DiscardMmapData(init_data_size_); in MoveToNextRecord()
|