Home
last modified time | relevance | path

Searched refs:s_iowait (Results 1 – 10 of 10) sorted by relevance

/Linux-v4.19/drivers/infiniband/hw/hfi1/
Dqp.c141 while (!list_empty(&priv->s_iowait.tx_head)) { in flush_tx_list()
145 &priv->s_iowait.tx_head, in flush_tx_list()
158 seqlock_t *lock = priv->s_iowait.lock; in flush_iowait()
163 if (!list_empty(&priv->s_iowait.list)) { in flush_iowait()
164 list_del_init(&priv->s_iowait.list); in flush_iowait()
165 priv->s_iowait.lock = NULL; in flush_iowait()
344 iowait_schedule(&priv->s_iowait, ppd->hfi1_wq, in _hfi1_schedule_send()
358 while (iowait_pio_pending(&priv->s_iowait)) { in qp_pio_drain()
362 iowait_pio_drain(&priv->s_iowait); in qp_pio_drain()
428 if (list_empty(&priv->s_iowait.list)) { in iowait_sleep()
[all …]
Dverbs_txreq.c84 list_del_init(&priv->s_iowait.list); in hfi1_put_txreq()
107 if (list_empty(&priv->s_iowait.list)) { in __get_txreq()
110 list_add_tail(&priv->s_iowait.list, &dev->txwait); in __get_txreq()
111 priv->s_iowait.lock = &dev->txwait_lock; in __get_txreq()
Dverbs_txreq.h110 stx = iowait_get_txhead(&priv->s_iowait); in get_waiting_verbs_txreq()
120 return iowait_packet_queued(&priv->s_iowait); in verbs_txreq_queued()
Dverbs.h160 struct iowait s_iowait; member
250 static inline struct rvt_qp *iowait_to_qp(struct iowait *s_iowait) in iowait_to_qp() argument
254 priv = container_of(s_iowait, struct hfi1_qp_priv, s_iowait); in iowait_to_qp()
Dverbs.c690 list_del_init(&priv->s_iowait.list); in mem_timer()
691 priv->s_iowait.lock = NULL; in mem_timer()
740 &priv->s_iowait.tx_head); in wait_kmem()
741 if (list_empty(&priv->s_iowait.list)) { in wait_kmem()
745 list_add_tail(&priv->s_iowait.list, &dev->memwait); in wait_kmem()
746 priv->s_iowait.lock = &dev->iowait_lock; in wait_kmem()
953 ret = sdma_send_txreq(tx->sde, &priv->s_iowait, &tx->txreq, in hfi1_verbs_send_dma()
1004 &priv->s_iowait.tx_head); in pio_wait()
1005 if (list_empty(&priv->s_iowait.list)) { in pio_wait()
1013 iowait_queue(ps->pkts_sent, &priv->s_iowait, in pio_wait()
[all …]
Dud.c516 if (iowait_sdma_pending(&priv->s_iowait)) { in hfi1_make_ud_req()
554 if (iowait_sdma_pending(&priv->s_iowait)) { in hfi1_make_ud_req()
Duc.c85 if (iowait_sdma_pending(&priv->s_iowait)) { in hfi1_make_uc_req()
Dpio.c1632 list_del_init(&priv->s_iowait.list); in sc_piobufavail()
1633 priv->s_iowait.lock = NULL; in sc_piobufavail()
Druc.c917 iowait_starve_clear(ps.pkts_sent, &priv->s_iowait); in hfi1_do_send()
Drc.c306 if (iowait_sdma_pending(&priv->s_iowait)) { in hfi1_make_rc_req()