Searched refs:next_free_slot (Results 1 – 1 of 1) sorted by relevance
51 static int next_free_slot = 0; variable191 if (pollfds[next_free_slot].fd == -1) { in fpm_event_poll_add()193 pollfds[next_free_slot].fd = ev->fd; in fpm_event_poll_add()197 ev->index = next_free_slot++; in fpm_event_poll_add()198 if (next_free_slot >= npollfds) { in fpm_event_poll_add()199 next_free_slot = 0; in fpm_event_poll_add()216 ev->index = next_free_slot++; in fpm_event_poll_add()217 if (next_free_slot >= npollfds) { in fpm_event_poll_add()218 next_free_slot = 0; in fpm_event_poll_add()238 next_free_slot = ev->index; in fpm_event_poll_remove()[all …]
Completed in 5 milliseconds