Searched refs:drained (Results 1 - 121 of 121) sorted by relevance

/linux-4.4.14/arch/um/drivers/
H A Dslip_common.h86 int more; /* more data: do not read fd until ibuf has been drained */
/linux-4.4.14/arch/arm/mach-prima2/
H A Dplatsmp.c75 /* make sure write buffer is drained */ sirfsoc_boot_secondary()
/linux-4.4.14/arch/arm/mach-ux500/
H A Dplatsmp.c63 /* make sure write buffer is drained */ wakeup_secondary()
/linux-4.4.14/arch/arm/mach-omap2/
H A Domap-smp.c98 * A barrier is added to ensure that write buffer is drained omap4_boot_secondary()
226 * A barrier is added to ensure that write buffer is drained omap4_smp_prepare_cpus()
H A Domap4-common.c108 * through an async bridge to ensure that data path is properly drained
112 * In MPU case, L3 T2ASYNC FIFO and DDR T2ASYNC FIFO needs to be drained.
/linux-4.4.14/drivers/input/touchscreen/
H A Dzylonite-wm97xx.c96 /* When the AC97 queue has been drained we need to allow time wm97xx_acc_pen_down()
H A Dmainstone-wm97xx.c130 /* When the AC97 queue has been drained we need to allow time wm97xx_acc_pen_down()
/linux-4.4.14/fs/dlm/
H A Drequestqueue.c57 * upon receiving a message, will wait for all saved messages to be drained
/linux-4.4.14/drivers/staging/rdma/hfi1/
H A Dsdma.c400 int drained = 0; sdma_flush() local
414 drained = atomic_dec_and_test(&wait->sdma_busy); sdma_flush()
416 (*txp->complete)(txp, SDMA_TXREQ_S_ABORTED, drained); sdma_flush()
417 if (wait && drained) sdma_flush()
587 int drained = 0; sdma_flush_descq() local
594 drained = atomic_dec_and_test(&wait->sdma_busy); sdma_flush_descq()
608 drained); sdma_flush_descq()
609 if (wait && drained) sdma_flush_descq()
1492 int drained = 0; sdma_make_progress() local
1499 drained = atomic_dec_and_test(&wait->sdma_busy); sdma_make_progress()
1512 drained); sdma_make_progress()
1513 if (wait && drained) sdma_make_progress()
H A Dverbs.c130 int drained);
823 int drained) verbs_sdma_complete()
838 if (drained) { verbs_sdma_complete()
820 verbs_sdma_complete( struct sdma_txreq *cookie, int status, int drained) verbs_sdma_complete() argument
/linux-4.4.14/include/linux/
H A Dbacking-dev-defs.h230 * Returns whether @wb is unlinked and being drained.
H A Dcgroup-defs.h219 /* dead and being drained, ignore for migration */
/linux-4.4.14/arch/mips/include/asm/ip32/
H A Dmace.h151 * 1 - pulse terminal count to the device after buffer is drained */
/linux-4.4.14/arch/blackfin/include/asm/
H A Ddma.h295 /* Make sure the internal data buffers in the core are drained set_dma_sg()
/linux-4.4.14/drivers/staging/octeon/
H A Dethernet.c115 * FPA 0 may have been drained, try to refill it if we need cvm_oct_rx_refill_worker()
117 * processing will refill it. If it were drained, no packets cvm_oct_rx_refill_worker()
/linux-4.4.14/drivers/scsi/snic/
H A Dsnic_main.c219 * drained. Posted WQ/RQ/Copy-WQ entries are cleanup
808 * CQ entries are drained. Posted WQ/RQ/Copy-WQ entries are snic_remove()
/linux-4.4.14/drivers/net/ethernet/sun/
H A Dsunhme.h127 #define ETX_CFG_IRQDAFTER 0x00000400 /* Interrupt after TX-FIFO drained */
128 #define ETX_CFG_IRQDBEFORE 0x00000000 /* Interrupt before TX-FIFO drained */
/linux-4.4.14/drivers/staging/fwserial/
H A Dfwserial.h219 * limit scheduling when fifo has just been drained.
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
H A Dsta.c371 IWL_DEBUG_INFO(mvm, "Frames for staid %d will drained in fw\n", iwl_mvm_drain_sta()
460 /* This station was removed and we waited until it got drained, iwl_mvm_sta_drained_wk()
466 "Couldn't remove sta %d after it was drained\n", iwl_mvm_sta_drained_wk()
542 * We need to wait until all the frames are drained... iwl_mvm_rm_sta()
H A Dsta.h115 * were drained), so it also needs to be accessible from the Tx response flow.
H A Dmac-ctxt.c272 * drained. Don't touch their queues. iwl_mvm_get_used_hw_queues()
/linux-4.4.14/arch/tile/kernel/
H A Dhardwall.c227 * Note that offline cpus can't be drained when this user network check_rectangle()
358 * The hardwall is only removed after the user network is drained. do_hardwall_trap()
409 * haven't yet drained the network, and that would allow packets do_hardwall_trap()
/linux-4.4.14/drivers/tty/serial/
H A Dioc3_serial.c662 * notification when output has drained. config_port()
1137 * and any bytes pending in the rx construction buffers are not drained do_read()
1146 * the DRAIN will be drained to memory, and any bytes received after do_read()
1147 * the DRAIN will start the TIMER and be drained when it expires. do_read()
1539 * the interrupt until the data is drained. ioc3uart_intr_one()
H A Dioc4_serial.c1385 * notification when output has drained. config_port()
1941 * the interrupt until the data is drained. handle_intr()
2087 * and any bytes pending in the rx construction buffers are not drained do_read()
2096 * the DRAIN will be drained to memory, and any bytes received after do_read()
2097 * the DRAIN will start the TIMER and be drained when it expires. do_read()
H A Dserial_core.c1410 * has completely drained; this is especially uart_close()
H A Dcrisv10.c3640 * has completely drained; this is especially rs_close()
/linux-4.4.14/drivers/usb/serial/
H A Dio_ionsp.h412 #define IOSP_EXT_STATUS_CHASE_PASS 0 // P2 = 0: All Tx data drained successfully
/linux-4.4.14/drivers/input/mouse/
H A Dvmmouse.c139 * communications channel is drained, or if we've processed more than 255
/linux-4.4.14/drivers/net/irda/
H A Dirtty-sir.c71 * i.e. hardware buffers are drained
H A Dsir_dev.c490 * finished sending all data (xmit fifo drained f.e.) sirdev_write_complete()
H A Dnsc-ircc.c2067 /* The Tx FIFO has totally drained out, so now we can change nsc_ircc_fir_interrupt()
/linux-4.4.14/drivers/ata/
H A Dpata_pcmcia.c144 ata_port_warn(ap, "drained %d bytes to clear DRQ\n", count); pcmcia_8bit_drain_fifo()
H A Dpata_ep93xx.c859 ata_port_dbg(ap, "drained %d bytes to clear DRQ.\n", count); ep93xx_pata_drain_fifo()
H A Dsata_rcar.c505 ata_port_dbg(ap, "drained %d bytes to clear DRQ\n", count); sata_rcar_drain_fifo()
H A Dlibata-eh.c964 * other commands are drained.
1037 * all commands are drained.
H A Dlibata-sff.c2180 ata_port_dbg(ap, "drained %d bytes to clear DRQ\n", count); ata_sff_drain_fifo()
H A Dlibata-scsi.c1113 * function checks whether overflow should be drained and ignored
/linux-4.4.14/arch/x86/platform/olpc/
H A Dolpc-xo1-sci.c170 * If propagate_events is false, the queue is drained without events being
/linux-4.4.14/arch/arc/include/asm/
H A Dspinlock.h252 * pipeline is drained, thus a subsequent exclusive access would succeed.
/linux-4.4.14/arch/ia64/sn/kernel/sn2/
H A Dsn2_smp.c107 * PIOs to issue from separate CPUs, thus the PIO writes must be drained
/linux-4.4.14/drivers/media/pci/cx18/
H A Dcx18-ioctl.c758 /* exit when MDL drained or request satisfied */ cx18_process_idx_data()
804 /* We drained this MDL, schedule it to go to the firmware */ cx18_g_enc_index()
H A Dcx18-fileops.c414 mdl->readpos >= mdl->bytesused) /* MDL buffers drained */ cx18_copy_mdl_to_user()
/linux-4.4.14/drivers/net/hyperv/
H A Dnetvsc.c562 * Since we have already drained, we don't need to busy wait netvsc_device_remove()
565 * we have drained - to drain the outgoing packets, we need to netvsc_device_remove()
/linux-4.4.14/fs/nfs/
H A Dnfs4client.c1155 * Either its session is drained (NFSv4.1+), or its transport is
1156 * plugged and drained (NFSv4.0).
/linux-4.4.14/mm/
H A Dswap.c578 * pagevec that is currently being drained. Furthermore, marking __lru_cache_activate_page()
667 * pagevec is drained. This gives a chance for the caller of lru_cache_add()
H A Dmemcontrol.c2036 bool drained = false; try_charge() local
2086 if (!drained) { try_charge()
2088 drained = true; try_charge()
5167 bool drained = false; memory_max_write() local
5189 if (!drained) { memory_max_write()
5191 drained = true; memory_max_write()
H A Dbacking-dev.c355 * be drained no matter what. wb_shutdown()
H A Dpage_alloc.c2874 bool drained = false; __alloc_pages_direct_reclaim() local
2889 if (!page && !drained) { __alloc_pages_direct_reclaim()
2892 drained = true; __alloc_pages_direct_reclaim()
H A Dmigrate.c59 * drained them. Those pages will fail to migrate like other migrate_prep()
H A Dslab.c1295 * Returns -EBUSY if all objects cannot be drained so that the node is not
/linux-4.4.14/drivers/tty/
H A Dpty.c86 * for the pty buffer to be drained.
H A Damiserial.c1417 * has completely drained; this is especially rs_close()
H A Drocket_int.h177 #define DRAINED (TXFIFOMT | TXSHRMT) /* indicates Tx is drained */
H A Dmxser.c1058 * has completely drained; this is especially mxser_close_port()
H A Drocket.c1005 * has completely drained; this is especially rp_close()
/linux-4.4.14/drivers/staging/lustre/lnet/lnet/
H A Drouter_proc.c484 * drained lp_hashlist */ proc_lnet_peers()
/linux-4.4.14/drivers/staging/rdma/ehca/
H A Dehca_irq.c274 case 0x04: /* send queue drained */ parse_identifier()
/linux-4.4.14/drivers/infiniband/ulp/iser/
H A Discsi_iser.h479 * @beacon: beacon send wr to signal all flush errors were drained
/linux-4.4.14/drivers/block/xen-blkback/
H A Dxenbus.c273 /* Make sure everything is drained before shutting down */ xen_blkif_free()
/linux-4.4.14/drivers/char/ipmi/
H A Dipmi_bt_sm.c335 printk("drained %d bytes\n", size + 1); drain_BMC2HOST()
/linux-4.4.14/net/dccp/
H A Dinput.c182 * Until the TX queue has been drained, we can not honour SHUT_WR, since dccp_deliver_input_to_ccids()
H A Dproto.c1005 *reader process may not have drained the data yet! dccp_close()
/linux-4.4.14/arch/sparc/kernel/
H A Dprom_irqtrans.c254 * all pending DMA is drained before the interrupt handler sabre_irq_build()
/linux-4.4.14/drivers/scsi/
H A Dstorvsc_drv.c1146 * Since we have already drained, we don't need to busy wait storvsc_dev_remove()
1149 * we have drained - to drain the outgoing packets, we need to storvsc_dev_remove()
H A D3w-9xxx.c75 2.26.02.011 - Increase max AENs drained to 256.
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/
H A Dhtc_pipe.c438 * when the queue is drained.
475 * queue was drained.
/linux-4.4.14/block/
H A Dblk-core.c390 * Drain requests from @q. If @drain_all is set, all requests are drained.
391 * If not, only ELVPRIV requests are drained. The caller is responsible
392 * for ensuring that no new requests which need to be drained are queued.
430 * be drained. Check all the queues and counters.
485 * Queues start drained. Skip actual draining till init is blk_queue_bypass_start()
/linux-4.4.14/drivers/gpu/drm/vmwgfx/device_include/
H A Dsvga_reg.h951 * drained.
961 * need to guarantee that the FIFO is completely drained. It
/linux-4.4.14/drivers/staging/unisys/visorhba/
H A Dvisorhba_main.c687 /* Stop using the IOVM response queue (queue should be drained visorhba_serverdown_complete()
/linux-4.4.14/drivers/staging/dgnc/
H A Ddgnc_cls.c896 * it gets signalled that the port has fully drained.
H A Ddgnc_neo.c1282 * it gets signalled that the port has fully drained.
H A Ddgnc_tty.c1507 * is data waiting to be transmitted/drained/flushed or not.
/linux-4.4.14/drivers/scsi/fnic/
H A Dfnic_main.c990 * CQ entries are drained. Posted WQ/RQ/Copy-WQ entries are fnic_remove()
/linux-4.4.14/drivers/md/
H A Draid5.h301 R5_Wantdrain, /* dev->towrite needs to be drained */
H A Draid5.c2878 * there will be bios with new data to be drained into the schedule_reconstruction()
/linux-4.4.14/drivers/infiniband/core/
H A Dverbs.c60 [IB_EVENT_SQ_DRAINED] = "send queue drained",
/linux-4.4.14/drivers/media/v4l2-core/
H A Dv4l2-mem2mem.c202 * to be drained before doing streamoff), allow scheduling without v4l2 buffers
/linux-4.4.14/net/ceph/
H A Dmon_client.c1131 * will come from the messenger workqueue, which is drained prior to
/linux-4.4.14/net/sunrpc/xprtrdma/
H A Dverbs.c151 * properly drained.
/linux-4.4.14/sound/core/
H A Dcompress_offload.c776 /* stream can be drained only when next track has been signalled */ snd_compr_partial_drain()
H A Dpcm_native.c1714 break; /* all drained */
/linux-4.4.14/include/trace/events/
H A Drcu.h402 * "Callbacks drained": All callbacks processed, off to dyntick idle!
/linux-4.4.14/net/rds/
H A Dib_recv.c980 /* We expect errors as the qp is drained during shutdown */ rds_ib_recv_cqe_handler()
H A Dib_send.c302 /* We expect errors as the qp is drained during shutdown */ rds_ib_send_cqe_handler()
H A Diw_recv.c803 /* We expect errors as the qp is drained during shutdown */ rds_poll_cq()
H A Diw_send.c286 /* We expect errors as the qp is drained during shutdown */ rds_iw_send_cq_comp_handler()
H A Dsend.c53 * drained the queue).
/linux-4.4.14/net/ipv4/
H A Dtcp.c1405 * connection is not bidirectional, user drained tcp_cleanup_rbuf()
2038 * reader process may not have drained the data yet! tcp_close()
H A Dtcp_output.c866 * Wait until our queues (qdisc + devices) are drained. tcp_wfree()
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/
H A Dlu_object.c560 * drained), and moreover, lookup has to wait until object is freed. htable_lookup()
/linux-4.4.14/drivers/video/fbdev/nvidia/
H A Dnv_hw.c577 p2 = p1clk * bpp / 8; /* bytes drained. */ nv10CalcArbitration()
/linux-4.4.14/drivers/misc/mic/scif/
H A Dscif_nodeqp.c1181 * cannot be drained any further due to this classic deadlock.
/linux-4.4.14/drivers/net/ethernet/adi/
H A Dbfin_mac.c1180 /* make sure the internal data buffers in the core are drained bfin_mac_hard_start_xmit()
/linux-4.4.14/drivers/i2c/busses/
H A Di2c-img-scb.c35 * driver just has to keep the FIFO drained or filled in response to the
/linux-4.4.14/drivers/infiniband/ulp/ipoib/
H A Dipoib_cm.c915 /* Wait for all RX to be drained */ ipoib_cm_dev_stop()
/linux-4.4.14/fs/kernfs/
H A Ddir.c1221 * waits for SUICDED && drained which can happen only after the kernfs_remove_self()
/linux-4.4.14/arch/arm/mm/
H A Dcache-l2x0.c470 * store buffer is not automatically drained.
/linux-4.4.14/sound/oss/dmasound/
H A Ddmasound_core.c600 is drained - and if we get here in time then it does not apply. sq_write()
/linux-4.4.14/kernel/
H A Dworkqueue.c2687 bool drained; for_each_pwq() local
2690 drained = !pwq->nr_active && list_empty(&pwq->delayed_works); for_each_pwq()
2693 if (drained) for_each_pwq()
H A Dcgroup.c457 * files are drained before a css is disassociated with a cgroup, of_css()
5161 * drained; otherwise, "rmdir parent/child parent" may fail.
/linux-4.4.14/drivers/video/fbdev/riva/
H A Driva_hw.c1025 p2 = p1clk * bpp / 8; /* bytes drained. */ nv10CalcArbitration()
/linux-4.4.14/drivers/mtd/devices/
H A Dst_spi_fsm.c787 * present. Furthermore, data can only be drained from the FIFO by reading
/linux-4.4.14/drivers/net/ethernet/sfc/
H A Dnet_driver.h893 * @active_queues: Count of RX and TX queues that haven't been flushed and drained.
/linux-4.4.14/drivers/net/ethernet/broadcom/
H A Dbcmsysport.c1690 /* Wait for a maximum packet size to be drained */ bcm_sysport_stop()
/linux-4.4.14/drivers/char/
H A Drandom.c314 * do this to limit the amount of entropy that can be drained from the
/linux-4.4.14/fs/xfs/
H A Dxfs_file.c639 * DIO will have drained before we are given the xfs_file_aio_write_checks()
/linux-4.4.14/sound/pci/asihpi/
H A Dasihpi.c807 snd_printd(KERN_WARNING "P%d drained\n", snd_pcm_group_for_each_entry()
H A Dhpi.h162 /** State drained - playing stream ran out of data to play. */
/linux-4.4.14/drivers/staging/lustre/lustre/include/
H A Dlustre_net.h816 * ptlrpc_nrs_pol_state::NRS_POL_STATE_STARTED state are drained.
/linux-4.4.14/drivers/isdn/i4l/
H A Disdn_tty.c1588 * has completely drained; this is especially isdn_tty_close()
/linux-4.4.14/drivers/infiniband/ulp/srpt/
H A Dib_srpt.c2187 * @cm_id: Pointer to the CM ID of the channel to be drained.
/linux-4.4.14/fs/
H A Dfs-writeback.c1883 * rescuer as work_list needs to be drained. wb_workfn()
/linux-4.4.14/drivers/staging/dgap/
H A Ddgap.c3215 * is data waiting to be transmitted/drained/flushed or not.
3333 /* Loop until data is drained */ dgap_wait_for_drain()
/linux-4.4.14/drivers/net/wireless/
H A Dmwl8k.c1587 wiphy_notice(hw->wiphy, "tx rings drained\n"); mwl8k_tx_wait_empty()
/linux-4.4.14/arch/tile/include/hv/
H A Dhypervisor.h1774 #define HV_DEVPOLL_FLUSH 0x4 /**< Test device for output drained */
H A Dnetio_intf.h2526 have been drained, and netio_send_packet() and similar routines will
/linux-4.4.14/drivers/block/
H A Dskd_main.c1142 pr_debug("%s:%s:%d Slot drained, starting queue.\n", skd_timer_tick_not_online()
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_main.c9270 * drained to prevent additional scheduling. bnx2x_stop_ptp()
9403 /* stop_ptp should be after the Tx queues are drained to prevent
/linux-4.4.14/drivers/net/wireless/ath/ath10k/
H A Dmac.c3695 /* make sure rcu-protected mac80211 tx path itself is drained */ ath10k_drain_tx()
/linux-4.4.14/drivers/gpu/drm/i915/
H A Dintel_pm.c549 * As the pixel clock runs, the FIFO will be drained at a rate that depends
/linux-4.4.14/kernel/rcu/
H A Dtree.c2727 /* Reset ->qlen_last_fqs_check trigger if enough CBs have drained. */ rcu_do_batch()

Completed in 5579 milliseconds