Home
last modified time | relevance | path

Searched refs:eventfd (Results 1 – 20 of 20) 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/
Dreactive_semaphore.cc32 ReactiveSemaphore::ReactiveSemaphore(unsigned int value) : fd_(eventfd(value, EFD_SEMAPHORE | EFD_N… in ReactiveSemaphore()
Dthread_unittest.cc33 …explicit SampleReactable(Thread* thread) : thread_(thread), fd_(eventfd(0, 0)), is_same_thread_che… in SampleReactable()
Dreactor_unittest.cc59 SampleReactable() : fd_(eventfd(0, EFD_NONBLOCK)) { in SampleReactable()
82 FakeReactable() : fd_(eventfd(0, 0)), reactor_(nullptr) { in FakeReactable()
86 FakeReactable(Reactor* reactor) : fd_(eventfd(0, 0)), reactor_(reactor) { in FakeReactable()
143 FakeRunningReactable() : fd_(eventfd(0, 0)) { in FakeRunningReactable()
Dhandler.cc39 …: tasks_(new std::queue<OnceClosure>()), thread_(thread), fd_(eventfd(0, EFD_SEMAPHORE | EFD_NONBL… in Handler()
Dreactor.cc65 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/bt/gd/os/fuzz/
Dfake_timerfd.cc45 int fd = eventfd(0, 0); in fake_timerfd_create()
/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/teeui/libteeui/src/
Devdev.cpp111 eventFd_ = eventfd(0, EFD_CLOEXEC); in start()
/system/netd/server/
DNFLogListener.cpp207 ASSIGN_OR_RETURN(auto event, sys.eventfd(0, EFD_CLOEXEC)); in makeNFLogListener()
DTrafficController.cpp141 ASSIGN_OR_RETURN(auto event, sys.eventfd(0, EFD_CLOEXEC)); in makeSkDestroyListener()
/system/core/libappfuse/
DFuseAppLoop.cc200 break_fd_.reset(eventfd(/* initval */ 0, EFD_CLOEXEC)); in Start()
/system/bt/gd/docs/architecture/
Darchitecture.md186 [eventfd](http://man7.org/linux/man-pages/man2/eventfd.2.html) for `Handler`,
/system/core/libutils/
DLooper.cpp70 mWakeEventFd.reset(eventfd(0, EFD_NONBLOCK | EFD_CLOEXEC)); in Looper()
/system/core/init/
Dinit.cpp127 wake_main_thread_fd = eventfd(0, EFD_CLOEXEC); in InstallInitNotifier()
/system/memory/lmkd/
Dlmkd.cpp3045 evfd = eventfd(0, EFD_NONBLOCK | EFD_CLOEXEC); in init_mp_common()