Home
last modified time | relevance | path

Searched refs:epoll_fd (Results 1 – 2 of 2) sorted by relevance

/device/generic/goldfish/gps/
Dgps_qemu.c643 epoll_register( int epoll_fd, int fd ) in epoll_register() argument
655 ret = epoll_ctl( epoll_fd, EPOLL_CTL_ADD, fd, &ev ); in epoll_register()
662 epoll_deregister( int epoll_fd, int fd ) in epoll_deregister() argument
666 ret = epoll_ctl( epoll_fd, EPOLL_CTL_DEL, fd, NULL ); in epoll_deregister()
680 int epoll_fd = epoll_create(2); in gps_state_thread() local
688 epoll_register( epoll_fd, control_fd ); in gps_state_thread()
689 epoll_register( epoll_fd, gps_fd ); in gps_state_thread()
698 nevents = epoll_wait( epoll_fd, events, 2, -1 ); in gps_state_thread()
/device/generic/goldfish/qemud/
Dqemud.c335 int epoll_fd; member
346 l->epoll_fd = epoll_create(4); in looper_init()
362 close(l->epoll_fd); in looper_done()
363 l->epoll_fd = -1; in looper_done()
401 epoll_ctl( l->epoll_fd, EPOLL_CTL_MOD, hook->fd, &ev ); in looper_grow()
430 epoll_ctl( l->epoll_fd, EPOLL_CTL_ADD, fd, &ev ); in looper_add()
449 epoll_ctl( l->epoll_fd, EPOLL_CTL_DEL, fd, NULL ); in looper_del()
473 epoll_ctl( l->epoll_fd, EPOLL_CTL_MOD, fd, &ev ); in looper_enable()
498 epoll_ctl( l->epoll_fd, EPOLL_CTL_MOD, fd, &ev ); in looper_disable()
512 count = epoll_wait( l->epoll_fd, l->events, l->num_fds, -1 ); in looper_loop()
[all …]