Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/infiniband/ulp/iser/
Diser_initiator.c50 struct iscsi_iser_task *iser_task = task->dd_data; in iser_prepare_read_cmd() local
53 struct iser_hdr *hdr = &iser_task->desc.iser_header; in iser_prepare_read_cmd()
54 struct iser_data_buf *buf_in = &iser_task->data[ISER_DIR_IN]; in iser_prepare_read_cmd()
56 err = iser_dma_map_task_data(iser_task, in iser_prepare_read_cmd()
63 if (edtl > iser_task->data[ISER_DIR_IN].data_len) { in iser_prepare_read_cmd()
66 iser_task->data[ISER_DIR_IN].data_len, edtl, in iser_prepare_read_cmd()
67 task->itt, iser_task->iser_conn); in iser_prepare_read_cmd()
71 err = iser_reg_rdma_mem(iser_task,ISER_DIR_IN); in iser_prepare_read_cmd()
76 regd_buf = &iser_task->rdma_regd[ISER_DIR_IN]; in iser_prepare_read_cmd()
99 struct iscsi_iser_task *iser_task = task->dd_data; in iser_prepare_write_cmd() local
[all …]
Diser_memory.c46 static int iser_start_rdma_unaligned_sg(struct iscsi_iser_task *iser_task, in iser_start_rdma_unaligned_sg() argument
52 struct iser_data_buf *data = &iser_task->data[cmd_dir]; in iser_start_rdma_unaligned_sg()
85 sg_init_one(&iser_task->data_copy[cmd_dir].sg_single, mem, cmd_data_len); in iser_start_rdma_unaligned_sg()
86 iser_task->data_copy[cmd_dir].buf = in iser_start_rdma_unaligned_sg()
87 &iser_task->data_copy[cmd_dir].sg_single; in iser_start_rdma_unaligned_sg()
88 iser_task->data_copy[cmd_dir].size = 1; in iser_start_rdma_unaligned_sg()
90 iser_task->data_copy[cmd_dir].copy_buf = mem; in iser_start_rdma_unaligned_sg()
92 dev = iser_task->iser_conn->ib_conn->device->ib_device; in iser_start_rdma_unaligned_sg()
94 &iser_task->data_copy[cmd_dir].sg_single, in iser_start_rdma_unaligned_sg()
100 iser_task->data_copy[cmd_dir].dma_nents = dma_nents; in iser_start_rdma_unaligned_sg()
[all …]
Discsi_iser.c125 struct iscsi_iser_task *iser_task = task->dd_data; in iscsi_iser_pdu_alloc() local
127 task->hdr = (struct iscsi_hdr *)&iser_task->desc.iscsi_header; in iscsi_iser_pdu_alloc()
128 task->hdr_max = sizeof(iser_task->desc.iscsi_header); in iscsi_iser_pdu_alloc()
137 struct iscsi_iser_task *iser_task = task->dd_data; in iser_initialize_task_headers() local
150 iser_task->headers_initialized = 1; in iser_initialize_task_headers()
151 iser_task->iser_conn = iser_conn; in iser_initialize_task_headers()
163 struct iscsi_iser_task *iser_task = task->dd_data; in iscsi_iser_task_init() local
165 if (!iser_task->headers_initialized) in iscsi_iser_task_init()
166 if (iser_initialize_task_headers(task, &iser_task->desc)) in iscsi_iser_task_init()
173 iser_task->command_sent = 0; in iscsi_iser_task_init()
[all …]
Discsi_iser.h360 int iser_dma_map_task_data(struct iscsi_iser_task *iser_task,
365 void iser_dma_unmap_task_data(struct iscsi_iser_task *iser_task);