Lines Matching refs:tx
80 struct verbs_txreq *tx; in get_txreq() local
83 tx = kmem_cache_alloc(dev->verbs_txreq_cache, VERBS_TXREQ_GFP); in get_txreq()
84 if (unlikely(!tx)) { in get_txreq()
86 tx = __get_txreq(dev, qp); in get_txreq()
87 if (!tx) in get_txreq()
88 return tx; in get_txreq()
90 tx->qp = qp; in get_txreq()
91 tx->mr = NULL; in get_txreq()
92 tx->sde = priv->s_sde; in get_txreq()
93 tx->psc = priv->s_sendcontext; in get_txreq()
95 tx->txreq.num_desc = 0; in get_txreq()
97 tx->phdr.hdr.hdr_type = priv->hdr_type; in get_txreq()
98 tx->txreq.flags = 0; in get_txreq()
99 return tx; in get_txreq()
102 static inline struct sdma_txreq *get_sdma_txreq(struct verbs_txreq *tx) in get_sdma_txreq() argument
104 return &tx->txreq; in get_sdma_txreq()
122 void hfi1_put_txreq(struct verbs_txreq *tx);