Searched refs:ev_fds (Results 1 – 1 of 1) sorted by relevance
41 static struct pollfd ev_fds[MAX_DEVICES + MAX_MISC_FDS]; variable77 ev_fds[ev_count].fd = fd; in ev_init()78 ev_fds[ev_count].events = POLLIN; in ev_init()95 ev_fds[ev_count].fd = fd; in ev_add_fd()96 ev_fds[ev_count].events = POLLIN; in ev_add_fd()107 close(ev_fds[--ev_count].fd); in ev_exit()117 r = poll(ev_fds, ev_count, timeout); in ev_wait()130 if (cb && (ev_fds[n].revents & ev_fds[n].events)) in ev_dispatch()131 cb(ev_fds[n].fd, ev_fds[n].revents, ev_fdinfo[n].data); in ev_dispatch()160 ret = ioctl(ev_fds[i].fd, EVIOCGBIT(0, sizeof(ev_bits)), ev_bits); in ev_sync_key_state()[all …]