Home
last modified time | relevance | path

Searched refs:eventfd (Results 1 – 19 of 19) sorted by relevance

/system/bt/osi/test/
Dreactor_test.cc85 int fd = eventfd(0, 0); in TEST_F()
101 int fd = eventfd(0, 0); in TEST_F()
/system/bt/gd/os/linux_generic/
Dreactor_unittest.cc53 SampleReactable() : fd_(eventfd(0, EFD_NONBLOCK)) { in SampleReactable()
76 FakeReactable() : fd_(eventfd(0, 0)), reactor_(nullptr) { in FakeReactable()
80 FakeReactable(Reactor* reactor) : fd_(eventfd(0, 0)), reactor_(reactor) { in FakeReactable()
Dhandler.cc36 fd_(eventfd(0, EFD_SEMAPHORE | EFD_NONBLOCK)) { in Handler()
Dthread_unittest.cc32 …explicit SampleReactable(Thread* thread) : thread_(thread), fd_(eventfd(0, 0)), is_same_thread_che… in SampleReactable()
Dreactor.cc61 control_fd_ = eventfd(0, EFD_NONBLOCK); in Reactor()
/system/bt/osi/src/
Dsemaphore.cc45 ret->fd = eventfd(value, EFD_SEMAPHORE); in semaphore_new()
Dreactor.cc82 ret->event_fd = eventfd(0, 0); in reactor_new()
/system/netd/libnetdutils/
DSyscalls.cpp110 StatusOr<UniqueFd> eventfd(unsigned int initval, int flags) const override { in eventfd() function in android::netdutils::RealSyscalls
111 UniqueFd fd(::eventfd(initval, flags)); in eventfd()
/system/netd/libnetdutils/include/netdutils/
DMockSyscalls.h50 MOCK_CONST_METHOD2(eventfd, StatusOr<UniqueFd>(unsigned int initval, int flags));
DSyscalls.h64 virtual StatusOr<UniqueFd> eventfd(unsigned int initval, int flags) const = 0;
/system/core/libappfuse/
DFuseAppLoop.cc200 break_fd_.reset(eventfd(/* initval */ 0, EFD_CLOEXEC)); in Start()
/system/netd/server/
DNFLogListener.cpp207 ASSIGN_OR_RETURN(auto event, sys.eventfd(0, EFD_CLOEXEC)); in makeNFLogListener()
DTrafficController.cpp138 ASSIGN_OR_RETURN(auto event, sys.eventfd(0, EFD_CLOEXEC)); in makeSkDestroyListener()
/system/core/adb/daemon/
Dusb.cpp181 worker_event_fd_.reset(eventfd(0, EFD_CLOEXEC)); in UsbFfsConnection()
186 monitor_event_fd_.reset(eventfd(0, EFD_CLOEXEC)); in UsbFfsConnection()
/system/netd/resolv/dns_responder/
Ddns_tls_frontend.cpp256 event_fd_.reset(eventfd(0, EFD_NONBLOCK | EFD_CLOEXEC)); in startServer()
Ddns_responder.cpp624 event_fd_.reset(eventfd(0, EFD_NONBLOCK | EFD_CLOEXEC)); in startServer()
/system/netd/resolv/
DDnsTlsSocket.cpp169 mEventFd.reset(eventfd(0, EFD_NONBLOCK | EFD_CLOEXEC)); in initialize()
/system/core/libutils/
DLooper.cpp68 mWakeEventFd.reset(eventfd(0, EFD_NONBLOCK | EFD_CLOEXEC)); in Looper()
/system/core/lmkd/
Dlmkd.c1822 evfd = eventfd(0, EFD_NONBLOCK | EFD_CLOEXEC); in init_mp_common()