Home
last modified time | relevance | path

Searched refs:POLLIN (Results 1 – 200 of 284) sorted by relevance

12

/linux-4.4.14/tools/perf/tests/
Dfdarray.c38 fdarray__init_revents(fda, POLLIN); in test__fdarray__filter()
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()
141 FDA_ADD(0, 1, POLLIN, 1); in test__fdarray__add()
155 FDA_ADD(3, 88, POLLIN | POLLOUT, 4); in test__fdarray__add()
159 FDA_CHECK(0, 1, POLLIN); in test__fdarray__add()
162 FDA_CHECK(3, 88, POLLIN | POLLOUT); in test__fdarray__add()
/linux-4.4.14/samples/uhid/
Duhid-example.c429 pfds[0].events = POLLIN; in main()
431 pfds[1].events = POLLIN; in main()
449 if (pfds[0].revents & POLLIN) { in main()
454 if (pfds[1].revents & POLLIN) { in main()
/linux-4.4.14/include/uapi/asm-generic/
Dpoll.h5 #define POLLIN 0x0001 macro
/linux-4.4.14/drivers/vfio/
Dvirqfd.c51 if (flags & POLLIN) { in virqfd_wakeup()
175 if (events & POLLIN) { in vfio_virqfd_enable()
/linux-4.4.14/fs/
Deventfd.c63 wake_up_locked_poll(&ctx->wqh, POLLIN); in eventfd_signal()
128 events |= POLLIN; in eventfd_poll()
282 wake_up_locked_poll(&ctx->wqh, POLLIN); in eventfd_write()
Dpipe.c458 wake_up_interruptible_sync_poll(&pipe->wait, POLLIN | POLLRDNORM); in pipe_write()
469 wake_up_interruptible_sync_poll(&pipe->wait, POLLIN | POLLRDNORM); in pipe_write()
518 mask = (nrbufs > 0) ? POLLIN | POLLRDNORM : 0; in pipe_poll()
563 …wake_up_interruptible_sync_poll(&pipe->wait, POLLIN | POLLOUT | POLLRDNORM | POLLWRNORM | POLLERR … in pipe_release()
Dfcntl.c424 POLLIN | POLLRDNORM, /* POLL_IN */
426 POLLIN | POLLRDNORM | POLLMSG, /* POLL_MSG */
Dsignalfd.c71 events |= POLLIN; in signalfd_poll()
Dproc_namespace.c23 unsigned res = POLLIN | POLLRDNORM; in mounts_poll()
Duserfaultfd.c362 wake_up_poll(&ctx->fd_wqh, POLLIN); in handle_userfault()
535 ret = POLLIN; in userfaultfd_poll()
Dtimerfd.c229 events |= POLLIN; in timerfd_poll()
Deventpoll.c491 ep_wake_up_nested((wait_queue_head_t *) cookie, POLLIN, in ep_poll_wakeup_proc()
813 return POLLIN | POLLRDNORM; in ep_read_events_proc()
Dselect.c384 #define POLLIN_SET (POLLRDNORM | POLLRDBAND | POLLIN | POLLHUP | POLLERR)
/linux-4.4.14/tools/testing/selftests/vm/
Duserfaultfd.c256 pollfd[0].events = POLLIN; in uffd_poll_thread()
258 pollfd[1].events = POLLIN; in uffd_poll_thread()
266 if (pollfd[1].revents & POLLIN) { in uffd_poll_thread()
272 if (!(pollfd[0].revents & POLLIN)) in uffd_poll_thread()
/linux-4.4.14/drivers/misc/mic/cosm_client/
Dcosm_scif_client.c161 pollepd.events = POLLIN; in cosm_scif_client()
172 if (pollepd.revents & POLLIN) in cosm_scif_client()
/linux-4.4.14/fs/proc/
Dkmsg.c46 return POLLIN | POLLRDNORM; in kmsg_poll()
/linux-4.4.14/Documentation/mic/mpssd/
Dmpssd.c490 pollfd.events = POLLIN; in wait_for_card_driver()
566 net_poll[NET_FD_VIRTIO_NET].events = POLLIN; in virtio_net()
568 net_poll[NET_FD_TUN].events = POLLIN; 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()
787 console_poll[MONITOR_FD].events = POLLIN; in virtio_console()
790 console_poll[VIRTIO_CONSOLE_FD].events = POLLIN; in virtio_console()
823 if (console_poll[MONITOR_FD].revents & POLLIN) { in virtio_console()
865 if (console_poll[VIRTIO_CONSOLE_FD].revents & POLLIN) { in virtio_console()
1204 block_poll.events = POLLIN; in virtio_block()
[all …]
/linux-4.4.14/drivers/misc/mic/cosm/
Dcosm_scif_server.c253 pollepd.events = POLLIN; in cosm_scif_work()
267 if (pollepd.revents & POLLIN) in cosm_scif_work()
/linux-4.4.14/tools/virtio/virtio-trace/
Dtrace-agent-ctl.c57 poll_fd.events = POLLIN; in wait_order()
/linux-4.4.14/tools/usb/ffs-aio-example/simple/device_app/
Daio_simple.c171 pfds[0].events = POLLIN; in handle_ep0()
175 if (ret && (pfds[0].revents & POLLIN)) { in handle_ep0()
/linux-4.4.14/tools/virtio/
Dvirtio_test.c109 dev->fds[info->idx].events = POLLIN; in vq_info_add()
148 if (dev->fds[i].revents & POLLIN) { in wait_for_interrupt()
/linux-4.4.14/net/rds/
Daf_rds.c174 mask |= (POLLIN | POLLRDNORM | POLLWRBAND); in rds_poll()
178 mask |= (POLLIN | POLLRDNORM); in rds_poll()
183 mask |= (POLLIN | POLLRDNORM); in rds_poll()
/linux-4.4.14/net/9p/
Dtrans_fd.c257 ret = (ret & ~POLLOUT) | (n & ~POLLIN); in p9_fd_poll()
389 n = POLLIN; in p9_read_work()
393 if ((n & POLLIN) && !test_and_set_bit(Rworksched, &m->wsched)) { in p9_read_work()
597 if (n & POLLIN) { in p9_conn_create()
629 if (n & POLLIN) { in p9_poll_mux()
/linux-4.4.14/arch/x86/um/
Duser-offsets.c87 DEFINE(UM_POLLIN, POLLIN); in foo()
/linux-4.4.14/net/core/
Ddatagram.c79 if (bits && !(bits & (POLLIN | POLLERR))) in receiver_wake_function()
767 mask |= POLLRDHUP | POLLIN | POLLRDNORM; in datagram_poll()
773 mask |= POLLIN | POLLRDNORM; in datagram_poll()
/linux-4.4.14/include/linux/
Dpoll.h24 #define DEFAULT_POLLMASK (POLLIN | POLLOUT | POLLRDNORM | POLLWRNORM)
/linux-4.4.14/arch/powerpc/platforms/cell/spufs/
Dhw_ops.c74 if (events & (POLLIN | POLLRDNORM)) { in spu_hw_mbox_stat_poll()
76 ret |= POLLIN | POLLRDNORM; in spu_hw_mbox_stat_poll()
Dbacking_ops.c104 if (events & (POLLIN | POLLRDNORM)) { in spu_backing_mbox_stat_poll()
106 ret |= POLLIN | POLLRDNORM; in spu_backing_mbox_stat_poll()
Dfile.c705 kill_fasync(&ctx->ibox_fasync, SIGIO, POLLIN); in spufs_ibox_callback()
790 mask = ctx->ops->mbox_stat_poll(ctx, POLLIN | POLLRDNORM); in spufs_ibox_poll()
1544 mask |= POLLIN; in spufs_mfc_callback()
1763 mask |= POLLIN | POLLRDNORM; in spufs_mfc_poll()
2528 mask |= POLLIN; in spufs_switch_log_poll()
/linux-4.4.14/net/bluetooth/
Daf_bluetooth.c401 return POLLIN | POLLRDNORM; in bt_accept_poll()
425 mask |= POLLRDHUP | POLLIN | POLLRDNORM; in bt_sock_poll()
431 mask |= POLLIN | POLLRDNORM; in bt_sock_poll()
/linux-4.4.14/Documentation/vm/
Duserfaultfd.txt19 1) read/POLLIN protocol to notify a userland thread of the faults
48 a later API version) which will specify the read/POLLIN protocol
116 poll() to the userfaultfd in parallel. When a POLLIN event is
/linux-4.4.14/arch/um/os-Linux/
Dsigio.c251 .events = POLLIN, in setup_initial_poll()
355 .events = read ? POLLIN : POLLOUT, in sigio_broken()
/linux-4.4.14/security/tomoyo/
Daudit.c463 return POLLIN | POLLRDNORM; in tomoyo_poll_log()
466 return POLLIN | POLLRDNORM; in tomoyo_poll_log()
Dcommon.c2125 return POLLIN | POLLRDNORM; in tomoyo_poll_query()
2128 return POLLIN | POLLRDNORM; in tomoyo_poll_query()
2460 return POLLIN | POLLRDNORM | POLLOUT | POLLWRNORM; in tomoyo_poll_control()
/linux-4.4.14/samples/bpf/
Dtrace_output_user.c53 struct pollfd pfd = { .fd = fd, .events = POLLIN }; in perf_event_poll()
/linux-4.4.14/drivers/media/v4l2-core/
Dv4l2-mem2mem.c568 if (!(req_events & (POLLOUT | POLLWRNORM | POLLIN | POLLRDNORM))) in v4l2_m2m_poll()
599 return rc | POLLIN | POLLRDNORM; in v4l2_m2m_poll()
621 rc |= POLLIN | POLLRDNORM; in v4l2_m2m_poll()
Dvideobuf2-v4l2.c785 if (!q->is_output && !(req_events & (POLLIN | POLLRDNORM))) in vb2_poll()
795 (req_events & (POLLIN | POLLRDNORM))) { in vb2_poll()
837 return res | POLLIN | POLLRDNORM; in vb2_poll()
855 res | POLLIN | POLLRDNORM; in vb2_poll()
Dvideobuf-core.c1133 } else if (req_events & (POLLIN | POLLRDNORM)) { in videobuf_poll_stream()
1162 rc = POLLIN | POLLRDNORM; in videobuf_poll_stream()
/linux-4.4.14/Documentation/connector/
Ducon.c205 pfd.events = POLLIN; in main()
/linux-4.4.14/tools/usb/usbip/src/
Dusbipd.c545 fds[i].events = POLLIN; in do_standalone_mode()
564 if (fds[i].revents & POLLIN) { in do_standalone_mode()
/linux-4.4.14/sound/firewire/oxfw/
Doxfw-hwdep.c65 events = POLLIN | POLLRDNORM; in hwdep_poll()
/linux-4.4.14/drivers/misc/mic/host/
Dmic_fops.c148 mask = POLLIN | POLLOUT; in mic_poll()
/linux-4.4.14/sound/core/seq/oss/
Dseq_oss_rw.c207 mask |= POLLIN | POLLRDNORM; in snd_seq_oss_poll()
/linux-4.4.14/drivers/isdn/hardware/eicon/
Ddivamnt.c125 mask |= POLLIN | POLLRDNORM; in maint_poll()
Ddivasi.c399 return (POLLIN | POLLRDNORM); in um_idi_poll()
Ddivasmain.c658 return (POLLIN | POLLRDNORM); in divas_poll()
/linux-4.4.14/sound/firewire/digi00x/
Ddigi00x-hwdep.c73 events = POLLIN | POLLRDNORM; in hwdep_poll()
/linux-4.4.14/sound/firewire/dice/
Ddice-hwdep.c65 events = POLLIN | POLLRDNORM; in hwdep_poll()
/linux-4.4.14/sound/firewire/bebob/
Dbebob_hwdep.c66 events = POLLIN | POLLRDNORM; in hwdep_poll()
/linux-4.4.14/tools/hv/
Dhv_vss_daemon.c201 pfd.events = POLLIN; in main()
/linux-4.4.14/sound/firewire/tascam/
Dtascam-hwdep.c74 events = POLLIN | POLLRDNORM; in hwdep_poll()
/linux-4.4.14/drivers/iio/
Dindustrialio-event.c70 wake_up_poll(&ev_int->wait, POLLIN); in iio_push_event()
98 events = POLLIN | POLLRDNORM; in iio_event_poll()
Dindustrialio-buffer.c171 return POLLIN | POLLRDNORM; in iio_buffer_poll()
1192 wake_up_interruptible_poll(&buffer->pollq, POLLIN | POLLRDNORM); in iio_push_to_buffer()
/linux-4.4.14/drivers/media/radio/si470x/
Dradio-si470x-common.c521 if (req_events & (POLLIN | POLLRDNORM)) { in si470x_fops_poll()
529 retval |= POLLIN | POLLRDNORM; in si470x_fops_poll()
/linux-4.4.14/drivers/media/firewire/
Dfiredtv-ci.c212 return POLLIN; in fdtv_ca_io_poll()
/linux-4.4.14/Documentation/timers/
Dhpet_example.c178 pfd.events = POLLIN; in hpet_poll()
/linux-4.4.14/drivers/input/serio/
Duserio.c258 return POLLIN | POLLRDNORM; in userio_char_poll()
Dserio_raw.c252 mask |= POLLIN | POLLRDNORM; in serio_raw_poll()
/linux-4.4.14/drivers/tty/
Dn_tty.c1377 wake_up_interruptible_poll(&tty->read_wait, POLLIN); in n_tty_receive_char_special()
1661 wake_up_interruptible_poll(&tty->read_wait, POLLIN); in __receive_buf()
2441 mask |= POLLIN | POLLRDNORM; in n_tty_poll()
2445 mask |= POLLIN | POLLRDNORM; in n_tty_poll()
2448 mask |= POLLPRI | POLLIN | POLLRDNORM; in n_tty_poll()
2453 if (!(mask & (POLLHUP | POLLIN | POLLRDNORM))) { in n_tty_poll()
Dpty.c349 wake_up_interruptible_poll(&tty->link->read_wait, POLLIN); in pty_start()
362 wake_up_interruptible_poll(&tty->link->read_wait, POLLIN); in pty_stop()
Dtty_ldisc.c682 wake_up_interruptible_poll(&tty->read_wait, POLLIN); in tty_ldisc_hangup()
Dn_hdlc.c830 mask |= POLLIN | POLLRDNORM; /* readable */ in n_hdlc_tty_poll()
Dtty_io.c452 return POLLIN | POLLOUT | POLLERR | POLLHUP | POLLRDNORM | POLLWRNORM; in hung_up_tty_poll()
1817 wake_up_poll(&tty->read_wait, POLLIN); in tty_release()
1827 wake_up_poll(&o_tty->read_wait, POLLIN); in tty_release()
/linux-4.4.14/crypto/
Dalgif_aead.c110 wake_up_interruptible_sync_poll(&wq->wait, POLLIN | in aead_wmem_wakeup()
486 mask |= POLLIN | POLLRDNORM; in aead_poll()
Dalgif_skcipher.c236 wake_up_interruptible_sync_poll(&wq->wait, POLLIN | in skcipher_wmem_wakeup()
730 mask |= POLLIN | POLLRDNORM; in skcipher_poll()
/linux-4.4.14/drivers/media/dvb-core/
Ddmxdev.c1103 mask |= (POLLIN | POLLRDNORM | POLLPRI | POLLERR); in dvb_demux_poll()
1106 mask |= (POLLIN | POLLRDNORM | POLLPRI); in dvb_demux_poll()
1196 mask |= (POLLIN | POLLRDNORM | POLLPRI | POLLERR); in dvb_dvr_poll()
1199 mask |= (POLLIN | POLLRDNORM | POLLPRI); in dvb_dvr_poll()
Ddvb_ca_en50221.c1612 mask |= POLLIN; in dvb_ca_en50221_io_poll()
1623 mask |= POLLIN; in dvb_ca_en50221_io_poll()
/linux-4.4.14/tools/perf/bench/
Dsched-messaging.c71 struct pollfd pollfd = { .fd = wakefd, .events = POLLIN }; in ready()
/linux-4.4.14/sound/usb/usx2y/
DusX2Yhwdep.c101 mask |= POLLIN; in snd_us428ctls_poll()
Dus122l.c284 mask = POLLIN | POLLOUT | POLLWRNORM | POLLERR; in usb_stream_hwdep_poll()
294 mask = POLLIN | POLLOUT | POLLWRNORM; in usb_stream_hwdep_poll()
/linux-4.4.14/net/nfc/
Dllcp_sock.c537 return POLLIN | POLLRDNORM; in llcp_accept_poll()
561 mask |= POLLIN | POLLRDNORM; in llcp_sock_poll()
567 mask |= POLLRDHUP | POLLIN | POLLRDNORM; in llcp_sock_poll()
/linux-4.4.14/drivers/media/radio/
Dradio-cadet.c496 if (dev->rdsstat == 0 && (req_events & (POLLIN | POLLRDNORM))) { in cadet_poll()
503 res |= POLLIN | POLLRDNORM; in cadet_poll()
Dradio-si476x.c1159 if (req_events & (POLLIN | POLLRDNORM)) { in si476x_radio_fops_poll()
1167 err = POLLIN | POLLRDNORM; in si476x_radio_fops_poll()
/linux-4.4.14/drivers/isdn/divert/
Ddivert_procfs.c130 mask |= POLLIN | POLLRDNORM; in isdn_divert_poll()
/linux-4.4.14/drivers/dma-buf/
Ddma-buf.c152 events = poll_requested_events(poll) & (POLLIN | POLLOUT); in dma_buf_poll()
173 unsigned long pevents = POLLIN; in dma_buf_poll()
/linux-4.4.14/drivers/misc/mei/
Dmain.c643 if (req_events & (POLLIN | POLLRDNORM)) { in mei_poll()
647 mask |= POLLIN | POLLRDNORM; in mei_poll()
Damthif.c368 mask |= POLLIN | POLLRDNORM; in mei_amthif_poll()
/linux-4.4.14/net/vmw_vsock/
Daf_vsock.c877 mask |= POLLIN | POLLRDNORM; in vsock_poll()
891 mask |= POLLIN | POLLRDNORM; in vsock_poll()
903 mask |= POLLIN | POLLRDNORM; in vsock_poll()
914 mask |= POLLIN | POLLRDNORM; in vsock_poll()
/linux-4.4.14/sound/firewire/fireworks/
Dfireworks_hwdep.c164 events = POLLIN | POLLRDNORM; in hwdep_poll()
/linux-4.4.14/drivers/hv/
Dhv_utils_transport.c103 return POLLIN | POLLRDNORM; in hvt_op_poll()
/linux-4.4.14/drivers/isdn/mISDN/
Dtimerdev.c154 mask |= (POLLIN | POLLRDNORM); in mISDN_poll()
/linux-4.4.14/include/net/
Dinet_connection_sock.h314 (POLLIN | POLLRDNORM) : 0; in inet_csk_listen_poll()
/linux-4.4.14/drivers/isdn/hysdn/
Dhysdn_proclog.c299 mask |= POLLIN | POLLRDNORM; in hysdn_log_poll()
/linux-4.4.14/drivers/media/platform/vivid/
Dvivid-radio-rx.c144 return POLLIN | POLLRDNORM | v4l2_ctrl_poll(file, wait); in vivid_radio_rx_poll()
/linux-4.4.14/tools/testing/selftests/net/
Dpsock_tpacket.c246 pfd.events = POLLIN | POLLERR; in walk_v1_v2_rx()
553 pfd.events = POLLIN | POLLERR; in walk_v3_rx()
/linux-4.4.14/drivers/bluetooth/
Dhci_vhci.c309 return POLLIN | POLLRDNORM; in vhci_poll()
/linux-4.4.14/drivers/xen/
Dmcelog.c147 return POLLIN | POLLRDNORM; in xen_mce_chrdev_poll()
Devtchn.c572 mask |= POLLIN | POLLRDNORM; in evtchn_poll()
/linux-4.4.14/drivers/char/
Dgenrtc.c212 return POLLIN | POLLRDNORM; in gen_rtc_poll()
Dsnsc.c343 mask |= POLLIN | POLLRDNORM; in scdrv_poll()
Dapm-emulation.c251 return queue_empty(&as->queue) ? 0 : POLLIN | POLLRDNORM; in apm_poll()
Ddtlk.c247 mask = POLLIN | POLLRDNORM; in dtlk_poll()
Ddsp56k.c417 return POLLIN | POLLRDNORM | POLLOUT;
Dppdev.c733 mask |= POLLIN | POLLRDNORM; in pp_poll()
Drtc.c807 return POLLIN | POLLRDNORM; in rtc_poll()
Dhpet.c361 return POLLIN | POLLRDNORM; in hpet_poll()
/linux-4.4.14/arch/powerpc/platforms/powernv/
Dopal-prd.c156 return POLLIN | POLLRDNORM; in opal_prd_poll()
/linux-4.4.14/drivers/staging/speakup/
Dspeakup_soft.c293 ret = POLLIN | POLLRDNORM; in softsynth_poll()
/linux-4.4.14/sound/oss/
Dmidibuf.c407 mask |= POLLIN | POLLRDNORM; in MIDIbuf_poll()
Ddmabuf.c1205 return POLLIN | POLLRDNORM; in poll_input()
1222 return POLLIN | POLLRDNORM; in poll_input()
/linux-4.4.14/drivers/ptp/
Dptp_chardev.c265 return queue_cnt(&ptp->tsevq) ? POLLIN : 0; in ptp_poll()
/linux-4.4.14/arch/powerpc/kernel/
Drtasd.c393 return POLLIN | POLLRDNORM; in rtas_log_poll()
/linux-4.4.14/arch/mips/kernel/
Drtlx.c350 mask |= POLLIN | POLLRDNORM; in file_poll()
/linux-4.4.14/net/batman-adv/
Dicmp_socket.c306 return POLLIN | POLLRDNORM; in batadv_socket_poll()
Ddebugfs.c205 return POLLIN | POLLRDNORM; in batadv_log_poll()
/linux-4.4.14/drivers/pps/
Dpps.c58 return POLLIN | POLLRDNORM; in pps_cdev_poll()
/linux-4.4.14/tools/iio/
Dgeneric_buffer.c407 .events = POLLIN, in main()
/linux-4.4.14/tools/firewire/
Dnosy-dump.c982 pollfds[0].events = POLLIN; in main()
984 pollfds[1].events = POLLIN; in main()
/linux-4.4.14/drivers/media/pci/cx18/
Dcx18-fileops.c622 (req_events & (POLLIN | POLLRDNORM))) { in cx18_v4l2_enc_poll()
655 return res | POLLIN | POLLRDNORM; in cx18_v4l2_enc_poll()
/linux-4.4.14/net/irda/irnet/
Dirnet_ppp.c434 mask |= POLLIN | POLLRDNORM; in irnet_ctrl_poll()
443 mask |= POLLIN | POLLRDNORM; in irnet_ctrl_poll()
/linux-4.4.14/virt/kvm/
Deventfd.c197 if (flags & POLLIN) { in irqfd_wakeup()
402 if (events & POLLIN) in kvm_irqfd_assign()
/linux-4.4.14/drivers/media/pci/ttpci/
Dav7110_ca.c243 mask |= (POLLIN | POLLRDNORM); in dvb_ca_poll()
/linux-4.4.14/fs/coda/
Dpsdev.c72 mask |= POLLIN | POLLRDNORM; in coda_psdev_poll()
/linux-4.4.14/drivers/hid/
Dhid-roccat.c145 return POLLIN | POLLRDNORM; in roccat_poll()
Dhidraw.c263 return POLLIN | POLLRDNORM; in hidraw_poll()
Duhid.c747 return POLLIN | POLLRDNORM; in uhid_char_poll()
Dhid-sensor-custom.c717 mask = POLLIN | POLLRDNORM; in hid_sensor_custom_poll()
Dhid-debug.c1186 return POLLIN | POLLRDNORM; in hid_debug_events_poll()
/linux-4.4.14/drivers/media/i2c/
Dsaa6588.c416 a->result |= POLLIN | POLLRDNORM; in saa6588_ioctl()
/linux-4.4.14/fs/ecryptfs/
Dmiscdev.c62 mask |= POLLIN | POLLRDNORM; in ecryptfs_miscdev_poll()
/linux-4.4.14/sound/core/
Dcompress_offload.c377 return POLLIN | POLLRDNORM; in snd_compr_get_poll()
421 retval = POLLIN | POLLRDNORM | POLLERR; in snd_compr_poll()
Dinfo.c217 mask |= POLLIN | POLLRDNORM; in snd_info_entry_poll()
/linux-4.4.14/Documentation/networking/
Dnetlink_mmap.txt251 pfds[0].events = POLLIN | POLLERR;
262 if (!(pfds[0].revents & POLLIN))
Drds.txt124 POLLIN handling is pretty straightforward. When there's an
126 we signal POLLIN.
/linux-4.4.14/drivers/misc/mic/scif/
Dscif_api.c1341 mask |= POLLIN; in __scif_pollfd()
1348 if (poll_requested_events(wait) & POLLIN) in __scif_pollfd()
1356 mask |= POLLIN; in __scif_pollfd()
/linux-4.4.14/drivers/rtc/
Drtc-dev.c215 return (data != 0) ? (POLLIN | POLLRDNORM) : 0; in rtc_dev_poll()
/linux-4.4.14/drivers/platform/goldfish/
Dgoldfish_pipe.c429 mask |= POLLIN | POLLRDNORM; in goldfish_pipe_poll()
/linux-4.4.14/net/dccp/
Dproto.c331 mask |= POLLIN | POLLRDNORM | POLLRDHUP; in dccp_poll()
336 mask |= POLLIN | POLLRDNORM; in dccp_poll()
/linux-4.4.14/fs/cachefiles/
Ddaemon.c303 mask |= POLLIN; in cachefiles_daemon_poll()
/linux-4.4.14/drivers/staging/media/lirc/
Dlirc_parallel.c458 return POLLIN | POLLRDNORM; in lirc_poll()
Dlirc_sir.c197 return POLLIN | POLLRDNORM; in lirc_poll()
/linux-4.4.14/drivers/media/radio/wl128x/
Dfmdrv_v4l2.c119 return POLLIN | POLLRDNORM; in fm_v4l2_fops_poll()
/linux-4.4.14/drivers/staging/most/aim-cdev/
Dcdev.c289 mask |= POLLIN | POLLRDNORM; in aim_poll()
/linux-4.4.14/drivers/gpu/drm/
Ddrm_fops.c573 mask |= POLLIN | POLLRDNORM; in drm_poll()
/linux-4.4.14/tools/perf/
Dbuiltin-top.c439 struct pollfd stdin_poll = { .fd = 0, .events = POLLIN }; in perf_top__handle_keypress()
614 struct pollfd stdin_poll = { .fd = 0, .events = POLLIN }; in display_thread()
/linux-4.4.14/drivers/media/pci/saa7164/
Dsaa7164-encoder.c933 if (!(req_events & (POLLIN | POLLRDNORM))) in fops_poll()
947 mask |= POLLIN | POLLRDNORM; in fops_poll()
Dsaa7164-vbi.c658 mask |= POLLIN | POLLRDNORM; in fops_poll()
/linux-4.4.14/drivers/media/pci/ivtv/
Divtv-fileops.c779 (req_events & (POLLIN | POLLRDNORM))) { in ivtv_v4l2_enc_poll()
802 return res | POLLIN | POLLRDNORM; in ivtv_v4l2_enc_poll()
/linux-4.4.14/fs/ocfs2/dlmfs/
Ddlmfs.c233 event = POLLIN | POLLRDNORM; in dlmfs_file_poll()
/linux-4.4.14/drivers/usb/core/
Ddevices.c658 return POLLIN | POLLRDNORM; in usb_device_poll()
/linux-4.4.14/drivers/input/misc/
Dhp_sdc_rtc.c417 return POLLIN | POLLRDNORM; in hp_sdc_rtc_poll()
Duinput.c563 return POLLIN | POLLRDNORM; in uinput_poll()
/linux-4.4.14/drivers/staging/most/aim-v4l2/
Dvideo.c222 mask |= POLLIN | POLLRDNORM; in aim_vdev_poll()
/linux-4.4.14/fs/dlm/
Dplock.c474 mask = POLLIN | POLLRDNORM; in dev_poll()
Duser.c898 return POLLIN | POLLRDNORM; in device_poll()
/linux-4.4.14/drivers/xen/xenbus/
Dxenbus_dev_frontend.c595 return POLLIN | POLLRDNORM; in xenbus_file_poll()
/linux-4.4.14/drivers/media/usb/hdpvr/
Dhdpvr-video.c522 if (!(req_events & (POLLIN | POLLRDNORM))) in hdpvr_poll()
547 mask |= POLLIN | POLLRDNORM; in hdpvr_poll()
/linux-4.4.14/net/unix/
Daf_unix.c2646 mask |= POLLRDHUP | POLLIN | POLLRDNORM; in unix_poll()
2650 mask |= POLLIN | POLLRDNORM; in unix_poll()
2682 mask |= POLLRDHUP | POLLIN | POLLRDNORM; in unix_dgram_poll()
2688 mask |= POLLIN | POLLRDNORM; in unix_dgram_poll()
/linux-4.4.14/drivers/misc/
Dphantom.c270 mask = POLLIN | POLLRDNORM; in phantom_poll()
Dhpilo.c527 return POLLIN | POLLRDNORM; in ilo_poll()
/linux-4.4.14/drivers/char/pcmcia/
Dcm4040_cs.c426 mask |= POLLIN | POLLRDNORM; in cm4040_poll()
/linux-4.4.14/drivers/misc/cxl/
Dfile.c305 mask |= POLLIN | POLLRDNORM; in afu_poll()
/linux-4.4.14/drivers/s390/char/
Dmonreader.c439 return POLLIN | POLLRDNORM; in mon_poll()
/linux-4.4.14/drivers/s390/block/
Ddasd_eer.c660 mask = POLLIN | POLLRDNORM ; in dasd_eer_poll()
/linux-4.4.14/drivers/media/usb/pvrusb2/
Dpvrusb2-v4l2.c1170 mask |= POLLIN | POLLRDNORM; in pvr2_v4l2_poll()
1182 mask |= POLLIN | POLLRDNORM; in pvr2_v4l2_poll()
/linux-4.4.14/drivers/net/
Dmacvtap.c398 wake_up_interruptible_poll(sk_sleep(&q->sk), POLLIN | POLLRDNORM | POLLRDBAND); in macvtap_handle_frame()
585 mask |= POLLIN | POLLRDNORM; in macvtap_poll()
/linux-4.4.14/arch/cris/arch-v10/drivers/
Dgpio.c175 mask = POLLIN|POLLRDNORM; in gpio_poll()
Dsync_serial.c671 mask |= POLLIN | POLLRDNORM; in sync_serial_poll()
677 mask & POLLIN ? "POLLIN" : ""); in sync_serial_poll()
/linux-4.4.14/drivers/usb/misc/
Dldusb.c431 mask |= POLLIN | POLLRDNORM; in ld_usb_poll()
Dlegousbtower.c525 mask |= POLLIN | POLLRDNORM; in tower_poll()
Diowarrior.c705 mask |= POLLIN | POLLRDNORM; in iowarrior_poll()
/linux-4.4.14/drivers/firewire/
Dnosy.c339 ret = POLLIN | POLLRDNORM; in nosy_poll()
/linux-4.4.14/kernel/events/
Dring_buffer.c22 atomic_set(&handle->rb->poll, POLLIN); in perf_output_wakeup()
/linux-4.4.14/drivers/media/common/saa7146/
Dsaa7146_fops.c355 return res | POLLIN | POLLRDNORM; in __fops_poll()
/linux-4.4.14/fs/notify/inotify/
Dinotify_user.c120 ret = POLLIN | POLLRDNORM; in inotify_poll()
/linux-4.4.14/drivers/virt/
Dfsl_hypervisor.c581 mask = (dbq->head == dbq->tail) ? 0 : (POLLIN | POLLRDNORM); in fsl_hv_poll()
/linux-4.4.14/drivers/hsi/clients/
Dcmt_speech.c1135 ret = POLLIN | POLLRDNORM; in cs_char_poll()
1137 ret = POLLIN | POLLRDNORM; in cs_char_poll()
/linux-4.4.14/net/iucv/
Daf_iucv.c1449 return POLLIN | POLLRDNORM; in iucv_accept_poll()
1478 mask |= POLLIN | POLLRDNORM; in iucv_sock_poll()
1484 mask |= POLLIN; in iucv_sock_poll()
/linux-4.4.14/drivers/media/rc/
Dlirc_dev.c562 ret = POLLIN | POLLRDNORM; in lirc_dev_fop_poll()
/linux-4.4.14/drivers/staging/android/
Dsync.c554 return POLLIN; in sync_fence_poll()
/linux-4.4.14/drivers/staging/comedi/drivers/
Dserial2002.c133 if (mask & (POLLRDNORM | POLLRDBAND | POLLIN | in serial2002_tty_read_poll_wait()
/linux-4.4.14/net/rxrpc/
Daf_rxrpc.c600 mask |= POLLIN | POLLRDNORM; in rxrpc_poll()
/linux-4.4.14/drivers/char/xillybus/
Dxillybus_core.c1759 mask |= POLLIN | POLLRDNORM; in xillybus_poll()
1767 mask |= POLLIN | POLLRDNORM; in xillybus_poll()
/linux-4.4.14/net/tipc/
Dsocket.c648 mask |= (POLLIN | POLLRDNORM); in tipc_poll()
651 mask = (POLLIN | POLLRDNORM | POLLHUP); in tipc_poll()
1517 wake_up_interruptible_sync_poll(&wq->wait, POLLIN | in tipc_data_ready()
/linux-4.4.14/drivers/staging/rdma/ipath/
Dipath_file_ops.c1365 pollflag |= POLLIN | POLLRDNORM; in ipath_poll_hdrqfull()
1386 pollflag |= POLLIN | POLLRDNORM; in ipath_poll_urgent()
1423 pollflag |= POLLIN | POLLRDNORM; in ipath_poll_next()
/linux-4.4.14/drivers/media/common/siano/
Dsmsdvb-debugfs.c388 rc = POLLIN | POLLRDNORM; in smsdvb_stats_poll()
/linux-4.4.14/Documentation/usb/
Dgadget_printer.txt205 fd[0].events = POLLIN | POLLRDNORM;
/linux-4.4.14/net/phonet/
Dsocket.c352 mask |= POLLIN | POLLRDNORM; in pn_socket_poll()
/linux-4.4.14/drivers/uio/
Duio.c501 return POLLIN | POLLRDNORM; in uio_poll()
/linux-4.4.14/fs/notify/fanotify/
Dfanotify_user.c249 ret = POLLIN | POLLRDNORM; in fanotify_poll()
/linux-4.4.14/drivers/char/ipmi/
Dipmi_devintf.c92 mask |= (POLLIN | POLLRDNORM); in ipmi_poll()
Dipmi_watchdog.c897 mask |= (POLLIN | POLLRDNORM); in ipmi_poll()
/linux-4.4.14/drivers/misc/vmw_vmci/
Dvmci_host.c184 mask = POLLIN; in vmci_host_poll()
/linux-4.4.14/arch/x86/kernel/cpu/mcheck/
Dmce.c1904 return POLLIN | POLLRDNORM; in mce_chrdev_poll()
1906 return POLLIN | POLLRDNORM; in mce_chrdev_poll()
/linux-4.4.14/arch/cris/arch-v32/drivers/
Dsync_serial.c587 mask |= POLLIN | POLLRDNORM; in sync_serial_poll()
594 mask & POLLIN ? "POLLIN" : ""); in sync_serial_poll()
/linux-4.4.14/drivers/media/usb/tm6000/
Dtm6000-video.c1463 return res | POLLIN | POLLRDNORM; in __tm6000_poll()
1464 } else if (req_events & (POLLIN | POLLRDNORM)) { in __tm6000_poll()
/linux-4.4.14/drivers/android/
Dbinder.c2612 return POLLIN; in binder_poll()
2615 return POLLIN; in binder_poll()
2618 return POLLIN; in binder_poll()
2621 return POLLIN; in binder_poll()
/linux-4.4.14/drivers/usb/gadget/function/
Df_hid.c338 ret |= POLLIN | POLLRDNORM; in f_hidg_poll()
/linux-4.4.14/drivers/hid/usbhid/
Dhiddev.c440 return POLLIN | POLLRDNORM; in hiddev_poll()
/linux-4.4.14/drivers/gpu/vga/
Dvgaarb.c1173 return POLLIN; in vga_arb_fpoll()
/linux-4.4.14/kernel/printk/
Dprintk.c783 ret = POLLIN|POLLRDNORM|POLLERR|POLLPRI; in devkmsg_poll()
785 ret = POLLIN|POLLRDNORM; in devkmsg_poll()
/linux-4.4.14/drivers/staging/rdma/hfi1/
Dfile_ops.c1385 pollflag = POLLIN | POLLRDNORM; in poll_urgent()
1411 pollflag = POLLIN | POLLRDNORM; in poll_next()
/linux-4.4.14/net/netlink/
Daf_netlink.c699 if ((mask & (POLLIN | POLLRDNORM)) != (POLLIN | POLLRDNORM)) { in netlink_poll()
703 mask |= POLLIN | POLLRDNORM; in netlink_poll()
/linux-4.4.14/drivers/input/
Dmousedev.c764 mask |= POLLIN | POLLRDNORM; in mousedev_poll()
Djoydev.c433 return (joydev_data_pending(client) ? (POLLIN | POLLRDNORM) : 0) | in joydev_poll()
/linux-4.4.14/net/atm/
Dcommon.c668 mask |= POLLIN | POLLRDNORM; in vcc_poll()
/linux-4.4.14/net/caif/
Dcaif_socket.c954 mask |= POLLIN | POLLRDNORM; in caif_poll()
/linux-4.4.14/block/
Dbsg.c857 mask |= POLLIN | POLLRDNORM; in bsg_poll()
/linux-4.4.14/net/rfkill/
Dcore.c1092 res = POLLIN | POLLRDNORM; in rfkill_fop_poll()
/linux-4.4.14/drivers/infiniband/hw/qib/
Dqib_file_ops.c1116 pollflag = POLLIN | POLLRDNORM; in qib_poll_urgent()
1142 pollflag = POLLIN | POLLRDNORM; in qib_poll_next()

12