Lines Matching full:tx_desc
91 struct iser_tx_desc *tx_desc = &pdu->desc; in iser_initialize_headers() local
96 dma_addr = ib_dma_map_single(device->ib_device, (void *)tx_desc, in iser_initialize_headers()
103 tx_desc->mapped = true; in iser_initialize_headers()
104 tx_desc->dma_addr = dma_addr; in iser_initialize_headers()
105 tx_desc->tx_sg[0].addr = tx_desc->dma_addr; in iser_initialize_headers()
106 tx_desc->tx_sg[0].length = ISER_HEADERS_LEN; in iser_initialize_headers()
107 tx_desc->tx_sg[0].lkey = device->mr->lkey; in iser_initialize_headers()
487 struct iser_tx_desc *tx_desc = &iser_pdu->desc; in iser_conn_task_done() local
503 if (likely(tx_desc->mapped)) { in iser_conn_task_done()
504 ib_dma_unmap_single(device->ib_device, tx_desc->dma_addr, in iser_conn_task_done()
506 tx_desc->mapped = false; in iser_conn_task_done()