Home
last modified time | relevance | path

Searched refs:POLLOUT (Results 1 – 129 of 129) sorted by relevance

/linux-4.1.27/drivers/dma-buf/
Ddma-buf.c150 events = poll_requested_events(poll) & (POLLIN | POLLOUT); in dma_buf_poll()
169 if (fence_excl && (!(events & POLLOUT) || shared_count == 0)) { in dma_buf_poll()
174 pevents |= POLLOUT; in dma_buf_poll()
204 if ((events & POLLOUT) && shared_count > 0) { in dma_buf_poll()
211 events &= ~POLLOUT; in dma_buf_poll()
213 dcb->active = POLLOUT; in dma_buf_poll()
216 if (!(events & POLLOUT)) in dma_buf_poll()
229 events &= ~POLLOUT; in dma_buf_poll()
236 events &= ~POLLOUT; in dma_buf_poll()
/linux-4.1.27/arch/m68k/include/uapi/asm/
Dpoll.h4 #define POLLWRNORM POLLOUT
/linux-4.1.27/arch/mips/include/uapi/asm/
Dpoll.h4 #define POLLWRNORM POLLOUT
/linux-4.1.27/arch/xtensa/include/uapi/asm/
Dpoll.h14 #define POLLWRNORM POLLOUT
/linux-4.1.27/arch/frv/include/uapi/asm/
Dpoll.h4 #define POLLWRNORM POLLOUT
/linux-4.1.27/arch/sparc/include/uapi/asm/
Dpoll.h4 #define POLLWRNORM POLLOUT
/linux-4.1.27/include/uapi/asm-generic/
Dpoll.h7 #define POLLOUT 0x0004 macro
/linux-4.1.27/tools/perf/tests/
Dfdarray.c155 FDA_ADD(3, 88, POLLIN | POLLOUT, 4); in test__fdarray__add()
162 FDA_CHECK(3, 88, POLLIN | POLLOUT); in test__fdarray__add()
/linux-4.1.27/fs/
Deventfd.c132 events |= POLLOUT; in eventfd_poll()
165 wake_up_locked_poll(&ctx->wqh, POLLOUT); in eventfd_ctx_remove_wait_queue()
218 wake_up_locked_poll(&ctx->wqh, POLLOUT); in eventfd_ctx_read()
Dpipe.c315 wake_up_interruptible_sync_poll(&pipe->wait, POLLOUT | POLLWRNORM); in pipe_read()
324 wake_up_interruptible_sync_poll(&pipe->wait, POLLOUT | POLLWRNORM); in pipe_read()
519 mask |= (nrbufs < pipe->buffers) ? POLLOUT | POLLWRNORM : 0; in pipe_poll()
558 …wake_up_interruptible_sync_poll(&pipe->wait, POLLIN | POLLOUT | POLLRDNORM | POLLWRNORM | POLLERR … in pipe_release()
Dfcntl.c425 POLLOUT | POLLWRNORM | POLLWRBAND, /* POLL_OUT */
Dselect.c385 #define POLLOUT_SET (POLLWRBAND | POLLWRNORM | POLLOUT | POLLERR)
/linux-4.1.27/net/9p/
Dtrans_fd.c257 ret = (ret & ~POLLOUT) | (n & ~POLLIN); in p9_fd_poll()
503 n = POLLOUT; in p9_write_work()
507 if ((n & POLLOUT) && in p9_write_work()
602 if (n & POLLOUT) { in p9_conn_create()
638 if (n & POLLOUT) { in p9_poll_mux()
677 n = POLLOUT; in p9_fd_request()
681 if (n & POLLOUT && !test_and_set_bit(Wworksched, &m->wsched)) in p9_fd_request()
/linux-4.1.27/arch/x86/um/
Duser-offsets.c89 DEFINE(UM_POLLOUT, POLLOUT); in foo()
/linux-4.1.27/drivers/media/platform/vivid/
Dvivid-radio-tx.c109 return POLLOUT | POLLWRNORM | v4l2_ctrl_poll(file, wait); in vivid_radio_tx_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.c82 if (events & (POLLOUT | POLLWRNORM)) { in spu_hw_mbox_stat_poll()
84 ret = POLLOUT | POLLWRNORM; in spu_hw_mbox_stat_poll()
Dbacking_ops.c114 if (events & (POLLOUT | POLLWRNORM)) { in spu_backing_mbox_stat_poll()
116 ret = POLLOUT | POLLWRNORM; in spu_backing_mbox_stat_poll()
Dfile.c912 kill_fasync(&ctx->wbox_fasync, SIGIO, POLLOUT); in spufs_wbox_callback()
995 mask = ctx->ops->mbox_stat_poll(ctx, POLLOUT | POLLWRNORM); in spufs_wbox_poll()
1597 mask |= POLLOUT; in spufs_mfc_callback()
1816 mask |= POLLOUT | POLLWRNORM; in spufs_mfc_poll()
/linux-4.1.27/net/core/
Dstream.c39 wake_up_interruptible_poll(&wq->wait, POLLOUT | in sk_stream_write_space()
Ddatagram.c786 mask |= POLLOUT | POLLWRNORM | POLLWRBAND; in datagram_poll()
Dsock.c2259 wake_up_interruptible_sync_poll(&wq->wait, POLLOUT | in sock_def_write_space()
/linux-4.1.27/drivers/isdn/hardware/eicon/
Ddivamnt.c123 mask = POLLOUT | POLLWRNORM; in maint_poll()
/linux-4.1.27/sound/core/seq/oss/
Dseq_oss_rw.c213 mask |= POLLOUT | POLLWRNORM; 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/crypto/
Dalgif_aead.c159 wake_up_interruptible_sync_poll(&wq->wait, POLLOUT | in aead_data_wakeup()
537 mask |= POLLOUT | POLLWRNORM | POLLWRBAND; in aead_poll()
Dalgif_skcipher.c297 wake_up_interruptible_sync_poll(&wq->wait, POLLOUT | in skcipher_data_wakeup()
731 mask |= POLLOUT | POLLWRNORM | POLLWRBAND; in skcipher_poll()
/linux-4.1.27/sound/firewire/fireworks/
Dfireworks_hwdep.c169 return events | POLLOUT; in hwdep_poll()
/linux-4.1.27/net/unix/
Daf_unix.c407 POLLOUT | in unix_dgram_peer_wake_disconnect_wakeup()
445 POLLOUT | POLLWRNORM | POLLWRBAND); in unix_write_space()
1965 POLLOUT | POLLWRNORM | POLLWRBAND); in unix_dgram_recvmsg()
2364 mask |= POLLOUT | POLLWRNORM | POLLWRBAND; in unix_poll()
2402 if (!(poll_requested_events(wait) & (POLLWRBAND|POLLWRNORM|POLLOUT))) in unix_dgram_poll()
2419 mask |= POLLOUT | POLLWRNORM | POLLWRBAND; in unix_dgram_poll()
/linux-4.1.27/drivers/media/v4l2-core/
Dv4l2-mem2mem.c542 if (!(req_events & (POLLOUT | POLLWRNORM | POLLIN | POLLRDNORM))) in v4l2_m2m_poll()
585 rc |= POLLOUT | POLLWRNORM; in v4l2_m2m_poll()
Dvideobuf2-core.c2627 if (V4L2_TYPE_IS_OUTPUT(q->type) && !(req_events & (POLLOUT | POLLWRNORM))) in vb2_poll()
2640 (req_events & (POLLOUT | POLLWRNORM))) { in vb2_poll()
2646 return res | POLLOUT | POLLWRNORM; in vb2_poll()
2669 return res | POLLOUT | POLLWRNORM; in vb2_poll()
2686 res | POLLOUT | POLLWRNORM : in vb2_poll()
Dvideobuf-core.c1157 rc = POLLOUT | POLLWRNORM; in videobuf_poll_stream()
/linux-4.1.27/drivers/media/pci/ttpci/
Dav7110_av.c960 mask |= (POLLOUT | POLLWRNORM); in dvb_video_poll()
963 mask |= (POLLOUT | POLLWRNORM); in dvb_video_poll()
1005 mask |= (POLLOUT | POLLWRNORM); in dvb_audio_poll()
1007 mask = (POLLOUT | POLLWRNORM); in dvb_audio_poll()
Dav7110_ca.c246 mask |= (POLLOUT | POLLWRNORM); in dvb_ca_poll()
/linux-4.1.27/sound/oss/
Dmidibuf.c412 mask |= POLLOUT | POLLWRNORM; in MIDIbuf_poll()
Ddmabuf.c1234 return POLLOUT | POLLWRNORM; in poll_output()
1240 return POLLOUT | POLLWRNORM; in poll_output()
1243 return POLLOUT | POLLWRNORM; in poll_output()
Dsequencer.c1537 mask |= POLLOUT | POLLWRNORM; in sequencer_poll()
Dswarm_cs4297a.c1939 mask |= POLLOUT | POLLWRNORM; in cs4297a_poll()
1946 mask |= POLLOUT | POLLWRNORM; in cs4297a_poll()
/linux-4.1.27/drivers/bluetooth/
Dhci_vhci.c319 return POLLOUT | POLLWRNORM; in vhci_poll()
/linux-4.1.27/arch/mips/kernel/
Drtlx.c354 mask |= POLLOUT | POLLWRNORM; in file_poll()
/linux-4.1.27/sound/usb/usx2y/
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/irda/irnet/
Dirnet_ppp.c431 mask = POLLOUT | POLLWRNORM; in irnet_ctrl_poll()
620 mask = POLLOUT | POLLWRNORM; in dev_irnet_poll()
/linux-4.1.27/fs/coda/
Dpsdev.c67 unsigned int mask = POLLOUT | POLLWRNORM; in coda_psdev_poll()
/linux-4.1.27/drivers/char/
Dsnsc.c346 mask |= POLLOUT | POLLWRNORM; in scdrv_poll()
Ddtlk.c251 mask |= POLLOUT | POLLWRNORM; in dtlk_poll()
Ddsp56k.c417 return POLLIN | POLLRDNORM | POLLOUT;
Drandom.c1408 mask |= POLLOUT | POLLWRNORM; in random_poll()
Dvirtio_console.c998 ret |= POLLOUT; in port_fops_poll()
/linux-4.1.27/drivers/input/serio/
Dserio_raw.c250 mask = serio_raw->dead ? POLLHUP | POLLERR : POLLOUT | POLLWRNORM; in serio_raw_poll()
/linux-4.1.27/sound/core/
Dcompress_offload.c375 return POLLOUT | POLLWRNORM; in snd_compr_get_poll()
419 retval = POLLOUT | POLLWRNORM | POLLERR; in snd_compr_poll()
Dinfo.c466 mask |= POLLOUT | POLLWRNORM; in snd_info_entry_poll()
Dpcm_native.c3178 mask = POLLOUT | POLLWRNORM; in snd_pcm_playback_poll()
3186 mask = POLLOUT | POLLWRNORM | POLLERR; in snd_pcm_playback_poll()
Drawmidi.c1383 mask |= POLLOUT | POLLWRNORM; in snd_rawmidi_poll()
/linux-4.1.27/net/vmw_vsock/
Daf_vsock.c881 mask |= POLLOUT | POLLWRNORM | POLLWRBAND; in vsock_poll()
930 mask |= POLLOUT | POLLWRNORM; in vsock_poll()
942 mask |= POLLOUT | POLLWRNORM; in vsock_poll()
/linux-4.1.27/arch/um/os-Linux/
Dsigio.c355 .events = read ? POLLIN : POLLOUT, in sigio_broken()
/linux-4.1.27/drivers/tty/
Dtty_io.c441 return POLLIN | POLLOUT | POLLERR | POLLHUP | POLLRDNORM | POLLWRNORM; in hung_up_tty_poll()
586 wake_up_interruptible_poll(&tty->write_wait, POLLOUT); in tty_wakeup()
1088 wake_up_interruptible_poll(&tty->write_wait, POLLOUT); in tty_write_unlock()
1831 wake_up_poll(&tty->write_wait, POLLOUT); in tty_release()
1841 wake_up_poll(&o_tty->write_wait, POLLOUT); in tty_release()
Dtty_ldisc.c682 wake_up_interruptible_poll(&tty->write_wait, POLLOUT); in tty_ldisc_hangup()
Dn_hdlc.c837 mask |= POLLOUT | POLLWRNORM; /* writable */ in n_hdlc_tty_poll()
Dn_r3964.c1224 int result = POLLOUT; in r3964_poll()
Dn_tty.c2486 mask |= POLLOUT | POLLWRNORM; in n_tty_poll()
Dn_gsm.c2489 mask |= POLLOUT | POLLWRNORM; in gsmld_poll()
/linux-4.1.27/drivers/platform/goldfish/
Dgoldfish_pipe.c432 mask |= POLLOUT | POLLWRNORM; in goldfish_pipe_poll()
/linux-4.1.27/net/dccp/
Dproto.c340 mask |= POLLOUT | POLLWRNORM; in dccp_poll()
351 mask |= POLLOUT | POLLWRNORM; in dccp_poll()
/linux-4.1.27/drivers/xen/
Devtchn.c473 unsigned int mask = POLLOUT | POLLWRNORM; in evtchn_poll()
/linux-4.1.27/net/rds/
Daf_rds.c200 mask |= (POLLOUT | POLLWRNORM); in rds_poll()
/linux-4.1.27/fs/cachefiles/
Ddaemon.c306 mask |= POLLOUT; in cachefiles_daemon_poll()
/linux-4.1.27/Documentation/networking/
Drds.txt128 POLLOUT is a little harder. Since you can essentially send
129 to any destination, RDS will always signal POLLOUT as long as
Dpacket_mmap.txt529 pfd.events = POLLOUT;
Dip-sysctl.txt621 reports POLLOUT events if the amount of unsent bytes is below a per
/linux-4.1.27/arch/cris/arch-v32/drivers/
Dsync_serial.c577 mask |= POLLOUT | POLLWRNORM; in sync_serial_poll()
583 mask |= POLLOUT | POLLWRNORM; in sync_serial_poll()
593 mask & POLLOUT ? "POLLOUT" : "", in sync_serial_poll()
/linux-4.1.27/drivers/net/
Dmacvtap.c457 wake_up_interruptible_poll(wqueue, POLLOUT | POLLWRNORM | POLLWRBAND); in macvtap_sock_write_space()
541 mask |= POLLOUT | POLLWRNORM; in macvtap_poll()
Dtun.c993 mask |= POLLOUT | POLLWRNORM; in tun_chr_poll()
1444 wake_up_interruptible_sync_poll(wqueue, POLLOUT | in tun_sock_write_space()
/linux-4.1.27/net/irda/
Daf_irda.c1775 mask |= POLLOUT | POLLWRNORM | POLLWRBAND; in irda_poll()
1783 mask |= POLLOUT | POLLWRNORM | POLLWRBAND; in irda_poll()
1788 mask |= POLLOUT | POLLWRNORM | POLLWRBAND; in irda_poll()
/linux-4.1.27/drivers/char/pcmcia/
Dcm4040_cs.c428 mask |= POLLOUT | POLLWRNORM; in cm4040_poll()
/linux-4.1.27/net/bluetooth/
Daf_bluetooth.c442 mask |= POLLOUT | POLLWRNORM | POLLWRBAND; in bt_sock_poll()
/linux-4.1.27/drivers/media/common/saa7146/
Dsaa7146_fops.c335 return res | POLLOUT | POLLWRNORM; in __fops_poll()
/linux-4.1.27/arch/cris/arch-v10/drivers/
Dsync_serial.c668 mask |= POLLOUT | POLLWRNORM; in sync_serial_poll()
676 mask & POLLOUT ? "POLLOUT" : "", in sync_serial_poll()
/linux-4.1.27/net/rxrpc/
Daf_rxrpc.c606 mask |= POLLOUT | POLLWRNORM; in rxrpc_poll()
/linux-4.1.27/drivers/usb/misc/
Dlegousbtower.c528 mask |= POLLOUT | POLLWRNORM; in tower_poll()
Dldusb.c443 mask |= POLLOUT | POLLWRNORM; in ld_usb_poll()
Diowarrior.c708 mask |= POLLOUT | POLLWRNORM; in iowarrior_poll()
/linux-4.1.27/tools/testing/selftests/net/
Dpsock_tpacket.c384 pfd.events = POLLOUT | POLLERR; in walk_v1_v2_tx()
/linux-4.1.27/net/ipv4/
Dtcp.c518 mask |= POLLOUT | POLLWRNORM; in tcp_poll()
531 mask |= POLLOUT | POLLWRNORM; in tcp_poll()
534 mask |= POLLOUT | POLLWRNORM; in tcp_poll()
/linux-4.1.27/net/tipc/
Dsocket.c631 mask |= POLLOUT; in tipc_poll()
636 mask |= POLLOUT; in tipc_poll()
1485 wake_up_interruptible_sync_poll(&wq->wait, POLLOUT | in tipc_write_space()
/linux-4.1.27/Documentation/usb/
Dgadget_printer.txt255 fd[0].events = POLLOUT | POLLWRNORM;
/linux-4.1.27/net/phonet/
Dsocket.c361 mask |= POLLOUT | POLLWRNORM | POLLWRBAND; in pn_socket_poll()
/linux-4.1.27/drivers/net/wireless/rt2x00/
Drt2x00debug.c311 return POLLOUT | POLLWRNORM; in rt2x00debug_poll_queue_dump()
/linux-4.1.27/net/nfc/
Dllcp_sock.c573 mask |= POLLOUT | POLLWRNORM | POLLWRBAND; in llcp_sock_poll()
/linux-4.1.27/drivers/usb/gadget/function/
Df_hid.c335 ret |= POLLOUT | POLLWRNORM; in f_hidg_poll()
Df_printer.c709 status |= POLLOUT | POLLWRNORM; in printer_poll()
Df_fs.c593 mask |= POLLOUT; in ffs_ep0_poll()
605 mask |= (POLLIN | POLLOUT); in ffs_ep0_poll()
/linux-4.1.27/net/rfkill/
Dcore.c1072 unsigned int res = POLLOUT | POLLWRNORM; in rfkill_fop_poll()
/linux-4.1.27/net/caif/
Dcaif_socket.c964 mask |= POLLOUT | POLLWRNORM | POLLWRBAND; in caif_poll()
/linux-4.1.27/sound/oss/dmasound/
Ddmasound_core.c686 mask |= POLLOUT | POLLWRNORM; in sq_poll()
/linux-4.1.27/drivers/input/
Dmousedev.c762 mask = mousedev->exist ? POLLOUT | POLLWRNORM : POLLHUP | POLLERR; in mousedev_poll()
Devdev.c590 mask = POLLOUT | POLLWRNORM; in evdev_poll()
/linux-4.1.27/block/
Dbsg.c859 mask |= POLLOUT; in bsg_poll()
/linux-4.1.27/net/atm/
Dcommon.c677 mask |= POLLOUT | POLLWRNORM | POLLWRBAND; in vcc_poll()
/linux-4.1.27/security/tomoyo/
Dcommon.c2459 return head->poll(file, wait) | POLLOUT | POLLWRNORM; in tomoyo_poll_control()
2460 return POLLIN | POLLRDNORM | POLLOUT | POLLWRNORM; in tomoyo_poll_control()
/linux-4.1.27/drivers/usb/class/
Dcdc-wdm.c607 mask |= POLLOUT | POLLWRNORM; in wdm_poll()
Dusblp.c487 ((usblp->no_paper || usblp->wcomplete) ? POLLOUT | POLLWRNORM : 0); in usblp_poll()
/linux-4.1.27/drivers/vhost/
Dnet.c710 vhost_poll_init(n->poll + VHOST_NET_VQ_TX, handle_tx_net, POLLOUT, dev); in vhost_net_open()
/linux-4.1.27/drivers/media/pci/ivtv/
Divtv-fileops.c763 res |= POLLOUT | POLLWRNORM; in ivtv_v4l2_dec_poll()
/linux-4.1.27/drivers/isdn/capi/
Dcapi.c737 mask = POLLOUT | POLLWRNORM; in capi_poll()
/linux-4.1.27/drivers/media/dvb-core/
Ddmxdev.c1199 mask |= (POLLOUT | POLLWRNORM | POLLPRI); in dvb_dvr_poll()
/linux-4.1.27/drivers/scsi/
Dsg.c1168 res |= POLLOUT | POLLWRNORM; in sg_poll()
1170 res |= POLLOUT | POLLWRNORM; in sg_poll()
/linux-4.1.27/drivers/infiniband/core/
Duser_mad.c606 unsigned int mask = POLLOUT | POLLWRNORM; in ib_umad_poll()
/linux-4.1.27/net/sunrpc/
Drpc_pipe.c348 unsigned int mask = POLLOUT | POLLWRNORM; in rpc_pipe_poll()
Dcache.c924 mask = POLLOUT | POLLWRNORM; in cache_poll()
/linux-4.1.27/ipc/
Dmqueue.c534 retval |= POLLOUT | POLLWRNORM; in mqueue_poll_file()
/linux-4.1.27/drivers/char/xillybus/
Dxillybus_core.c1782 mask |= POLLOUT | POLLWRNORM; in xillybus_poll()
/linux-4.1.27/drivers/media/platform/s5p-mfc/
Ds5p_mfc.c971 rc |= POLLOUT | POLLWRNORM; in s5p_mfc_poll()
/linux-4.1.27/Documentation/filesystems/
Dspufs.txt124 Poll on the ibox file returns (POLLOUT | POLLWRNORM) whenever
/linux-4.1.27/drivers/usb/gadget/legacy/
Dinode.c1221 mask = POLLOUT; in ep0_poll()
/linux-4.1.27/drivers/media/pci/ddbridge/
Dddbridge-core.c963 mask |= POLLOUT | POLLWRNORM; in ts_poll()
/linux-4.1.27/drivers/media/radio/
Dradio-wl1273.c1103 return POLLOUT | POLLWRNORM; in wl1273_fm_fops_poll()
/linux-4.1.27/drivers/isdn/i4l/
Disdn_common.c1253 mask = POLLOUT | POLLWRNORM; in isdn_poll()
Disdn_ppp.c712 mask = POLLOUT | POLLWRNORM; in isdn_ppp_poll()
/linux-4.1.27/sound/core/seq/
Dseq_clientmgr.c1120 mask |= POLLOUT | POLLWRNORM; in snd_seq_poll()
/linux-4.1.27/fs/fuse/
Ddev.c2063 unsigned mask = POLLOUT | POLLWRNORM; in fuse_dev_poll()
/linux-4.1.27/net/iucv/
Daf_iucv.c1488 mask |= POLLOUT | POLLWRNORM | POLLWRBAND; in iucv_sock_poll()
/linux-4.1.27/drivers/usb/core/
Ddevio.c2356 mask |= POLLOUT | POLLWRNORM; in usbdev_poll()
/linux-4.1.27/drivers/staging/comedi/
Dcomedi_fops.c2258 mask |= POLLOUT | POLLWRNORM; in comedi_poll()
/linux-4.1.27/drivers/net/ppp/
Dppp_generic.c523 mask = POLLOUT | POLLWRNORM; in ppp_poll()
/linux-4.1.27/net/sctp/
Dsocket.c6475 mask |= POLLOUT | POLLWRNORM; in sctp_poll()
6487 mask |= POLLOUT | POLLWRNORM; in sctp_poll()
/linux-4.1.27/drivers/media/pci/zoran/
Dzoran_driver.c2748 res = POLLOUT | POLLWRNORM; in zoran_poll()
/linux-4.1.27/net/netlink/
Daf_netlink.c697 mask |= POLLOUT | POLLWRNORM; in netlink_poll()
/linux-4.1.27/sound/core/oss/
Dpcm_oss.c2743 mask |= POLLOUT | POLLWRNORM; in snd_pcm_oss_poll()
/linux-4.1.27/net/packet/
Daf_packet.c3709 mask |= POLLOUT | POLLWRNORM; in packet_poll()