Home
last modified time | relevance | path

Searched refs:epfd (Results 1 – 4 of 4) sorted by relevance

/devicemodel/core/
A Diothread.c43 n = epoll_wait(ioctx_x->epfd, eventlist, MEVENT_MAX, -1); in io_thread()
112 ret = epoll_ctl(ioctx_x->epfd, EPOLL_CTL_ADD, fd, &ee); in iothread_add()
138 if (ioctx_x->epfd) { in iothread_del()
139 ret = epoll_ctl(ioctx_x->epfd, EPOLL_CTL_DEL, fd, NULL); in iothread_del()
165 if (ioctx_x->epfd > 0) { in iothread_deinit()
166 close(ioctx_x->epfd); in iothread_deinit()
167 ioctx_x->epfd = -1; in iothread_deinit()
223 ioctx_x->epfd = epoll_create1(0); in iothread_create()
235 if (ioctx_x->epfd < 0) { in iothread_create()
/devicemodel/include/
A Diothread.h28 int epfd; member
A Dioc.h786 int epfd; /* Epoll fd */ member
/devicemodel/hw/platform/
A Dioc.c972 epoll_ctl(ioc->epfd, EPOLL_CTL_DEL, chl->fd, NULL); in process_shutdown_event()
1003 epoll_ctl(ioc->epfd, EPOLL_CTL_ADD, chl->fd, in process_resume_event()
1212 if (epoll_ctl(ioc->epfd, EPOLL_CTL_ADD, chl->fd, in ioc_core_thread()
1221 n = epoll_wait(ioc->epfd, eventlist, IOC_MAX_EVENTS, -1); in ioc_core_thread()
1347 close(ioc->epfd); in ioc_kill_workers()
1348 ioc->epfd = IOC_INIT_FD; in ioc_kill_workers()
1545 ioc->epfd = epoll_create1(0); in ioc_init()
1546 if (ioc->epfd < 0) in ioc_init()
1680 close(ioc->epfd); in ioc_init()
1706 close(ioc->epfd); in ioc_deinit()

Completed in 10 milliseconds