Home
last modified time | relevance | path

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

/arch/um/os-Linux/
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()
317 current_poll = ((struct pollfds) { .poll = p, in write_sigio_workaround()
344 current_poll = ((struct pollfds) { .poll = NULL, in write_sigio_workaround()
Dfile.c675 struct pollfd pollfds[2] = {}; in os_poll() local
679 if (n > ARRAY_SIZE(pollfds)) in os_poll()
683 pollfds[i].fd = fds[i]; in os_poll()
684 pollfds[i].events = POLLIN; in os_poll()
687 ret = poll(pollfds, n, -1); in os_poll()
693 if (pollfds[i].revents) in os_poll()