Home
last modified time | relevance | path

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

12

/linux-4.1.27/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.1.27/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.1.27/include/uapi/asm-generic/
Dpoll.h5 #define POLLIN 0x0001 macro
/linux-4.1.27/drivers/vfio/
Dvirqfd.c51 if (flags & POLLIN) { in virqfd_wakeup()
175 if (events & POLLIN) { in vfio_virqfd_enable()
/linux-4.1.27/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.c453 wake_up_interruptible_sync_poll(&pipe->wait, POLLIN | POLLRDNORM); in pipe_write()
464 wake_up_interruptible_sync_poll(&pipe->wait, POLLIN | POLLRDNORM); in pipe_write()
513 mask = (nrbufs > 0) ? POLLIN | POLLRDNORM : 0; in pipe_poll()
558 …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.c22 unsigned res = POLLIN | POLLRDNORM; in mounts_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.1.27/fs/proc/
Dkmsg.c46 return POLLIN | POLLRDNORM; in kmsg_poll()
/linux-4.1.27/Documentation/mic/mpssd/
Dmpssd.c480 pollfd.events = POLLIN; in wait_for_card_driver()
550 net_poll[NET_FD_VIRTIO_NET].events = POLLIN; in virtio_net()
552 net_poll[NET_FD_TUN].events = POLLIN; in virtio_net()
585 if (net_poll[NET_FD_TUN].revents & POLLIN) { in virtio_net()
643 if (net_poll[NET_FD_VIRTIO_NET].revents & POLLIN) { in virtio_net()
764 console_poll[MONITOR_FD].events = POLLIN; in virtio_console()
767 console_poll[VIRTIO_CONSOLE_FD].events = POLLIN; in virtio_console()
794 if (console_poll[MONITOR_FD].revents & POLLIN) { in virtio_console()
836 if (console_poll[VIRTIO_CONSOLE_FD].revents & POLLIN) { in virtio_console()
1170 block_poll.events = POLLIN; in virtio_block()
[all …]
/linux-4.1.27/tools/virtio/virtio-trace/
Dtrace-agent-ctl.c57 poll_fd.events = POLLIN; in wait_order()
/linux-4.1.27/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.1.27/net/rds/
Daf_rds.c189 mask |= (POLLIN | POLLRDNORM | POLLWRBAND); in rds_poll()
193 mask |= (POLLIN | POLLRDNORM); in rds_poll()
198 mask |= (POLLIN | POLLRDNORM); in rds_poll()
/linux-4.1.27/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.1.27/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.1.27/arch/x86/um/
Duser-offsets.c87 DEFINE(UM_POLLIN, POLLIN); in foo()
/linux-4.1.27/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.1.27/include/linux/
Dpoll.h24 #define DEFAULT_POLLMASK (POLLIN | POLLOUT | POLLRDNORM | POLLWRNORM)
/linux-4.1.27/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.c760 kill_fasync(&ctx->ibox_fasync, SIGIO, POLLIN); in spufs_ibox_callback()
845 mask = ctx->ops->mbox_stat_poll(ctx, POLLIN | POLLRDNORM); in spufs_ibox_poll()
1599 mask |= POLLIN; in spufs_mfc_callback()
1818 mask |= POLLIN | POLLRDNORM; in spufs_mfc_poll()
2583 mask |= POLLIN; in spufs_switch_log_poll()
/linux-4.1.27/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.1.27/arch/um/os-Linux/
Dsigio.c251 .events = POLLIN, in setup_initial_poll()
355 .events = read ? POLLIN : POLLOUT, in sigio_broken()
/linux-4.1.27/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.1.27/drivers/tty/
Dn_tty.c1180 wake_up_interruptible_poll(&tty->read_wait, POLLIN); in n_tty_receive_break()
1239 wake_up_interruptible_poll(&tty->read_wait, POLLIN); in n_tty_receive_parity_error()
1382 wake_up_interruptible_poll(&tty->read_wait, POLLIN); in n_tty_receive_char_special()
1668 wake_up_interruptible_poll(&tty->read_wait, POLLIN); in __receive_buf()
2465 mask |= POLLIN | POLLRDNORM; in n_tty_poll()
2469 mask |= POLLIN | POLLRDNORM; in n_tty_poll()
2472 mask |= POLLPRI | POLLIN | POLLRDNORM; in n_tty_poll()
2477 if (!(mask & (POLLHUP | POLLIN | POLLRDNORM))) { in n_tty_poll()
Dpty.c344 wake_up_interruptible_poll(&tty->link->read_wait, POLLIN); in pty_start()
357 wake_up_interruptible_poll(&tty->link->read_wait, POLLIN); in pty_stop()
Dtty_ldisc.c683 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.c441 return POLLIN | POLLOUT | POLLERR | POLLHUP | POLLRDNORM | POLLWRNORM; in hung_up_tty_poll()
1827 wake_up_poll(&tty->read_wait, POLLIN); in tty_release()
1837 wake_up_poll(&o_tty->read_wait, POLLIN); in tty_release()
Dn_r3964.c1235 result |= POLLIN | POLLRDNORM; in r3964_poll()
/linux-4.1.27/Documentation/connector/
Ducon.c205 pfd.events = POLLIN; in main()
/linux-4.1.27/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.1.27/sound/firewire/bebob/
Dbebob_hwdep.c66 events = POLLIN | POLLRDNORM; in hwdep_poll()
/linux-4.1.27/sound/firewire/dice/
Ddice-hwdep.c65 events = POLLIN | POLLRDNORM; in hwdep_poll()
/linux-4.1.27/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.1.27/sound/core/seq/oss/
Dseq_oss_rw.c207 mask |= POLLIN | POLLRDNORM; in snd_seq_oss_poll()
/linux-4.1.27/drivers/misc/mic/host/
Dmic_fops.c148 mask = POLLIN | POLLOUT; in mic_poll()
/linux-4.1.27/sound/firewire/oxfw/
Doxfw-hwdep.c65 events = POLLIN | POLLRDNORM; in hwdep_poll()
/linux-4.1.27/drivers/iio/
Dindustrialio-event.c69 wake_up_poll(&ev_int->wait, POLLIN); in iio_push_event()
92 events = POLLIN | POLLRDNORM; in iio_event_poll()
Dindustrialio-buffer.c158 return POLLIN | POLLRDNORM; in iio_buffer_poll()
1069 wake_up_interruptible_poll(&buffer->pollq, POLLIN | POLLRDNORM); in iio_push_to_buffer()
/linux-4.1.27/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.1.27/Documentation/timers/
Dhpet_example.c178 pfd.events = POLLIN; in hpet_poll()
/linux-4.1.27/drivers/media/firewire/
Dfiredtv-ci.c212 return POLLIN; in fdtv_ca_io_poll()
/linux-4.1.27/drivers/media/dvb-core/
Ddmxdev.c1101 mask |= (POLLIN | POLLRDNORM | POLLPRI | POLLERR); in dvb_demux_poll()
1104 mask |= (POLLIN | POLLRDNORM | POLLPRI); in dvb_demux_poll()
1194 mask |= (POLLIN | POLLRDNORM | POLLPRI | POLLERR); in dvb_dvr_poll()
1197 mask |= (POLLIN | POLLRDNORM | POLLPRI); in dvb_dvr_poll()
Ddvb_ca_en50221.c1611 mask |= POLLIN; in dvb_ca_en50221_io_poll()
1622 mask |= POLLIN; in dvb_ca_en50221_io_poll()
/linux-4.1.27/tools/iio/
Dgeneric_buffer.c309 .events = POLLIN, in main()
/linux-4.1.27/tools/perf/bench/
Dsched-messaging.c71 struct pollfd pollfd = { .fd = wakefd, .events = POLLIN }; in ready()
/linux-4.1.27/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.1.27/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.1.27/drivers/misc/mei/
Dmain.c567 if (req_events & (POLLIN | POLLRDNORM)) { in mei_poll()
571 mask |= POLLIN | POLLRDNORM; in mei_poll()
Damthif.c386 mask |= POLLIN | POLLRDNORM; in mei_amthif_poll()
/linux-4.1.27/crypto/
Dalgif_aead.c108 wake_up_interruptible_sync_poll(&wq->wait, POLLIN | in aead_wmem_wakeup()
534 mask |= POLLIN | POLLRDNORM; in aead_poll()
Dalgif_skcipher.c247 wake_up_interruptible_sync_poll(&wq->wait, POLLIN | in skcipher_wmem_wakeup()
728 mask |= POLLIN | POLLRDNORM; in skcipher_poll()
/linux-4.1.27/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.1.27/drivers/isdn/divert/
Ddivert_procfs.c130 mask |= POLLIN | POLLRDNORM; in isdn_divert_poll()
/linux-4.1.27/drivers/dma-buf/
Ddma-buf.c150 events = poll_requested_events(poll) & (POLLIN | POLLOUT); in dma_buf_poll()
171 unsigned long pevents = POLLIN; in dma_buf_poll()
/linux-4.1.27/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.1.27/sound/firewire/fireworks/
Dfireworks_hwdep.c164 events = POLLIN | POLLRDNORM; in hwdep_poll()
/linux-4.1.27/tools/hv/
Dhv_vss_daemon.c275 pfd.events = POLLIN; in main()
/linux-4.1.27/drivers/isdn/mISDN/
Dtimerdev.c154 mask |= (POLLIN | POLLRDNORM); in mISDN_poll()
/linux-4.1.27/include/net/
Dinet_connection_sock.h316 (POLLIN | POLLRDNORM) : 0; in inet_csk_listen_poll()
/linux-4.1.27/drivers/isdn/hysdn/
Dhysdn_proclog.c299 mask |= POLLIN | POLLRDNORM; in hysdn_log_poll()
/linux-4.1.27/drivers/media/platform/vivid/
Dvivid-radio-rx.c144 return POLLIN | POLLRDNORM | v4l2_ctrl_poll(file, wait); in vivid_radio_rx_poll()
/linux-4.1.27/drivers/media/v4l2-core/
Dv4l2-mem2mem.c542 if (!(req_events & (POLLOUT | POLLWRNORM | POLLIN | POLLRDNORM))) in v4l2_m2m_poll()
594 rc |= POLLIN | POLLRDNORM; in v4l2_m2m_poll()
Dvideobuf-core.c1132 } else if (req_events & (POLLIN | POLLRDNORM)) { in videobuf_poll_stream()
1160 rc = POLLIN | POLLRDNORM; in videobuf_poll_stream()
Dvideobuf2-core.c2625 if (!V4L2_TYPE_IS_OUTPUT(q->type) && !(req_events & (POLLIN | POLLRDNORM))) in vb2_poll()
2635 (req_events & (POLLIN | POLLRDNORM))) { in vb2_poll()
2687 res | POLLIN | POLLRDNORM; in vb2_poll()
/linux-4.1.27/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.1.27/virt/kvm/
Deventfd.c234 if (flags & POLLIN) { in irqfd_wakeup()
423 if (events & POLLIN) in kvm_irqfd_assign()
/linux-4.1.27/drivers/xen/
Dmcelog.c147 return POLLIN | POLLRDNORM; in xen_mce_chrdev_poll()
Devtchn.c478 mask |= POLLIN | POLLRDNORM; in evtchn_poll()
/linux-4.1.27/drivers/char/
Dgenrtc.c212 return POLLIN | POLLRDNORM; in gen_rtc_poll()
Dmsm_smd_pkt.c230 mask |= POLLIN | POLLRDNORM; in smd_pkt_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.c362 return POLLIN | POLLRDNORM; in hpet_poll()
Dsonypi.c947 return POLLIN | POLLRDNORM; in sonypi_misc_poll()
/linux-4.1.27/drivers/pps/
Dpps.c58 return POLLIN | POLLRDNORM; in pps_cdev_poll()
/linux-4.1.27/drivers/ptp/
Dptp_chardev.c265 return queue_cnt(&ptp->tsevq) ? POLLIN : 0; in ptp_poll()
/linux-4.1.27/arch/powerpc/kernel/
Drtasd.c393 return POLLIN | POLLRDNORM; in rtas_log_poll()
/linux-4.1.27/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()
Dsequencer.c1532 mask |= POLLIN | POLLRDNORM; in sequencer_poll()
/linux-4.1.27/drivers/staging/speakup/
Dspeakup_soft.c292 ret = POLLIN | POLLRDNORM; in softsynth_poll()
/linux-4.1.27/drivers/bluetooth/
Dhci_vhci.c317 return POLLIN | POLLRDNORM; in vhci_poll()
/linux-4.1.27/arch/mips/kernel/
Drtlx.c350 mask |= POLLIN | POLLRDNORM; in file_poll()
/linux-4.1.27/net/batman-adv/
Dicmp_socket.c281 return POLLIN | POLLRDNORM; in batadv_socket_poll()
Ddebugfs.c184 return POLLIN | POLLRDNORM; in batadv_log_poll()
/linux-4.1.27/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.1.27/net/irda/irnet/
Dirnet_ppp.c434 mask |= POLLIN | POLLRDNORM; in irnet_ctrl_poll()
443 mask |= POLLIN | POLLRDNORM; in irnet_ctrl_poll()
/linux-4.1.27/tools/firewire/
Dnosy-dump.c982 pollfds[0].events = POLLIN; in main()
984 pollfds[1].events = POLLIN; in main()
/linux-4.1.27/drivers/media/pci/ttpci/
Dav7110_ca.c243 mask |= (POLLIN | POLLRDNORM); in dvb_ca_poll()
/linux-4.1.27/drivers/media/i2c/
Dsaa6588.c418 a->result |= POLLIN | POLLRDNORM; in saa6588_ioctl()
/linux-4.1.27/drivers/hid/
Dhid-roccat.c145 return POLLIN | POLLRDNORM; in roccat_poll()
Dhidraw.c263 return POLLIN | POLLRDNORM; in hidraw_poll()
Dhid-sensor-custom.c717 mask = POLLIN | POLLRDNORM; in hid_sensor_custom_poll()
Duhid.c747 return POLLIN | POLLRDNORM; in uhid_char_poll()
Dhid-debug.c1186 return POLLIN | POLLRDNORM; in hid_debug_events_poll()
/linux-4.1.27/fs/coda/
Dpsdev.c72 mask |= POLLIN | POLLRDNORM; in coda_psdev_poll()
/linux-4.1.27/fs/ecryptfs/
Dmiscdev.c62 mask |= POLLIN | POLLRDNORM; in ecryptfs_miscdev_poll()
/linux-4.1.27/drivers/input/serio/
Dserio_raw.c252 mask |= POLLIN | POLLRDNORM; in serio_raw_poll()
/linux-4.1.27/sound/core/
Dcompress_offload.c377 return POLLIN | POLLRDNORM; in snd_compr_get_poll()
421 retval = POLLIN | POLLRDNORM | POLLERR; in snd_compr_poll()
Dinfo.c464 mask |= POLLIN | POLLRDNORM; in snd_info_entry_poll()
Dpcm_native.c3217 mask = POLLIN | POLLRDNORM; in snd_pcm_capture_poll()
3224 mask = POLLIN | POLLRDNORM; in snd_pcm_capture_poll()
3229 mask = POLLIN | POLLRDNORM | POLLERR; in snd_pcm_capture_poll()
/linux-4.1.27/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.1.27/drivers/gpu/drm/
Ddrm_fops.c545 mask |= POLLIN | POLLRDNORM; in drm_poll()
/linux-4.1.27/drivers/platform/goldfish/
Dgoldfish_pipe.c429 mask |= POLLIN | POLLRDNORM; in goldfish_pipe_poll()
/linux-4.1.27/drivers/rtc/
Drtc-dev.c215 return (data != 0) ? (POLLIN | POLLRDNORM) : 0; in rtc_dev_poll()
/linux-4.1.27/net/dccp/
Dproto.c331 mask |= POLLIN | POLLRDNORM | POLLRDHUP; in dccp_poll()
336 mask |= POLLIN | POLLRDNORM; in dccp_poll()
/linux-4.1.27/drivers/staging/media/lirc/
Dlirc_parallel.c458 return POLLIN | POLLRDNORM; in lirc_poll()
Dlirc_sir.c197 return POLLIN | POLLRDNORM; in lirc_poll()
/linux-4.1.27/drivers/media/radio/wl128x/
Dfmdrv_v4l2.c119 return POLLIN | POLLRDNORM; in fm_v4l2_fops_poll()
/linux-4.1.27/fs/cachefiles/
Ddaemon.c303 mask |= POLLIN; in cachefiles_daemon_poll()
/linux-4.1.27/tools/perf/
Dbuiltin-top.c433 struct pollfd stdin_poll = { .fd = 0, .events = POLLIN }; in perf_top__handle_keypress()
605 struct pollfd stdin_poll = { .fd = 0, .events = POLLIN }; in display_thread()
/linux-4.1.27/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.1.27/net/unix/
Daf_unix.c2348 mask |= POLLRDHUP | POLLIN | POLLRDNORM; in unix_poll()
2352 mask |= POLLIN | POLLRDNORM; in unix_poll()
2384 mask |= POLLRDHUP | POLLIN | POLLRDNORM; in unix_dgram_poll()
2390 mask |= POLLIN | POLLRDNORM; in unix_dgram_poll()
/linux-4.1.27/fs/ocfs2/dlmfs/
Ddlmfs.c233 event = POLLIN | POLLRDNORM; in dlmfs_file_poll()
/linux-4.1.27/drivers/input/misc/
Dhp_sdc_rtc.c417 return POLLIN | POLLRDNORM; in hp_sdc_rtc_poll()
Duinput.c565 return POLLIN | POLLRDNORM; in uinput_poll()
/linux-4.1.27/drivers/misc/cxl/
Dfile.c263 mask |= POLLIN | POLLRDNORM; in afu_poll()
/linux-4.1.27/drivers/staging/ozwpan/
Dozcdev.c330 ret |= POLLIN | POLLRDNORM; in oz_cdev_poll()
/linux-4.1.27/drivers/usb/core/
Ddevices.c658 return POLLIN | POLLRDNORM; in usb_device_poll()
/linux-4.1.27/drivers/xen/xenbus/
Dxenbus_dev_frontend.c595 return POLLIN | POLLRDNORM; in xenbus_file_poll()
/linux-4.1.27/fs/dlm/
Dplock.c474 mask = POLLIN | POLLRDNORM; in dev_poll()
Duser.c900 return POLLIN | POLLRDNORM; in device_poll()
/linux-4.1.27/drivers/media/usb/hdpvr/
Dhdpvr-video.c522 if (!(req_events & (POLLIN | POLLRDNORM))) in hdpvr_poll()
547 mask |= POLLIN | POLLRDNORM; in hdpvr_poll()
/linux-4.1.27/drivers/net/
Dmacvtap.c349 wake_up_interruptible_poll(sk_sleep(&q->sk), POLLIN | POLLRDNORM | POLLRDBAND); in macvtap_handle_frame()
536 mask |= POLLIN | POLLRDNORM; in macvtap_poll()
/linux-4.1.27/drivers/misc/
Dphantom.c270 mask = POLLIN | POLLRDNORM; in phantom_poll()
Dhpilo.c527 return POLLIN | POLLRDNORM; in ilo_poll()
/linux-4.1.27/drivers/s390/char/
Dmonreader.c439 return POLLIN | POLLRDNORM; in mon_poll()
/linux-4.1.27/drivers/s390/block/
Ddasd_eer.c660 mask = POLLIN | POLLRDNORM ; in dasd_eer_poll()
/linux-4.1.27/drivers/char/pcmcia/
Dcm4040_cs.c426 mask |= POLLIN | POLLRDNORM; in cm4040_poll()
/linux-4.1.27/drivers/media/usb/pvrusb2/
Dpvrusb2-v4l2.c1170 mask |= POLLIN | POLLRDNORM; in pvr2_v4l2_poll()
1182 mask |= POLLIN | POLLRDNORM; in pvr2_v4l2_poll()
/linux-4.1.27/drivers/staging/ft1000/ft1000-usb/
Dft1000_debug.c383 return(POLLIN | POLLRDNORM | POLLPRI); in ft1000_poll_dev()
/linux-4.1.27/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.1.27/fs/notify/inotify/
Dinotify_user.c120 ret = POLLIN | POLLRDNORM; in inotify_poll()
/linux-4.1.27/kernel/events/
Dring_buffer.c22 atomic_set(&handle->rb->poll, POLLIN); in perf_output_wakeup()
/linux-4.1.27/drivers/virt/
Dfsl_hypervisor.c581 mask = (dbq->head == dbq->tail) ? 0 : (POLLIN | POLLRDNORM); in fsl_hv_poll()
/linux-4.1.27/drivers/firewire/
Dnosy.c339 ret = POLLIN | POLLRDNORM; in nosy_poll()
/linux-4.1.27/drivers/media/common/saa7146/
Dsaa7146_fops.c355 return res | POLLIN | POLLRDNORM; in __fops_poll()
/linux-4.1.27/drivers/hsi/clients/
Dcmt_speech.c1130 ret = POLLIN | POLLRDNORM; in cs_char_poll()
1132 ret = POLLIN | POLLRDNORM; in cs_char_poll()
/linux-4.1.27/net/iucv/
Daf_iucv.c1450 return POLLIN | POLLRDNORM; in iucv_accept_poll()
1479 mask |= POLLIN | POLLRDNORM; in iucv_sock_poll()
1485 mask |= POLLIN; in iucv_sock_poll()
/linux-4.1.27/net/rxrpc/
Daf_rxrpc.c600 mask |= POLLIN | POLLRDNORM; in rxrpc_poll()
/linux-4.1.27/drivers/usb/misc/
Dlegousbtower.c525 mask |= POLLIN | POLLRDNORM; in tower_poll()
Dldusb.c441 mask |= POLLIN | POLLRDNORM; in ld_usb_poll()
Diowarrior.c705 mask |= POLLIN | POLLRDNORM; in iowarrior_poll()
/linux-4.1.27/drivers/staging/android/
Dsync.c554 return POLLIN; in sync_fence_poll()
/linux-4.1.27/drivers/media/rc/
Dlirc_dev.c562 ret = POLLIN | POLLRDNORM; in lirc_dev_fop_poll()
/linux-4.1.27/drivers/staging/comedi/drivers/
Dserial2002.c133 if (mask & (POLLRDNORM | POLLRDBAND | POLLIN | in serial2002_tty_read_poll_wait()
/linux-4.1.27/drivers/char/xillybus/
Dxillybus_core.c1759 mask |= POLLIN | POLLRDNORM; in xillybus_poll()
1767 mask |= POLLIN | POLLRDNORM; in xillybus_poll()
/linux-4.1.27/drivers/infiniband/hw/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.1.27/net/tipc/
Dsocket.c641 mask |= (POLLIN | POLLRDNORM); in tipc_poll()
644 mask = (POLLIN | POLLRDNORM | POLLHUP); in tipc_poll()
1502 wake_up_interruptible_sync_poll(&wq->wait, POLLIN | in tipc_data_ready()
/linux-4.1.27/drivers/char/ipmi/
Dipmi_devintf.c92 mask |= (POLLIN | POLLRDNORM); in ipmi_poll()
Dipmi_watchdog.c891 mask |= (POLLIN | POLLRDNORM); in ipmi_poll()
/linux-4.1.27/arch/cris/arch-v32/drivers/mach-a3/
Dgpio.c250 mask = POLLIN|POLLRDNORM; in gpio_poll()
/linux-4.1.27/drivers/misc/vmw_vmci/
Dvmci_host.c184 mask = POLLIN; in vmci_host_poll()
/linux-4.1.27/Documentation/usb/
Dgadget_printer.txt205 fd[0].events = POLLIN | POLLRDNORM;
/linux-4.1.27/drivers/uio/
Duio.c501 return POLLIN | POLLRDNORM; in uio_poll()
/linux-4.1.27/net/phonet/
Dsocket.c352 mask |= POLLIN | POLLRDNORM; in pn_socket_poll()
/linux-4.1.27/fs/notify/fanotify/
Dfanotify_user.c249 ret = POLLIN | POLLRDNORM; in fanotify_poll()
/linux-4.1.27/arch/cris/arch-v32/drivers/mach-fs/
Dgpio.c249 mask = POLLIN|POLLRDNORM; in gpio_poll()
/linux-4.1.27/drivers/media/common/siano/
Dsmsdvb-debugfs.c388 rc = POLLIN | POLLRDNORM; in smsdvb_stats_poll()
/linux-4.1.27/drivers/media/usb/tm6000/
Dtm6000-video.c1464 return res | POLLIN | POLLRDNORM; in __tm6000_poll()
1465 } else if (req_events & (POLLIN | POLLRDNORM)) { in __tm6000_poll()
/linux-4.1.27/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.1.27/arch/x86/kernel/cpu/mcheck/
Dmce.c1891 return POLLIN | POLLRDNORM; in mce_chrdev_poll()
1893 return POLLIN | POLLRDNORM; in mce_chrdev_poll()
/linux-4.1.27/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.1.27/drivers/gpu/vga/
Dvgaarb.c1162 return POLLIN; in vga_arb_fpoll()
/linux-4.1.27/drivers/usb/gadget/function/
Df_hid.c338 ret |= POLLIN | POLLRDNORM; in f_hidg_poll()
/linux-4.1.27/drivers/hid/usbhid/
Dhiddev.c440 return POLLIN | POLLRDNORM; in hiddev_poll()
/linux-4.1.27/kernel/printk/
Dprintk.c743 ret = POLLIN|POLLRDNORM|POLLERR|POLLPRI; in devkmsg_poll()
745 ret = POLLIN|POLLRDNORM; in devkmsg_poll()
/linux-4.1.27/drivers/misc/carma/
Dcarma-fpga.c1286 mask |= POLLIN | POLLRDNORM; in data_poll()
/linux-4.1.27/drivers/infiniband/core/
Duverbs_main.c393 pollflags = POLLIN | POLLRDNORM; in ib_uverbs_event_poll()
/linux-4.1.27/net/rfkill/
Dcore.c1078 res = POLLIN | POLLRDNORM; in rfkill_fop_poll()
/linux-4.1.27/drivers/input/
Djoydev.c433 return (joydev_data_pending(client) ? (POLLIN | POLLRDNORM) : 0) | in joydev_poll()
Dmousedev.c764 mask |= POLLIN | POLLRDNORM; in mousedev_poll()
Devdev.c595 mask |= POLLIN | POLLRDNORM; in evdev_poll()
/linux-4.1.27/net/caif/
Dcaif_socket.c957 mask |= POLLIN | POLLRDNORM; in caif_poll()
/linux-4.1.27/block/
Dbsg.c857 mask |= POLLIN | POLLRDNORM; in bsg_poll()
/linux-4.1.27/net/atm/
Dcommon.c668 mask |= POLLIN | POLLRDNORM; in vcc_poll()
/linux-4.1.27/drivers/infiniband/hw/qib/
Dqib_file_ops.c1116 pollflag = POLLIN | POLLRDNORM; in qib_poll_urgent()
1142 pollflag = POLLIN | POLLRDNORM; in qib_poll_next()
/linux-4.1.27/drivers/isdn/i4l/
Disdn_common.c1242 mask |= POLLIN | POLLRDNORM; in isdn_poll()
1255 mask |= POLLIN | POLLRDNORM; in isdn_poll()
/linux-4.1.27/drivers/media/usb/gspca/
Dgspca.c1867 if (req_events & (POLLIN | POLLRDNORM)) { in dev_poll()
1884 ret |= POLLIN | POLLRDNORM; in dev_poll()
/linux-4.1.27/drivers/usb/class/
Dcdc-wdm.c603 mask = POLLIN | POLLRDNORM; in wdm_poll()
/linux-4.1.27/kernel/
Drelay.c914 mask |= POLLIN | POLLRDNORM; in relay_file_poll()
/linux-4.1.27/drivers/macintosh/
Dsmu.c1256 mask |= POLLIN; in smu_fpoll()
/linux-4.1.27/drivers/vhost/
Dnet.c711 vhost_poll_init(n->poll + VHOST_NET_VQ_RX, handle_rx_net, POLLIN, dev); in vhost_net_open()

12