Home
last modified time | relevance | path

Searched refs:pollfds (Results 1 – 2 of 2) sorted by relevance

/arch/um/os-Linux/
Dirq.c19 static struct pollfd *pollfds = NULL; variable
28 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 …]
Dsigio.c37 struct pollfds { struct
47 static struct pollfds current_poll; argument
48 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()