Searched refs:pollfds (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/arch/um/os-Linux/ |
H A D | sigio.c | 37 struct pollfds { struct 47 static struct pollfds current_poll; 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() 113 "pollfds\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()
|
H A D | file.c | 675 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()
|
/kernel/linux/linux-6.6/arch/um/os-Linux/ |
H A D | sigio.c | 37 struct pollfds { struct 47 static struct pollfds current_poll; 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() 113 "pollfds\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()
|
H A D | file.c | 684 struct pollfd pollfds[2] = {}; in os_poll() local 688 if (n > ARRAY_SIZE(pollfds)) in os_poll() 692 pollfds[i].fd = fds[i]; in os_poll() 693 pollfds[i].events = POLLIN; in os_poll() 696 ret = poll(pollfds, n, -1); in os_poll() 702 if (pollfds[i].revents) in os_poll()
|
/kernel/linux/linux-5.10/tools/firewire/ |
H A D | nosy-dump.c | 904 struct pollfd pollfds[2]; in main() local 968 pollfds[0].fd = fd; in main() 969 pollfds[0].events = POLLIN; in main() 970 pollfds[1].fd = STDIN_FILENO; in main() 971 pollfds[1].events = POLLIN; in main() 979 poll(pollfds, 2, -1); in main() 980 if (pollfds[1].revents) { in main() 990 if (pollfds[0].revents) in main()
|
/kernel/linux/linux-6.6/tools/firewire/ |
H A D | nosy-dump.c | 904 struct pollfd pollfds[2]; in main() local 968 pollfds[0].fd = fd; in main() 969 pollfds[0].events = POLLIN; in main() 970 pollfds[1].fd = STDIN_FILENO; in main() 971 pollfds[1].events = POLLIN; in main() 979 poll(pollfds, 2, -1); in main() 980 if (pollfds[1].revents) { in main() 990 if (pollfds[0].revents) in main()
|
Completed in 6 milliseconds