Lines Matching full:tx_desc
187 * @tx_desc: iser tx descriptor
196 struct iser_tx_desc *tx_desc) in iser_initialize_task_headers() argument
206 dma_addr = ib_dma_map_single(device->ib_device, (void *)tx_desc, in iser_initialize_task_headers()
211 tx_desc->inv_wr.next = NULL; in iser_initialize_task_headers()
212 tx_desc->reg_wr.wr.next = NULL; in iser_initialize_task_headers()
213 tx_desc->mapped = true; in iser_initialize_task_headers()
214 tx_desc->dma_addr = dma_addr; in iser_initialize_task_headers()
215 tx_desc->tx_sg[0].addr = tx_desc->dma_addr; in iser_initialize_task_headers()
216 tx_desc->tx_sg[0].length = ISER_HEADERS_LEN; in iser_initialize_task_headers()
217 tx_desc->tx_sg[0].lkey = device->pd->local_dma_lkey; in iser_initialize_task_headers()
367 struct iser_tx_desc *tx_desc = &iser_task->desc; in iscsi_iser_cleanup_task() local
375 if (likely(tx_desc->mapped)) { in iscsi_iser_cleanup_task()
376 ib_dma_unmap_single(device->ib_device, tx_desc->dma_addr, in iscsi_iser_cleanup_task()
378 tx_desc->mapped = false; in iscsi_iser_cleanup_task()