Searched refs:cupsd_kqueue_events (Results 1 – 1 of 1) sorted by relevance
/external/libcups/scheduler/ |
D | select.c | 200 static struct kevent *cupsd_kqueue_events = NULL; variable 416 nfds = kevent(cupsd_kqueue_fd, NULL, 0, cupsd_kqueue_events, MaxFDs, in cupsdDoSelect() 420 nfds = kevent(cupsd_kqueue_fd, NULL, 0, cupsd_kqueue_events, MaxFDs, NULL); in cupsdDoSelect() 424 for (i = nfds, event = cupsd_kqueue_events; i > 0; i --, event ++) in cupsdDoSelect() 809 cupsd_kqueue_events = calloc((size_t)MaxFDs, sizeof(struct kevent)); in cupsdStartSelect() 847 if (cupsd_kqueue_events) in cupsdStopSelect() 849 free(cupsd_kqueue_events); in cupsdStopSelect() 850 cupsd_kqueue_events = NULL; in cupsdStopSelect()
|