pollfd             26 arch/um/drivers/ubd_user.c struct pollfd kernel_pollfd;
pollfd             38 arch/um/os-Linux/sigio.c 	struct pollfd *poll;
pollfd             54 arch/um/os-Linux/sigio.c 	struct pollfd *p;
pollfd            105 arch/um/os-Linux/sigio.c 	struct pollfd *new;
pollfd            110 arch/um/os-Linux/sigio.c 	new = uml_kmalloc(n * sizeof(struct pollfd), UM_GFP_ATOMIC);
pollfd            117 arch/um/os-Linux/sigio.c 	memcpy(new, polls->poll, polls->used * sizeof(struct pollfd));
pollfd            169 arch/um/os-Linux/sigio.c 	struct pollfd *p;
pollfd            193 arch/um/os-Linux/sigio.c 	       current_poll.used * sizeof(struct pollfd));
pollfd            204 arch/um/os-Linux/sigio.c 	struct pollfd *p;
pollfd            240 arch/um/os-Linux/sigio.c static struct pollfd *setup_initial_poll(int fd)
pollfd            242 arch/um/os-Linux/sigio.c 	struct pollfd *p;
pollfd            244 arch/um/os-Linux/sigio.c 	p = uml_kmalloc(sizeof(struct pollfd), UM_GFP_KERNEL);
pollfd            250 arch/um/os-Linux/sigio.c 	*p = ((struct pollfd) { .fd		= fd,
pollfd            258 arch/um/os-Linux/sigio.c 	struct pollfd *p;
pollfd            354 arch/um/os-Linux/sigio.c 		((struct pollfd) { .fd  	= fd,
pollfd            102 drivers/staging/greybus/tools/loopback_test.c 	struct pollfd fds[MAX_NUM_DEVICES];
pollfd            829 fs/select.c    	struct pollfd entries[0];
pollfd            832 fs/select.c    #define POLLFD_PER_PAGE  ((PAGE_SIZE-sizeof(struct poll_list)) / sizeof(struct pollfd))
pollfd            841 fs/select.c    static inline __poll_t do_pollfd(struct pollfd *pollfd, poll_table *pwait,
pollfd            845 fs/select.c    	int fd = pollfd->fd;
pollfd            857 fs/select.c    	filter = demangle_poll(pollfd->events) | EPOLLERR | EPOLLHUP;
pollfd            867 fs/select.c    	pollfd->revents = mangle_poll(mask);
pollfd            895 fs/select.c    			struct pollfd * pfd, * pfd_end;
pollfd            958 fs/select.c    			sizeof(struct pollfd))
pollfd            960 fs/select.c    static int do_sys_poll(struct pollfd __user *ufds, unsigned int nfds,
pollfd            984 fs/select.c    					sizeof(struct pollfd) * walk->len))
pollfd           1005 fs/select.c    		struct pollfd *fds = walk->entries;
pollfd           1027 fs/select.c    	struct pollfd __user *ufds = restart_block->poll.ufds;
pollfd           1047 fs/select.c    SYSCALL_DEFINE3(poll, struct pollfd __user *, ufds, unsigned int, nfds,
pollfd           1081 fs/select.c    SYSCALL_DEFINE5(ppoll, struct pollfd __user *, ufds, unsigned int, nfds,
pollfd           1107 fs/select.c    SYSCALL_DEFINE5(ppoll_time32, struct pollfd __user *, ufds, unsigned int, nfds,
pollfd           1373 fs/select.c    COMPAT_SYSCALL_DEFINE5(ppoll_time32, struct pollfd __user *, ufds,
pollfd           1399 fs/select.c    COMPAT_SYSCALL_DEFINE5(ppoll_time64, struct pollfd __user *, ufds,
pollfd            622 include/linux/compat.h asmlinkage long compat_sys_ppoll_time32(struct pollfd __user *ufds,
pollfd            627 include/linux/compat.h asmlinkage long compat_sys_ppoll_time64(struct pollfd __user *ufds,
pollfd             14 include/linux/restart_block.h struct pollfd;
pollfd             49 include/linux/restart_block.h 			struct pollfd __user *ufds;
pollfd             35 include/linux/syscalls.h struct pollfd;
pollfd            492 include/linux/syscalls.h asmlinkage long sys_ppoll(struct pollfd __user *, unsigned int,
pollfd            495 include/linux/syscalls.h asmlinkage long sys_ppoll_time32(struct pollfd __user *, unsigned int,
pollfd           1102 include/linux/syscalls.h asmlinkage long sys_poll(struct pollfd __user *ufds, unsigned int nfds,
pollfd            519 samples/bpf/xdp_router_ipv4_user.c 	struct pollfd fds_route, fds_arp;
pollfd            487 samples/bpf/xdpsock_user.c 				     struct pollfd *fds)
pollfd            548 samples/bpf/xdpsock_user.c static void rx_drop(struct xsk_socket_info *xsk, struct pollfd *fds)
pollfd            589 samples/bpf/xdpsock_user.c 	struct pollfd fds[MAX_SOCKS + 1];
pollfd            636 samples/bpf/xdpsock_user.c 	struct pollfd fds[MAX_SOCKS];
pollfd            661 samples/bpf/xdpsock_user.c static void l2fwd(struct xsk_socket_info *xsk, struct pollfd *fds)
pollfd            709 samples/bpf/xdpsock_user.c 	struct pollfd fds[MAX_SOCKS];
pollfd            107 samples/connector/ucon.c 	struct pollfd pfd;
pollfd            466 samples/mic/mpssd/mpssd.c 	struct pollfd pollfd;
pollfd            474 samples/mic/mpssd/mpssd.c 	pollfd.fd = fd;
pollfd            479 samples/mic/mpssd/mpssd.c 		pollfd.events = POLLIN;
pollfd            480 samples/mic/mpssd/mpssd.c 		pollfd.revents = 0;
pollfd            481 samples/mic/mpssd/mpssd.c 		err = poll(&pollfd, 1, -1);
pollfd            488 samples/mic/mpssd/mpssd.c 		if (pollfd.revents) {
pollfd            498 samples/mic/mpssd/mpssd.c 					mic->name, __func__, pollfd.revents);
pollfd            539 samples/mic/mpssd/mpssd.c 	struct pollfd net_poll[MAX_NET_FD];
pollfd            742 samples/mic/mpssd/mpssd.c 	struct pollfd console_poll[MAX_CONSOLE_FD];
pollfd           1162 samples/mic/mpssd/mpssd.c 	struct pollfd block_poll;
pollfd           1437 samples/mic/mpssd/mpssd.c 	struct pollfd ufds[1];
pollfd            135 samples/timers/hpet_example.c 	struct pollfd		pfd;
pollfd            391 samples/uhid/uhid-example.c 	struct pollfd pfds[2];
pollfd            904 tools/firewire/nosy-dump.c 	struct pollfd pollfds[2];
pollfd           1365 tools/hv/hv_kvp_daemon.c 	struct pollfd pfd;
pollfd            201 tools/hv/hv_vss_daemon.c 	struct pollfd pfd;
pollfd            638 tools/iio/iio_generic_buffer.c 			struct pollfd pfd = {
pollfd           1625 tools/include/nolibc/nolibc.h int sys_poll(struct pollfd *fds, int nfds, int timeout)
pollfd           2062 tools/include/nolibc/nolibc.h int poll(struct pollfd *fds, int nfds, int timeout)
pollfd             30 tools/leds/led_hw_brightness_mon.c 	struct pollfd pollfd;
pollfd             55 tools/leds/led_hw_brightness_mon.c 	pollfd.fd = fd;
pollfd             56 tools/leds/led_hw_brightness_mon.c 	pollfd.events = POLLPRI;
pollfd             59 tools/leds/led_hw_brightness_mon.c 		ret = poll(&pollfd, 1, -1);
pollfd             73 tools/leds/led_hw_brightness_mon.c 		ret = lseek(pollfd.fd, 0, SEEK_SET);
pollfd             25 tools/lib/api/fd/array.c 	size_t size  = sizeof(struct pollfd) * nr_alloc;
pollfd             26 tools/lib/api/fd/array.c 	struct pollfd *entries = realloc(fda->entries, size);
pollfd              7 tools/lib/api/fd/array.h struct pollfd;
pollfd             23 tools/lib/api/fd/array.h 	struct pollfd *entries;
pollfd             70 tools/perf/bench/sched-messaging.c 	struct pollfd pollfd = { .fd = wakefd, .events = POLLIN };
pollfd             77 tools/perf/bench/sched-messaging.c 	if (poll(&pollfd, 1, -1) != 1)
pollfd            283 tools/perf/builtin-ftrace.c 	struct pollfd pollfd = {
pollfd            361 tools/perf/builtin-ftrace.c 	pollfd.fd = trace_fd;
pollfd            371 tools/perf/builtin-ftrace.c 		if (poll(&pollfd, 1, -1) < 0)
pollfd            374 tools/perf/builtin-ftrace.c 		if (pollfd.revents & POLLIN) {
pollfd            985 tools/perf/builtin-kvm.c 		struct fdarray *fda = &kvm->evlist->core.pollfd;
pollfd            490 tools/perf/builtin-top.c 		struct pollfd stdin_poll = { .fd = 0, .events = POLLIN };
pollfd            666 tools/perf/builtin-top.c 	struct pollfd stdin_poll = { .fd = 0, .events = POLLIN };
pollfd            260 tools/perf/lib/evlist.c 	if (fdarray__available_entries(&evlist->pollfd) < nfds &&
pollfd            261 tools/perf/lib/evlist.c 	    fdarray__grow(&evlist->pollfd, nfds) < 0)
pollfd            270 tools/perf/lib/evlist.c 	int pos = fdarray__add(&evlist->pollfd, fd, revent | POLLERR | POLLHUP);
pollfd            273 tools/perf/lib/evlist.c 		evlist->pollfd.priv[pos].ptr = ptr;
pollfd            282 tools/perf/lib/evlist.c 	return fdarray__poll(&evlist->pollfd, timeout);
pollfd             23 tools/perf/lib/include/internal/evlist.h 	struct fdarray		 pollfd;
pollfd             60 tools/perf/util/evlist.c 	fdarray__init(&evlist->core.pollfd, 64);
pollfd            141 tools/perf/util/evlist.c 	fdarray__exit(&evlist->core.pollfd);
pollfd            417 tools/perf/util/evlist.c 	return fdarray__filter(&evlist->core.pollfd, revents_and_mask,
pollfd            909 tools/perf/util/evlist.c 	if (evlist->core.pollfd.entries == NULL && perf_evlist__alloc_pollfd(&evlist->core) < 0)
pollfd             18 tools/perf/util/evlist.h struct pollfd;
pollfd            944 tools/perf/util/python.c 	for (i = 0; i < evlist->core.pollfd.nr; ++i) {
pollfd            947 tools/perf/util/python.c 		FILE *fp = fdopen(evlist->core.pollfd.entries[i].fd, "r");
pollfd            954 tools/perf/util/python.c 		file = PyFile_FromFd(evlist->core.pollfd.entries[i].fd, "perf", "r", -1,
pollfd            477 tools/testing/selftests/bpf/test_flow_dissector.c 	struct pollfd pfd;
pollfd            113 tools/testing/selftests/bpf/test_lirc_mode2_user.c 	struct pollfd pfd = { .fd = inputfd, .events = POLLIN };
pollfd             88 tools/testing/selftests/cgroup/test_freezer.c 	struct pollfd fds = {
pollfd            167 tools/testing/selftests/ir/ir_loopback.c 			struct pollfd pfd = { .fd = rlircfd, .events = POLLIN };
pollfd            144 tools/testing/selftests/net/msg_zerocopy.c 	struct pollfd pfd;
pollfd            222 tools/testing/selftests/net/psock_tpacket.c 	struct pollfd pfd;
pollfd            371 tools/testing/selftests/net/psock_tpacket.c 	struct pollfd pfd;
pollfd            584 tools/testing/selftests/net/psock_tpacket.c 	struct pollfd pfd;
pollfd            150 tools/testing/selftests/net/tcp_mmap.c 		struct pollfd pfd = { .fd = fd, .events = POLLIN, };
pollfd            764 tools/testing/selftests/net/tls.c 	struct pollfd fd = { 0, 0, 0 };
pollfd            783 tools/testing/selftests/net/tls.c 	struct pollfd fd = { 0, 0, 0 };
pollfd            797 tools/testing/selftests/net/tls.c 	struct pollfd fd = { 0, 0, 0 };
pollfd             94 tools/testing/selftests/net/udpgso_bench_rx.c 	struct pollfd pfd;
pollfd            241 tools/testing/selftests/net/udpgso_bench_tx.c 		struct pollfd fds = {0};
pollfd            203 tools/testing/selftests/networking/timestamping/txtimestamp.c 	struct pollfd pollfd;
pollfd            206 tools/testing/selftests/networking/timestamping/txtimestamp.c 	memset(&pollfd, 0, sizeof(pollfd));
pollfd            207 tools/testing/selftests/networking/timestamping/txtimestamp.c 	pollfd.fd = fd;
pollfd            208 tools/testing/selftests/networking/timestamping/txtimestamp.c 	ret = poll(&pollfd, 1, cfg_poll_timeout);
pollfd             29 tools/testing/selftests/pidfd/pidfd_poll_test.c 	struct pollfd fds;
pollfd           3089 tools/testing/selftests/seccomp/seccomp_bpf.c 	struct pollfd pollfd;
pollfd           3144 tools/testing/selftests/seccomp/seccomp_bpf.c 	pollfd.fd = listener;
pollfd           3145 tools/testing/selftests/seccomp/seccomp_bpf.c 	pollfd.events = POLLIN | POLLOUT;
pollfd           3147 tools/testing/selftests/seccomp/seccomp_bpf.c 	EXPECT_GT(poll(&pollfd, 1, -1), 0);
pollfd           3148 tools/testing/selftests/seccomp/seccomp_bpf.c 	EXPECT_EQ(pollfd.revents, POLLIN);
pollfd           3163 tools/testing/selftests/seccomp/seccomp_bpf.c 	pollfd.fd = listener;
pollfd           3164 tools/testing/selftests/seccomp/seccomp_bpf.c 	pollfd.events = POLLIN | POLLOUT;
pollfd           3166 tools/testing/selftests/seccomp/seccomp_bpf.c 	EXPECT_GT(poll(&pollfd, 1, -1), 0);
pollfd           3167 tools/testing/selftests/seccomp/seccomp_bpf.c 	EXPECT_EQ(pollfd.revents, POLLOUT);
pollfd             60 tools/testing/selftests/sync/sync.c 	struct pollfd fds;
pollfd            492 tools/testing/selftests/vm/userfaultfd.c 	struct pollfd pollfd[2];
pollfd            499 tools/testing/selftests/vm/userfaultfd.c 	pollfd[0].fd = uffd;
pollfd            500 tools/testing/selftests/vm/userfaultfd.c 	pollfd[0].events = POLLIN;
pollfd            501 tools/testing/selftests/vm/userfaultfd.c 	pollfd[1].fd = pipefd[cpu*2];
pollfd            502 tools/testing/selftests/vm/userfaultfd.c 	pollfd[1].events = POLLIN;
pollfd            505 tools/testing/selftests/vm/userfaultfd.c 		ret = poll(pollfd, 2, -1);
pollfd            510 tools/testing/selftests/vm/userfaultfd.c 		if (pollfd[1].revents & POLLIN) {
pollfd            511 tools/testing/selftests/vm/userfaultfd.c 			if (read(pollfd[1].fd, &tmp_chr, 1) != 1)
pollfd            516 tools/testing/selftests/vm/userfaultfd.c 		if (!(pollfd[0].revents & POLLIN))
pollfd            518 tools/testing/selftests/vm/userfaultfd.c 				pollfd[0].revents), exit(1);
pollfd            532 tools/testing/selftests/vm/userfaultfd.c 			pollfd[0].fd = uffd;
pollfd            169 tools/usb/ffs-aio-example/simple/device_app/aio_simple.c 	struct pollfd pfds[1];
pollfd            497 tools/usb/usbip/src/usbipd.c 	struct pollfd *fds;
pollfd            546 tools/usb/usbip/src/usbipd.c 	fds = calloc(nsockfd, sizeof(struct pollfd));
pollfd             50 tools/virtio/virtio-trace/trace-agent-ctl.c 	struct pollfd poll_fd;
pollfd             38 tools/virtio/virtio_test.c 	struct pollfd fds[1];