Searched refs:pollfds (Results 1 – 3 of 3) sorted by relevance
/linux-4.1.27/arch/um/os-Linux/ |
D | irq.c | 19 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 …]
|
D | sigio.c | 37 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()
|
/linux-4.1.27/tools/firewire/ |
D | nosy-dump.c | 917 struct pollfd pollfds[2]; in main() local 981 pollfds[0].fd = fd; in main() 982 pollfds[0].events = POLLIN; in main() 983 pollfds[1].fd = STDIN_FILENO; in main() 984 pollfds[1].events = POLLIN; in main() 992 poll(pollfds, 2, -1); in main() 993 if (pollfds[1].revents) { in main() 1003 if (pollfds[0].revents) in main()
|