Home
last modified time | relevance | path

Searched refs:EPOLL_CTL_ADD (Results 1 - 25 of 27) sorted by relevance

12

/foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/liteos/
H A Dsys_epoll.h37 #ifndef EPOLL_CTL_ADD
38 #define EPOLL_CTL_ADD 1 macro
H A Dsys_epoll.c690 case EPOLL_CTL_ADD:
/foundation/resourceschedule/ffrt/test/ut/testcase/
H A Dut_ffrt_io.cpp188 ffrt_epoll_ctl(ffrt_qos_default, EPOLL_CTL_ADD, testFd, EPOLLIN, reinterpret_cast<void*>(&testData), testCallBack); in HWTEST_F()
235 ffrt_epoll_ctl(qos, EPOLL_CTL_ADD, testFd, EPOLLIN, reinterpret_cast<void*>(&testData), testCallBack); in HWTEST_F()
262 ffrt_epoll_ctl(qos, EPOLL_CTL_ADD, testFd, EPOLLIN, reinterpret_cast<void*>(&testData), testCallBack); in HWTEST_F()
290 ffrt_epoll_ctl(qos, EPOLL_CTL_ADD, testFd, EPOLLIN, reinterpret_cast<void*>(&testData), testCallBack); in HWTEST_F()
327 ffrt_epoll_ctl(qos, EPOLL_CTL_ADD, testFd, EPOLLIN, reinterpret_cast<void*>(&testData), testCallBack); in HWTEST_F()
356 ffrt_epoll_ctl(qos, EPOLL_CTL_ADD, testFd, EPOLLIN, reinterpret_cast<void*>(&testData), testCallBack); in HWTEST_F()
385 ffrt_epoll_ctl(qos, EPOLL_CTL_ADD, testFd, EPOLLIN, reinterpret_cast<void*>(&testData), testCallBack); in HWTEST_F()
413 ffrt_epoll_ctl(qos, EPOLL_CTL_ADD, testFd, EPOLLIN, reinterpret_cast<void*>(&testData), testCallBack); in HWTEST_F()
442 ffrt_epoll_ctl(qos, EPOLL_CTL_ADD, testFd, EPOLLIN, reinterpret_cast<void*>(&testData), testCallBack); in HWTEST_F()
472 ffrt_epoll_ctl(qos, EPOLL_CTL_ADD, testF in HWTEST_F()
[all...]
H A Dut_coroutine.cpp149 ffrt_epoll_ctl(ffrt_qos_default, EPOLL_CTL_ADD, testFd, EPOLLIN, reinterpret_cast<void*>(&testData), testCallBack); in HWTEST_F()
H A Dut_loop.cpp249 ret = ffrt_loop_epoll_ctl(loop, EPOLL_CTL_ADD, testFd, EPOLLIN, (void*)(&testData), TestCallBack); in HWTEST_F()
/foundation/resourceschedule/ffrt/src/sync/
H A Dio_poller.cpp80 if (epoll_ctl(m_epFd, EPOLL_CTL_ADD, m_wakeData.fd, &ev) < 0) {
117 if (epoll_ctl(m_epFd, EPOLL_CTL_ADD, fd, &ev) == 0) {
128 if (epoll_ctl(m_epFd, EPOLL_CTL_ADD, fd, &ev) == 0) {
H A Ddelayed_worker.cpp103 if (epoll_ctl(epollfd_, EPOLL_CTL_ADD, timerfd_, &timer_event) < 0) {
118 int ret = epoll_ctl(epollfd_, EPOLL_CTL_ADD, monitorfd_, &monitor_event);
H A Dpoller_api.cpp43 } else if (op == EPOLL_CTL_ADD || op == EPOLL_CTL_MOD) { in ffrt_epoll_ctl()
H A Dpoller.cpp26 if (epoll_ctl(m_epFd, EPOLL_CTL_ADD, m_wakeData.fd, &ev) < 0) {
69 if (op == EPOLL_CTL_ADD) {
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/evloop/src/
H A Devent_loop_epoll.cpp65 errCode = epoll_ctl(epollFd_, EPOLL_CTL_ADD, wakeUpFd_, &event); in Initialize()
203 if (operation != EPOLL_CTL_ADD && in EpollCtl()
237 int errCode = EpollCtl(EPOLL_CTL_ADD, event, events); in AddEvent()
/foundation/communication/netstack/utils/http_over_curl/include/
H A Depoller.h52 epoll_ctl(underlying_, EPOLL_CTL_ADD, descriptor, &ev); in RegisterMe()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/sock/
H A Dsocket_listener.cpp45 CHECK_EXCEPT_INTR(ret = epoll_ctl(epollFd_, EPOLL_CTL_ADD, stopFd_, &event)); in Initialize()
101 ret = epoll_ctl(epollFd_, EPOLL_CTL_ADD, fd, &event); in AddSocket()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/util/internal/
H A Dtimer_linux.cpp98 CHECK_EXCEPT_INTR(ret = epoll_ctl(epollFd_, EPOLL_CTL_ADD, stopFd_, &event)); in Initialize()
175 if (epoll_ctl(epollFd_, EPOLL_CTL_ADD, timer.fd_, &event) == -1) { in AddTimer()
/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/linux/
H A Dreactor_linux.c83 if (epoll_ctl(epollFd, EPOLL_CTL_ADD, stopFd, &event) == -1) { in ReactorCreate()
208 if (epoll_ctl(reactor->epollFd, EPOLL_CTL_ADD, item->fd, &event) == -1) { in ReactorRegister()
/foundation/resourceschedule/ffrt/src/eu/
H A Dloop.cpp71 if (op == EPOLL_CTL_ADD) { in EpollCtl()
/foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/unix/
H A Dsys_epoll.c48 if (epoll_ctl(task->epollfd, EPOLL_CTL_ADD, task->taskfd, &event) < 0) { in RegisterEpollTask()
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/dnsresolv/
H A Ddns_proxy_listen.cpp157 if (epoll_ctl(epollFd_, EPOLL_CTL_ADD, socketFd, iter->second.GetEventPtr()) < 0) { in SendRequest2Server()
342 if (epoll_ctl(epollFd_, EPOLL_CTL_ADD, proxySockFd_, &proxyEvent) < 0) { in InitForListening()
343 NETNATIVE_LOGE("EPOLL_CTL_ADD proxy errno %{public}d: %{public}s", errno, strerror(errno)); in InitForListening()
351 if (epoll_ctl(epollFd_, EPOLL_CTL_ADD, proxySockFd6_, &proxy6Event) < 0) { in InitForListening()
352 NETNATIVE_LOGE("EPOLL_CTL_ADD proxy6 errno %{public}d: %{public}s", errno, strerror(errno)); in InitForListening()
/foundation/CastEngine/castengine_wifi_display/tests/demo/network/
H A Dudp_server_demo.cpp118 if (epoll_ctl(kdpfd, EPOLL_CTL_ADD, listener, &ev) < 0) { in main()
/foundation/multimodalinput/input/intention/common/epoll/src/
H A Depoll_manager.cpp67 int32_t ret = ::epoll_ctl(epollFd_, EPOLL_CTL_ADD, source.GetFd(), &ev); in Add()
/foundation/resourceschedule/memmgr/services/memmgrservice/src/event/
H A Dkswapd_observer.cpp80 if (epoll_ctl(epollfd_, EPOLL_CTL_ADD, kswapdMonitorFd_, &epollEvent) < 0) { in RegisterKswapdListener()
H A Dmemory_pressure_observer.cpp143 ret = epoll_ctl(epollfd, EPOLL_CTL_ADD, fd, &epollEvent); in AddLevelFileFdToEpoll()
/foundation/systemabilitymgr/samgr/services/samgr/native/source/
H A Dsamgr_time_handler.cpp128 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, timerfd, &event) == -1) { in PostTask()
129 HILOGE("epoll_ctl(EPOLL_CTL_ADD) failed : %{public}s", strerror(errno)); in PostTask()
/foundation/communication/wifi/wifi/base/cRPC/src/
H A Devloop.c118 int op = (loop->fdMasks[fd].mask == NONE_EVENT) ? EPOLL_CTL_ADD : EPOLL_CTL_MOD; in AddFdEvent()
/foundation/communication/netstack/frameworks/js/napi/socket/async_context/include/
H A Dlocal_socket_server_context.h83 return epoll_ctl(epollFd_, EPOLL_CTL_ADD, sockfd, &event); in RegisterEpollEvent()
/foundation/multimodalinput/input/intention/services/test/unittest/src/
H A Ddevice_manager_test.cpp206 if (EpollCtl(fd, EPOLL_CTL_ADD, ev) != RET_OK) { in AddEpoll()

Completed in 16 milliseconds

12