Searched refs:control_fd_ (Results 1 – 5 of 5) sorted by relevance
/system/bt/gd/os/linux_generic/ |
D | reactor.cc | 61 Reactor::Reactor() : epoll_fd_(0), control_fd_(0), is_running_(false) { in Reactor() 65 control_fd_ = eventfd(0, EFD_NONBLOCK); in Reactor() 66 ASSERT(control_fd_ != -1); in Reactor() 70 RUN_NO_INTR(result = epoll_ctl(epoll_fd_, EPOLL_CTL_ADD, control_fd_, &control_epoll_event)); in Reactor() 76 RUN_NO_INTR(result = epoll_ctl(epoll_fd_, EPOLL_CTL_DEL, control_fd_, nullptr)); in ~Reactor() 79 RUN_NO_INTR(result = close(control_fd_)); in ~Reactor() 115 eventfd_read(control_fd_, &value); in Run() 164 auto control = eventfd_write(control_fd_, kStopReactor); in Stop() 239 auto control = eventfd_write(control_fd_, kWaitForIdle); in WaitForIdle()
|
/system/core/fs_mgr/libdm/ |
D | loop_control.cpp | 35 LoopControl::LoopControl() : control_fd_(-1) { in LoopControl() 36 control_fd_.reset(TEMP_FAILURE_RETRY(open(kLoopControlDevice, O_RDWR | O_CLOEXEC))); in LoopControl() 37 if (control_fd_ < 0) { in LoopControl() 102 int rc = ioctl(control_fd_, LOOP_CTL_GET_FREE); in FindFreeLoopDevice()
|
/system/bt/gd/os/ |
D | reactor.h | 77 int control_fd_; variable
|
/system/extras/simpleperf/app_api/cpp/ |
D | simpleperf.cpp | 189 int control_fd_ = -1; member in simpleperf::ProfileSessionImpl 195 if (control_fd_ != -1) { in ~ProfileSessionImpl() 196 close(control_fd_); in ~ProfileSessionImpl() 263 if (TEMP_FAILURE_RETRY(write(control_fd_, &data[0], data.size())) != in SendCmd() 442 control_fd_ = control_fd[1]; in CreateSimpleperfProcess()
|
/system/core/fs_mgr/libdm/include/libdm/ |
D | loop_control.h | 59 android::base::unique_fd control_fd_; variable
|