Searched refs:ev_fdinfo (Results 1 – 1 of 1) sorted by relevance
46 static fd_info ev_fdinfo[MAX_DEVICES + MAX_MISC_FDS]; variable89 ev.data.ptr = &ev_fdinfo[ev_count]; in ev_init()96 ev_fdinfo[ev_count].fd = fd; in ev_init()97 ev_fdinfo[ev_count].cb = input_cb; in ev_init()98 ev_fdinfo[ev_count].data = data; in ev_init()127 ev.data.ptr = (void *)&ev_fdinfo[ev_count]; in ev_add_fd()130 ev_fdinfo[ev_count].fd = fd; in ev_add_fd()131 ev_fdinfo[ev_count].cb = cb; in ev_add_fd()132 ev_fdinfo[ev_count].data = data; in ev_add_fd()142 close(ev_fdinfo[--ev_count].fd); in ev_exit()[all …]