Lines Matching refs:tx
38 struct verbs_txreq *tx; in get_txreq() local
41 tx = kmem_cache_alloc(dev->verbs_txreq_cache, VERBS_TXREQ_GFP); in get_txreq()
42 if (unlikely(!tx)) { in get_txreq()
44 tx = __get_txreq(dev, qp); in get_txreq()
45 if (!tx) in get_txreq()
46 return tx; in get_txreq()
48 tx->qp = qp; in get_txreq()
49 tx->mr = NULL; in get_txreq()
50 tx->sde = priv->s_sde; in get_txreq()
51 tx->psc = priv->s_sendcontext; in get_txreq()
53 tx->txreq.num_desc = 0; in get_txreq()
55 tx->phdr.hdr.hdr_type = priv->hdr_type; in get_txreq()
56 tx->txreq.flags = 0; in get_txreq()
57 return tx; in get_txreq()
75 void hfi1_put_txreq(struct verbs_txreq *tx);