Lines Matching refs:cmd_dir

47 					enum iser_data_dir cmd_dir)  in iser_start_rdma_unaligned_sg()  argument
52 struct iser_data_buf *data = &iser_task->data[cmd_dir]; in iser_start_rdma_unaligned_sg()
67 if (cmd_dir == ISER_DIR_OUT) { 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()
94 &iser_task->data_copy[cmd_dir].sg_single, in iser_start_rdma_unaligned_sg()
96 (cmd_dir == ISER_DIR_OUT) ? in iser_start_rdma_unaligned_sg()
100 iser_task->data_copy[cmd_dir].dma_nents = dma_nents; in iser_start_rdma_unaligned_sg()
108 enum iser_data_dir cmd_dir) in iser_finalize_rdma_unaligned_sg() argument
115 mem_copy = &iser_task->data_copy[cmd_dir]; in iser_finalize_rdma_unaligned_sg()
118 (cmd_dir == ISER_DIR_OUT) ? in iser_finalize_rdma_unaligned_sg()
121 if (cmd_dir == ISER_DIR_IN) { in iser_finalize_rdma_unaligned_sg()
145 cmd_data_len = iser_task->data[cmd_dir].data_len; in iser_finalize_rdma_unaligned_sg()
356 enum iser_data_dir cmd_dir) in iser_reg_rdma_mem() argument
362 struct iser_data_buf *mem = &iser_task->data[cmd_dir]; in iser_reg_rdma_mem()
369 regd_buf = &iser_task->rdma_regd[cmd_dir]; in iser_reg_rdma_mem()
383 if (iser_start_rdma_unaligned_sg(iser_task, cmd_dir) != 0) in iser_reg_rdma_mem()
385 mem = &iser_task->data_copy[cmd_dir]; in iser_reg_rdma_mem()