Searched refs:pollfds (Results 1 – 2 of 2) sorted by relevance
19 static struct pollfd *pollfds = NULL; variable28 n = poll(pollfds, pollfds_num, 0); in os_waiting_for_events()43 if (pollfds[i].revents != 0) { in os_waiting_for_events()44 irq_fd->current_events = pollfds[i].revents; in os_waiting_for_events()45 pollfds[i].fd = -1; in os_waiting_for_events()55 if (size_tmpfds <= pollfds_size * sizeof(pollfds[0])) { in os_create_pollfd()57 return (pollfds_size + 1) * sizeof(pollfds[0]); in os_create_pollfd()60 if (pollfds != NULL) { in os_create_pollfd()61 memcpy(tmp_pfd, pollfds, in os_create_pollfd()62 sizeof(pollfds[0]) * pollfds_size); in os_create_pollfd()[all …]
37 struct pollfds { struct47 static struct pollfds current_poll; argument48 static struct pollfds next_poll;49 static struct pollfds all_sigio_fds;53 struct pollfds *fds, tmp; in write_sigio_thread()103 static int need_poll(struct pollfds *polls, int n) in need_poll()298 current_poll = ((struct pollfds) { .poll = p, in write_sigio_workaround()325 current_poll = ((struct pollfds) { .poll = NULL, in write_sigio_workaround()