Home
last modified time | relevance | path

Searched refs:iser_task (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/infiniband/ulp/iser/
H A Diser_initiator.c56 err = iser_dma_map_task_data(iser_task, in iser_prepare_read_cmd()
67 mem_reg = &iser_task->rdma_reg[ISER_DIR_IN]; in iser_prepare_read_cmd()
99 err = iser_dma_map_task_data(iser_task, in iser_prepare_write_cmd()
132 iser_task->desc.num_sge = 2; in iser_prepare_write_cmd()
360 data_buf = &iser_task->data[ISER_DIR_IN]; in iser_send_command()
613 if (iser_task->dir[ISER_DIR_IN]) { in iser_check_remote_inv()
619 if (iser_task->dir[ISER_DIR_OUT]) { in iser_check_remote_inv()
715 iser_task->dir[ISER_DIR_IN] = 0; in iser_task_rdma_init()
716 iser_task->dir[ISER_DIR_OUT] = 0; in iser_task_rdma_init()
736 if (iser_task->dir[ISER_DIR_IN]) { in iser_task_rdma_finalize()
[all …]
H A Diser_memory.c76 struct iser_data_buf *data = &iser_task->data[iser_dir]; in iser_dma_map_task_data()
79 iser_task->dir[iser_dir] = 1; in iser_dma_map_task_data()
80 dev = iser_task->iser_conn->ib_conn.device->ib_device; in iser_dma_map_task_data()
88 if (scsi_prot_sg_count(iser_task->sc)) { in iser_dma_map_task_data()
89 struct iser_data_buf *pdata = &iser_task->prot[iser_dir]; in iser_dma_map_task_data()
110 struct iser_data_buf *data = &iser_task->data[iser_dir]; in iser_dma_unmap_task_data()
113 dev = iser_task->iser_conn->ib_conn.device->ib_device; in iser_dma_unmap_task_data()
116 if (scsi_prot_sg_count(iser_task->sc)) { in iser_dma_unmap_task_data()
253 struct iser_tx_desc *tx_desc = &iser_task->desc; in iser_reg_sig_mr()
261 ret = iser_set_sig_attrs(iser_task->sc, sig_attrs); in iser_reg_sig_mr()
[all …]
H A Discsi_iser.c176 struct iscsi_iser_task *iser_task = task->dd_data; in iscsi_iser_pdu_alloc() local
219 iser_task->iser_conn = iser_conn; in iser_initialize_task_headers()
241 iser_task, ret); in iscsi_iser_task_init()
249 iser_task->command_sent = 0; in iscsi_iser_task_init()
250 iser_task_rdma_init(iser_task); in iscsi_iser_task_init()
251 iser_task->sc = task->sc; in iscsi_iser_task_init()
341 if (!iser_task->command_sent) { in iscsi_iser_task_xmit()
345 iser_task->command_sent = 1; in iscsi_iser_task_xmit()
367 struct iser_tx_desc *tx_desc = &iser_task->desc; in iscsi_iser_cleanup_task()
386 iser_task->status = ISER_TASK_STATUS_COMPLETED; in iscsi_iser_cleanup_task()
[all …]
H A Discsi_iser.h526 int iser_dma_map_task_data(struct iscsi_iser_task *iser_task,
530 void iser_dma_unmap_task_data(struct iscsi_iser_task *iser_task,
542 u8 iser_check_task_pi_status(struct iscsi_iser_task *iser_task,
H A Diser_verbs.c889 u8 iser_check_task_pi_status(struct iscsi_iser_task *iser_task, in iser_check_task_pi_status() argument
892 struct iser_mem_reg *reg = &iser_task->rdma_reg[cmd_dir]; in iser_check_task_pi_status()
894 unsigned long sector_size = iser_task->sc->device->sector_size; in iser_check_task_pi_status()
913 *sector = scsi_get_sector(iser_task->sc) + sector_off; in iser_check_task_pi_status()