revents            70 arch/um/os-Linux/sigio.c 			if (p->revents == 0)
revents           252 arch/um/os-Linux/sigio.c 				.revents 	= 0 });
revents           356 arch/um/os-Linux/sigio.c 				   .revents 	= 0 });
revents           261 drivers/misc/mic/cosm/cosm_scif_server.c 		if (pollepd.revents & EPOLLIN)
revents           265 drivers/misc/mic/cosm/cosm_scif_server.c 		if (pollepd.revents & EPOLLHUP) {
revents           166 drivers/misc/mic/cosm_client/cosm_scif_client.c 		if (pollepd.revents & EPOLLIN)
revents          1399 drivers/misc/mic/scif/scif_api.c 			ufds[i].revents = mask;
revents           660 drivers/staging/greybus/tools/loopback_test.c 		t->fds[fds_idx].revents = 0;
revents           752 drivers/staging/greybus/tools/loopback_test.c 			if (t->fds[i].revents & POLLPRI) {
revents          1500 fs/eventpoll.c 	__poll_t revents;
revents          1541 fs/eventpoll.c 	revents = ep_item_poll(epi, &epq.pt, 1);
revents          1575 fs/eventpoll.c 	if (revents && !ep_is_linked(epi)) {
revents          1705 fs/eventpoll.c 	__poll_t revents;
revents          1749 fs/eventpoll.c 		revents = ep_item_poll(epi, &pt, 1);
revents          1750 fs/eventpoll.c 		if (!revents)
revents          1753 fs/eventpoll.c 		if (__put_user(revents, &uevent->events) ||
revents          3009 fs/fuse/file.c 		return demangle_poll(outarg.revents);
revents           867 fs/select.c    	pollfd->revents = mangle_poll(mask);
revents          1009 fs/select.c    			if (__put_user(fds[j].revents, &ufds->revents))
revents           127 include/linux/scif.h 	__poll_t revents;
revents            39 include/uapi/asm-generic/poll.h 	short revents;
revents           770 include/uapi/linux/fuse.h 	uint32_t	revents;
revents           726 net/tipc/socket.c 	__poll_t revents = 0;
revents           732 net/tipc/socket.c 		revents |= EPOLLRDHUP | EPOLLIN | EPOLLRDNORM;
revents           734 net/tipc/socket.c 		revents |= EPOLLHUP;
revents           739 net/tipc/socket.c 			revents |= EPOLLOUT;
revents           744 net/tipc/socket.c 			revents |= EPOLLIN | EPOLLRDNORM;
revents           748 net/tipc/socket.c 			revents |= EPOLLOUT;
revents           753 net/tipc/socket.c 		revents |= EPOLLIN | EPOLLRDNORM;
revents           756 net/tipc/socket.c 		revents = EPOLLIN | EPOLLRDNORM | EPOLLHUP;
revents           759 net/tipc/socket.c 	return revents;
revents           652 samples/bpf/xdpsock_user.c 			if (!(fds[0].revents & POLLOUT))
revents           192 samples/connector/ucon.c 		pfd.revents = 0;
revents           480 samples/mic/mpssd/mpssd.c 		pollfd.revents = 0;
revents           488 samples/mic/mpssd/mpssd.c 		if (pollfd.revents) {
revents           498 samples/mic/mpssd/mpssd.c 					mic->name, __func__, pollfd.revents);
revents           573 samples/mic/mpssd/mpssd.c 		net_poll[NET_FD_VIRTIO_NET].revents = 0;
revents           574 samples/mic/mpssd/mpssd.c 		net_poll[NET_FD_TUN].revents = 0;
revents           597 samples/mic/mpssd/mpssd.c 		if (net_poll[NET_FD_TUN].revents & POLLIN) {
revents           655 samples/mic/mpssd/mpssd.c 		if (net_poll[NET_FD_VIRTIO_NET].revents & POLLIN) {
revents           718 samples/mic/mpssd/mpssd.c 		if (net_poll[NET_FD_VIRTIO_NET].revents & POLLERR)
revents           793 samples/mic/mpssd/mpssd.c 		console_poll[MONITOR_FD].revents = 0;
revents           794 samples/mic/mpssd/mpssd.c 		console_poll[VIRTIO_CONSOLE_FD].revents = 0;
revents           812 samples/mic/mpssd/mpssd.c 		if (console_poll[MONITOR_FD].revents & POLLIN) {
revents           854 samples/mic/mpssd/mpssd.c 		if (console_poll[VIRTIO_CONSOLE_FD].revents & POLLIN) {
revents           903 samples/mic/mpssd/mpssd.c 		if (console_poll[NET_FD_VIRTIO_NET].revents & POLLERR)
revents          1196 samples/mic/mpssd/mpssd.c 			block_poll.revents = 0;
revents          1206 samples/mic/mpssd/mpssd.c 			if (!(block_poll.revents & POLLIN)) {
revents          1209 samples/mic/mpssd/mpssd.c 					__func__, __LINE__, block_poll.revents);
revents           182 samples/timers/hpet_example.c 		pfd.revents = 0;
revents           197 samples/timers/hpet_example.c 				pfd.revents);
revents           441 samples/uhid/uhid-example.c 		if (pfds[0].revents & POLLHUP) {
revents           445 samples/uhid/uhid-example.c 		if (pfds[1].revents & POLLHUP) {
revents           450 samples/uhid/uhid-example.c 		if (pfds[0].revents & POLLIN) {
revents           455 samples/uhid/uhid-example.c 		if (pfds[1].revents & POLLIN) {
revents           980 tools/firewire/nosy-dump.c 			if (pollfds[1].revents) {
revents           990 tools/firewire/nosy-dump.c 			if (pollfds[0].revents)
revents          1442 tools/hv/hv_kvp_daemon.c 		pfd.revents = 0;
revents           258 tools/hv/hv_vss_daemon.c 		pfd.revents = 0;
revents           152 tools/include/nolibc/nolibc.h 	short int revents;
revents            72 tools/lib/api/fd/array.c int fdarray__add(struct fdarray *fda, int fd, short revents)
revents            81 tools/lib/api/fd/array.c 	fda->entries[fda->nr].events = revents;
revents            86 tools/lib/api/fd/array.c int fdarray__filter(struct fdarray *fda, short revents,
revents            96 tools/lib/api/fd/array.c 		if (fda->entries[fd].revents & revents) {
revents            36 tools/lib/api/fd/array.h int fdarray__add(struct fdarray *fda, int fd, short revents);
revents            38 tools/lib/api/fd/array.h int fdarray__filter(struct fdarray *fda, short revents,
revents           374 tools/perf/builtin-ftrace.c 		if (pollfd.revents & POLLIN) {
revents           996 tools/perf/builtin-kvm.c 		if (fda->entries[nr_stdin].revents & POLLIN)
revents             7 tools/perf/tests/fdarray.c static void fdarray__init_revents(struct fdarray *fda, short revents)
revents            15 tools/perf/tests/fdarray.c 		fda->entries[fd].revents = revents;
revents            57 tools/perf/tests/fdarray.c 	fda->entries[2].revents = POLLIN;
revents            76 tools/perf/tests/fdarray.c 	fda->entries[0].revents = POLLIN;
revents            78 tools/perf/tests/fdarray.c 	fda->entries[3].revents = POLLIN;
revents           486 tools/testing/selftests/bpf/test_flow_dissector.c 	if (ret && !(pfd.revents & POLLIN))
revents           487 tools/testing/selftests/bpf/test_flow_dissector.c 		error(1, errno, "poll: unexpected event 0x%x\n", pfd.revents);
revents           103 tools/testing/selftests/cgroup/test_freezer.c 		if (ret > 0 && fds.revents & POLLIN) {
revents           148 tools/testing/selftests/net/msg_zerocopy.c 	pfd.revents = 0;
revents           155 tools/testing/selftests/net/msg_zerocopy.c 	return ret && (pfd.revents & events);
revents           234 tools/testing/selftests/net/psock_tpacket.c 	pfd.revents = 0;
revents           413 tools/testing/selftests/net/psock_tpacket.c 	pfd.revents = 0;
revents           595 tools/testing/selftests/net/psock_tpacket.c 	pfd.revents = 0;
revents           773 tools/testing/selftests/net/tls.c 	EXPECT_EQ(fd.revents & POLLIN, 1);
revents           791 tools/testing/selftests/net/tls.c 	EXPECT_EQ(fd.revents & POLLIN, 1);
revents           808 tools/testing/selftests/net/tls.c 	EXPECT_EQ(fd.revents & POLLIN, 1);
revents           816 tools/testing/selftests/net/tls.c 	EXPECT_EQ(fd.revents & POLLIN, 1);
revents            98 tools/testing/selftests/net/udpgso_bench_rx.c 	pfd.revents = 0;
revents           117 tools/testing/selftests/net/udpgso_bench_rx.c 		if (pfd.revents != POLLIN)
revents           119 tools/testing/selftests/net/udpgso_bench_rx.c 					pfd.revents, POLLIN);
revents            98 tools/testing/selftests/pidfd/pidfd_poll_test.c 		if (!(fds.revents & POLLIN))
revents           101 tools/testing/selftests/pidfd/pidfd_poll_test.c 				fds.revents);
revents          3148 tools/testing/selftests/seccomp/seccomp_bpf.c 	EXPECT_EQ(pollfd.revents, POLLIN);
revents          3167 tools/testing/selftests/seccomp/seccomp_bpf.c 	EXPECT_EQ(pollfd.revents, POLLOUT);
revents           510 tools/testing/selftests/vm/userfaultfd.c 		if (pollfd[1].revents & POLLIN) {
revents           516 tools/testing/selftests/vm/userfaultfd.c 		if (!(pollfd[0].revents & POLLIN))
revents           518 tools/testing/selftests/vm/userfaultfd.c 				pollfd[0].revents), exit(1);
revents           175 tools/usb/ffs-aio-example/simple/device_app/aio_simple.c 	if (ret && (pfds[0].revents & POLLIN)) {
revents           568 tools/usb/usbip/src/usbipd.c 				if (fds[i].revents & POLLIN) {
revents           149 tools/virtio/virtio_test.c 		if (dev->fds[i].revents & POLLIN) {