drain              72 drivers/block/sunvdc.c 	u32			drain;
drain             550 drivers/block/sunvdc.c 	if (unlikely(port->drain)) {
drain            1132 drivers/block/sunvdc.c 	port->drain = 1;
drain            1139 drivers/block/sunvdc.c 	port->drain = 0;
drain             746 drivers/block/xen-blkback/blkback.c 	if (atomic_dec_and_test(&ring->inflight) && atomic_read(&blkif->drain)) {
drain            1065 drivers/block/xen-blkback/blkback.c 	atomic_set(&blkif->drain, 1);
drain            1072 drivers/block/xen-blkback/blkback.c 		if (!atomic_read(&blkif->drain))
drain            1075 drivers/block/xen-blkback/blkback.c 	atomic_set(&blkif->drain, 0);
drain            1237 drivers/block/xen-blkback/blkback.c 	bool drain = false;
drain            1262 drivers/block/xen-blkback/blkback.c 		drain = true;
drain            1343 drivers/block/xen-blkback/blkback.c 	if (drain)
drain             315 drivers/block/xen-blkback/common.h 	atomic_t		drain;
drain             800 drivers/dma/dw/core.c static void dwc_chan_pause(struct dw_dma_chan *dwc, bool drain)
drain             805 drivers/dma/dw/core.c 	dw->suspend_chan(dwc, drain);
drain             825 drivers/dma/dw/core.c static inline void dwc_chan_resume(struct dw_dma_chan *dwc, bool drain)
drain             829 drivers/dma/dw/core.c 	dw->resume_chan(dwc, drain);
drain              32 drivers/dma/dw/dw.c static void dw_dma_suspend_chan(struct dw_dma_chan *dwc, bool drain)
drain              39 drivers/dma/dw/dw.c static void dw_dma_resume_chan(struct dw_dma_chan *dwc, bool drain)
drain              32 drivers/dma/dw/idma32.c static void idma32_suspend_chan(struct dw_dma_chan *dwc, bool drain)
drain              36 drivers/dma/dw/idma32.c 	if (drain)
drain              42 drivers/dma/dw/idma32.c static void idma32_resume_chan(struct dw_dma_chan *dwc, bool drain)
drain              46 drivers/dma/dw/idma32.c 	if (drain)
drain             324 drivers/dma/dw/regs.h 	void	(*suspend_chan)(struct dw_dma_chan *dwc, bool drain);
drain             325 drivers/dma/dw/regs.h 	void	(*resume_chan)(struct dw_dma_chan *dwc, bool drain);
drain             414 drivers/dma/idma64.c static void idma64_chan_deactivate(struct idma64_chan *idma64c, bool drain)
drain             420 drivers/dma/idma64.c 	if (drain)
drain            11082 drivers/infiniband/hw/hfi1/chip.c 	int drain, ret = 0;
drain            11089 drivers/infiniband/hw/hfi1/chip.c 	drain = !is_ax(dd) && is_up;
drain            11091 drivers/infiniband/hw/hfi1/chip.c 	if (drain)
drain            11122 drivers/infiniband/hw/hfi1/chip.c 	if (drain)
drain            1215 drivers/infiniband/hw/hfi1/driver.c 	int i, drain, ret = 0, is_up = 0;
drain            1229 drivers/infiniband/hw/hfi1/driver.c 	drain = !is_ax(dd) && is_up;
drain            1231 drivers/infiniband/hw/hfi1/driver.c 	if (drain)
drain            1247 drivers/infiniband/hw/hfi1/driver.c 	if (drain)
drain            3534 drivers/infiniband/hw/mlx4/qp.c 			      const struct ib_send_wr **bad_wr, bool drain)
drain            3574 drivers/infiniband/hw/mlx4/qp.c 	    !drain) {
drain            3856 drivers/infiniband/hw/mlx4/qp.c 			      const struct ib_recv_wr **bad_wr, bool drain)
drain            3872 drivers/infiniband/hw/mlx4/qp.c 	    !drain) {
drain            4963 drivers/infiniband/hw/mlx5/qp.c 			      const struct ib_send_wr **bad_wr, bool drain)
drain            4989 drivers/infiniband/hw/mlx5/qp.c 		     !drain)) {
drain            5356 drivers/infiniband/hw/mlx5/qp.c 		      const struct ib_recv_wr **bad_wr, bool drain)
drain            5370 drivers/infiniband/hw/mlx5/qp.c 		     !drain)) {
drain             409 drivers/input/keyboard/applespi.c 	bool				drain;
drain             715 drivers/input/keyboard/applespi.c 	if (applespi->drain && !applespi->write_active)
drain             757 drivers/input/keyboard/applespi.c 	if (applespi->drain)
drain            1411 drivers/input/keyboard/applespi.c 		if (applespi->drain) {
drain            1816 drivers/input/keyboard/applespi.c 	applespi->drain = true;
drain            1908 drivers/input/keyboard/applespi.c 	applespi->drain = false;
drain            1321 drivers/media/dvb-frontends/drxk_hard.c 	drain = (p_src[0] << 8) | p_src[1];
drain             819 drivers/media/platform/sti/delta/delta-v4l2.c 	call_dec_op(dec, drain, ctx);
drain             394 drivers/media/platform/sti/delta/delta.h 	int (*drain)(struct delta_ctx *ctx);
drain             311 drivers/net/ethernet/chelsio/cxgb/sge.c 		unsigned long long drain = 1024ULL * p->speed * (p->mtu - 40);
drain             312 drivers/net/ethernet/chelsio/cxgb/sge.c 		do_div(drain, (p->mtu + 50) * 1000);
drain             313 drivers/net/ethernet/chelsio/cxgb/sge.c 		p->drain_bits_per_1024ns = (unsigned int) drain;
drain            2671 drivers/net/ethernet/qlogic/qed/qed_main.c 	.drain = &qed_drain,
drain            1859 drivers/net/ethernet/qlogic/qede/qede_main.c 				rc = edev->ops->common->drain(edev->cdev);
drain             170 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	int sta_id, drain, ret;
drain             176 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	if (sscanf(buf, "%d %d", &sta_id, &drain) != 2)
drain             180 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	if (drain < 0 || drain > 1)
drain             190 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 		ret = iwl_mvm_drain_sta(mvm, mvmsta, drain) ? : count;
drain            1719 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		      bool drain)
drain            1730 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	cmd.station_flags = drain ? cpu_to_le32(STA_FLG_DRAIN_FLOW) : 0;
drain             571 drivers/net/wireless/intel/iwlwifi/mvm/sta.h 		      bool drain);
drain            2116 drivers/scsi/qedf/qedf_io.c 	qed_ops->common->drain(qedf->cdev);
drain            1279 drivers/scsi/qedi/qedi_fw.c 	qedi_ops->common->drain(qedi->cdev);
drain            2622 drivers/soc/fsl/qbman/qman.c 	int orl_empty, drain = 0, ret = 0;
drain            2701 drivers/soc/fsl/qbman/qman.c 			drain = 1;
drain            2758 drivers/soc/fsl/qbman/qman.c 		if (drain || mcr->alterfq.fqs & QM_MCR_FQS_NOTEMPTY) {
drain             274 drivers/staging/fwserial/fwserial.c 		schedule_delayed_work(&port->drain, 0);
drain             700 drivers/staging/fwserial/fwserial.c static int fwtty_tx(struct fwtty_port *port, bool drain)
drain             765 drivers/staging/fwserial/fwserial.c 		if (n == 0 || (!drain && n < WRITER_MINIMUM))
drain             775 drivers/staging/fwserial/fwserial.c 			schedule_delayed_work(&port->drain, delay);
drain             781 drivers/staging/fwserial/fwserial.c 		if (drain && len < WAKEUP_CHARS)
drain             796 drivers/staging/fwserial/fwserial.c 	struct fwtty_port *port = to_port(to_delayed_work(work), drain);
drain            1027 drivers/staging/fwserial/fwserial.c 	cancel_delayed_work_sync(&port->drain);
drain            1105 drivers/staging/fwserial/fwserial.c 		schedule_delayed_work(&port->drain, 1);
drain            2171 drivers/staging/fwserial/fwserial.c 		INIT_DELAYED_WORK(&port->drain, fwtty_drain_tx);
drain             259 drivers/staging/fwserial/fwserial.h 	struct delayed_work	   drain;
drain             122 drivers/staging/media/meson/vdec/vdec.c 	if (codec_ops->drain)
drain             123 drivers/staging/media/meson/vdec/vdec.c 		codec_ops->drain(sess);
drain             720 drivers/staging/media/meson/vdec/vdec.c 	if (codec_ops->drain) {
drain             721 drivers/staging/media/meson/vdec/vdec.c 		codec_ops->drain(sess);
drain             129 drivers/staging/media/meson/vdec/vdec.h 	void (*drain)(struct amvdec_session *sess);
drain             964 include/linux/qed/qed_if.h 	int		(*drain)(struct qed_dev *cdev);
drain              42 include/sound/rawmidi.h 	void (*drain) (struct snd_rawmidi_substream * substream);
drain              54 include/sound/rawmidi.h 	unsigned int drain: 1,	/* drain stage */
drain            2866 mm/page_alloc.c 	struct pcpu_drain *drain;
drain            2868 mm/page_alloc.c 	drain = container_of(work, struct pcpu_drain, work);
drain            2878 mm/page_alloc.c 	drain_local_pages(drain->zone);
drain            2949 mm/page_alloc.c 		struct pcpu_drain *drain = per_cpu_ptr(&pcpu_drain, cpu);
drain            2951 mm/page_alloc.c 		drain->zone = zone;
drain            2952 mm/page_alloc.c 		INIT_WORK(&drain->work, drain_local_pages_wq);
drain            2953 mm/page_alloc.c 		queue_work_on(cpu, mm_percpu_wq, &drain->work);
drain            1829 mm/slub.c      static void put_cpu_partial(struct kmem_cache *s, struct page *page, int drain);
drain            2249 mm/slub.c      static void put_cpu_partial(struct kmem_cache *s, struct page *page, int drain)
drain            2265 mm/slub.c      			if (drain && pobjects > s->cpu_partial) {
drain             168 sound/core/rawmidi.c 	runtime->drain = 0;
drain             198 sound/core/rawmidi.c 	runtime->drain = 1;
drain             210 sound/core/rawmidi.c 	runtime->drain = 0;
drain             213 sound/core/rawmidi.c 		if (substream->ops->drain)
drain             214 sound/core/rawmidi.c 			substream->ops->drain(substream);
drain            1184 sound/core/rawmidi.c 		if (runtime->drain || snd_rawmidi_ready(substream))
drain             368 sound/firewire/oxfw/oxfw-scs1x.c 		.drain   = midi_playback_drain,
drain              82 sound/firewire/tascam/tascam-midi.c 		.drain		= midi_playback_drain,
drain             360 sound/pci/ice1712/ice1724.c 	.drain = vt1724_midi_output_drain,
drain             510 sound/soc/sprd/sprd-pcm-compress.c 		ret = stream->compr_ops->drain(stream->received_total);
drain              49 sound/soc/sprd/sprd-pcm-dma.h 	int (*drain)(int received_total);
drain             142 sound/usb/6fire/midi.c 	.drain = usb6fire_midi_out_drain
drain             208 sound/usb/line6/midi.c 	.drain = line6_midi_output_drain,
drain            1241 sound/usb/midi.c 	.drain = snd_usbmidi_output_drain,