Searched refs:epollFd (Results 1 - 5 of 5) sorted by relevance
/foundation/multimodalinput/input/util/socket/src/ |
H A D | uds_socket.cpp | 47 int32_t UDSSocket::EpollCtl(int32_t fd, int32_t op, struct epoll_event &event, int32_t epollFd) in EpollCtl() argument 53 if (epollFd < 0) { in EpollCtl() 54 epollFd = epollFd_; in EpollCtl() 56 if (epollFd < 0) { in EpollCtl() 57 MMI_HILOGE("Invalid param epollFd"); in EpollCtl() 62 ret = epoll_ctl(epollFd, op, fd, nullptr); in EpollCtl() 64 ret = epoll_ctl(epollFd, op, fd, &event); in EpollCtl() 69 ret, epollFd, op, fd, errno); in EpollCtl() 74 int32_t UDSSocket::EpollWait(struct epoll_event &events, int32_t maxevents, int32_t timeout, int32_t epollFd) in EpollWait() argument 76 if (epollFd < in EpollWait() [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/linux/ |
H A D | reactor_linux.c | 28 int epollFd; member 64 reactor->epollFd = -1; in ReactorCreate() 67 int epollFd = epoll_create1(EPOLL_CLOEXEC); in ReactorCreate() local 68 if (epollFd == -1) { in ReactorCreate() 83 if (epoll_ctl(epollFd, EPOLL_CTL_ADD, stopFd, &event) == -1) { in ReactorCreate() 96 reactor->epollFd = epollFd; in ReactorCreate() 115 close(reactor->epollFd); in ReactorDelete() 132 CHECK_EXCEPT_INTR(nfds = epoll_wait(reactor->epollFd, events, MAXEPOLLEVENTS, -1)); in ReactorStart() 208 if (epoll_ctl(reactor->epollFd, EPOLL_CTL_AD in ReactorRegister() [all...] |
/foundation/multimodalinput/input/util/socket/include/ |
H A D | uds_socket.h | 45 int32_t EpollCtl(int32_t fd, int32_t op, struct epoll_event &event, int32_t epollFd = -1); 46 int32_t EpollWait(struct epoll_event &events, int32_t maxevents, int32_t timeout, int32_t epollFd = -1);
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/coap_discover/ |
H A D | coap_app.c | 90 EpollDesc epollFd; member 212 g_taskListInfo.epollFd = epollfd; in RegisterCoAPEpollTask() 373 PostEvent(GetMainLoopEvendChain(), taskListInfo->epollFd, CoAPEpollReadHandle, in CoapSelectWait() 377 PostEvent(GetMainLoopEvendChain(), taskListInfo->epollFd, CoAPEpollWriteHandle, in CoapSelectWait() 381 PostEvent(GetMainLoopEvendChain(), taskListInfo->epollFd, CoAPEpollErrorHandle, in CoapSelectWait()
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/mini_discover/ |
H A D | coap_app.c | 361 EpollDesc epollFd = GetMainLoopEpollFd(); in CoapServerInit() local 362 if (!IsEpollDescValid(epollFd)) { in CoapServerInit() 375 g_coapCtx.task.epollfd = epollFd; in CoapServerInit()
|
Completed in 3 milliseconds