/linux-4.4.14/tools/lib/api/fd/ |
D | array.c | 73 int fdarray__add(struct fdarray *fda, int fd, short revents) in fdarray__add() argument 82 fda->entries[fda->nr].events = revents; in fdarray__add() 87 int fdarray__filter(struct fdarray *fda, short revents, in fdarray__filter() argument 96 if (fda->entries[fd].revents & revents) { in fdarray__filter()
|
D | array.h | 34 int fdarray__add(struct fdarray *fda, int fd, short revents); 36 int fdarray__filter(struct fdarray *fda, short revents,
|
/linux-4.4.14/tools/perf/tests/ |
D | fdarray.c | 5 static void fdarray__init_revents(struct fdarray *fda, short revents) in fdarray__init_revents() argument 13 fda->entries[fd].revents = revents; in fdarray__init_revents() 55 fda->entries[2].revents = POLLIN; in test__fdarray__filter() 74 fda->entries[0].revents = POLLIN; in test__fdarray__filter() 76 fda->entries[3].revents = POLLIN; in test__fdarray__filter()
|
/linux-4.4.14/arch/um/os-Linux/ |
D | irq.c | 43 if (pollfds[i].revents != 0) { in os_waiting_for_events() 44 irq_fd->current_events = pollfds[i].revents; in os_waiting_for_events() 73 .revents = 0 }); in os_create_pollfd()
|
D | sigio.c | 70 if (p->revents == 0) in write_sigio_thread() 252 .revents = 0 }); in setup_initial_poll() 356 .revents = 0 }); in sigio_broken()
|
/linux-4.4.14/samples/uhid/ |
D | uhid-example.c | 440 if (pfds[0].revents & POLLHUP) { in main() 444 if (pfds[1].revents & POLLHUP) { in main() 449 if (pfds[0].revents & POLLIN) { in main() 454 if (pfds[1].revents & POLLIN) { in main()
|
/linux-4.4.14/Documentation/mic/mpssd/ |
D | mpssd.c | 491 pollfd.revents = 0; in wait_for_card_driver() 499 if (pollfd.revents) { in wait_for_card_driver() 509 mic->name, __func__, pollfd.revents); in wait_for_card_driver() 584 net_poll[NET_FD_VIRTIO_NET].revents = 0; in virtio_net() 585 net_poll[NET_FD_TUN].revents = 0; in virtio_net() 608 if (net_poll[NET_FD_TUN].revents & POLLIN) { in virtio_net() 666 if (net_poll[NET_FD_VIRTIO_NET].revents & POLLIN) { in virtio_net() 729 if (net_poll[NET_FD_VIRTIO_NET].revents & POLLERR) in virtio_net() 804 console_poll[MONITOR_FD].revents = 0; in virtio_console() 805 console_poll[VIRTIO_CONSOLE_FD].revents = 0; in virtio_console() [all …]
|
/linux-4.4.14/arch/sparc/kernel/ |
D | sparc_ksyms_32.c | 19 short revents; member
|
D | sparc_ksyms_64.c | 22 short revents; member
|
/linux-4.4.14/include/uapi/asm-generic/ |
D | poll.h | 38 short revents; member
|
/linux-4.4.14/fs/ |
D | eventpoll.c | 1267 int error, revents, pwake = 0; in ep_insert() local 1307 revents = ep_item_poll(epi, &epq.pt); in ep_insert() 1338 if ((revents & event->events) && !ep_is_linked(&epi->rdllink)) { in ep_insert() 1395 unsigned int revents; in ep_modify() local 1438 revents = ep_item_poll(epi, &pt); in ep_modify() 1444 if (revents & event->events) { in ep_modify() 1471 unsigned int revents; in ep_send_events_proc() local 1506 revents = ep_item_poll(epi, &pt); in ep_send_events_proc() 1514 if (revents) { in ep_send_events_proc() 1515 if (__put_user(revents, &uevent->events) || in ep_send_events_proc()
|
D | select.c | 776 pollfd->revents = mask; in do_pollfd() 919 if (__put_user(fds[j].revents, &ufds->revents)) in do_sys_poll()
|
/linux-4.4.14/Documentation/timers/ |
D | hpet_example.c | 181 pfd.revents = 0; in hpet_poll() 196 pfd.revents); in hpet_poll()
|
/linux-4.4.14/drivers/misc/mic/cosm/ |
D | cosm_scif_server.c | 267 if (pollepd.revents & POLLIN) in cosm_scif_work() 271 if (pollepd.revents & POLLHUP) { in cosm_scif_work()
|
/linux-4.4.14/tools/testing/selftests/vm/ |
D | userfaultfd.c | 266 if (pollfd[1].revents & POLLIN) { in uffd_poll_thread() 272 if (!(pollfd[0].revents & POLLIN)) in uffd_poll_thread() 274 pollfd[0].revents), exit(1); in uffd_poll_thread()
|
/linux-4.4.14/include/linux/ |
D | scif.h | 127 short revents; member
|
/linux-4.4.14/tools/testing/selftests/net/ |
D | psock_tpacket.c | 247 pfd.revents = 0; in walk_v1_v2_rx() 385 pfd.revents = 0; in walk_v1_v2_tx() 554 pfd.revents = 0; in walk_v3_rx()
|
/linux-4.4.14/Documentation/connector/ |
D | ucon.c | 206 pfd.revents = 0; in main()
|
/linux-4.4.14/tools/hv/ |
D | hv_vss_daemon.c | 202 pfd.revents = 0; in main()
|
D | hv_kvp_daemon.c | 1475 pfd.revents = 0; in main()
|
/linux-4.4.14/drivers/misc/mic/cosm_client/ |
D | cosm_scif_client.c | 172 if (pollepd.revents & POLLIN) in cosm_scif_client()
|
/linux-4.4.14/Documentation/networking/ |
D | netlink_mmap.txt | 252 pfds[0].revents = 0; 258 if (pfds[0].revents & POLLERR) 262 if (!(pfds[0].revents & POLLIN))
|
D | packet_mmap.txt | 493 pfd.revents = 0; 528 pfd.revents = 0; 955 pfd.revents = 0;
|
D | timestamping.txt | 326 POLLERR in pollfd.revents if any data is ready on the error queue.
|
/linux-4.4.14/tools/usb/ffs-aio-example/simple/device_app/ |
D | aio_simple.c | 175 if (ret && (pfds[0].revents & POLLIN)) { in handle_ep0()
|
/linux-4.4.14/tools/virtio/ |
D | virtio_test.c | 148 if (dev->fds[i].revents & POLLIN) { in wait_for_interrupt()
|
/linux-4.4.14/Documentation/usb/ |
D | gadget_printer.txt | 215 if (retval && (fd[0].revents & POLLRDNORM)) { 273 if (retval && (fd[0].revents & POLLWRNORM)) {
|
/linux-4.4.14/tools/firewire/ |
D | nosy-dump.c | 993 if (pollfds[1].revents) { in main() 1003 if (pollfds[0].revents) in main()
|
/linux-4.4.14/include/uapi/linux/ |
D | fuse.h | 657 uint32_t revents; member
|
/linux-4.4.14/tools/usb/usbip/src/ |
D | usbipd.c | 564 if (fds[i].revents & POLLIN) { in do_standalone_mode()
|
/linux-4.4.14/drivers/misc/mic/scif/ |
D | scif_api.c | 1408 ufds[i].revents = mask; in scif_poll()
|
/linux-4.4.14/tools/perf/ |
D | builtin-kvm.c | 956 if (fda->entries[nr_stdin].revents & POLLIN) in kvm_events_live_report()
|
/linux-4.4.14/fs/fuse/ |
D | file.c | 2731 return outarg.revents; in fuse_file_poll()
|