Home
last modified time | relevance | path

Searched refs:t_data_nents (Results 1 – 19 of 19) sorted by relevance

/linux/drivers/scsi/ibmvscsi_tgt/
A Dlibsrp.c172 nsg = dma_map_sg(iue->target->dev, sg, cmd->se_cmd.t_data_nents, in srp_direct_data()
176 cmd->se_cmd.t_data_nents); in srp_direct_data()
243 nsg = dma_map_sg(iue->target->dev, sg, cmd->se_cmd.t_data_nents, in srp_indirect_data()
247 cmd->se_cmd.t_data_nents); in srp_indirect_data()
304 if (!cmd->se_cmd.t_data_nents) in srp_transfer_data()
/linux/drivers/target/
A Dtarget_core_sbc.c375 cmd->t_data_nents, in xdreadwrite_callback()
409 return ops->execute_rw(cmd, cmd->t_data_sg, cmd->t_data_nents, in sbc_execute_rw()
540 cmd->t_data_nents, in compare_and_write_callback()
555 if (sg_alloc_table(&write_tbl, cmd->t_data_nents, GFP_KERNEL) < 0) { in compare_and_write_callback()
564 sg_miter_start(&m, cmd->t_data_sg, cmd->t_data_nents, SG_MITER_TO_SG); in compare_and_write_callback()
590 cmd->t_data_nents_orig = cmd->t_data_nents; in compare_and_write_callback()
591 cmd->t_data_nents = 1; in compare_and_write_callback()
A Dtarget_core_transport.c1606 cmd->t_data_nents = sgl_count; in transport_generic_map_mem_to_cmd()
1765 if (se_cmd->t_data_nents != 0) { in target_submit()
2639 cmd->t_data_nents = cmd->t_data_nents_orig; in transport_reset_sgl_orig()
2667 target_free_sgl(cmd->t_data_sg, cmd->t_data_nents); in transport_free_pages()
2669 cmd->t_data_nents = 0; in transport_free_pages()
2687 if (!cmd->t_data_nents) in transport_kmap_data_sg()
2691 if (cmd->t_data_nents == 1) in transport_kmap_data_sg()
2700 for_each_sg(cmd->t_data_sg, sg, cmd->t_data_nents, i) { in transport_kmap_data_sg()
2715 if (!cmd->t_data_nents) { in transport_kunmap_data_sg()
2717 } else if (cmd->t_data_nents == 1) { in transport_kunmap_data_sg()
[all …]
A Dtarget_core_iblock.c503 if (cmd->t_data_nents > 1 || in iblock_execute_write_same()
506 " block_size: %u\n", cmd->t_data_nents, sg->length, in iblock_execute_write_same()
A Dtarget_core_file.c451 if (cmd->t_data_nents > 1 || in fd_execute_write_same()
455 cmd->t_data_nents, in fd_execute_write_same()
A Dtarget_core_xcopy.c555 " %u\n", cmd->t_data_sg, cmd->t_data_nents); in target_xcopy_setup_pt_cmd()
A Dtarget_core_pscsi.c964 u32 sgl_nents = cmd->t_data_nents; in pscsi_execute_cmd()
A Dtarget_core_user.c778 se_cmd->t_data_nents, iov, se_cmd->data_length); in scatter_data_area()
790 data_nents = se_cmd->t_data_nents; in gather_data_area()
/linux/drivers/target/tcm_fc/
A Dtfc_cmd.c44 caller, cmd, se_cmd->t_data_nents, in _ft_dump_cmd()
47 for_each_sg(se_cmd->t_data_sg, sg, se_cmd->t_data_nents, count) in _ft_dump_cmd()
218 se_cmd->t_data_nents)) in ft_write_pending()
A Dtfc_io.c236 se_cmd->t_data_sg, se_cmd->t_data_nents); in ft_recv_write_data()
/linux/drivers/usb/gadget/function/
A Df_tcm.c221 se_cmd->t_data_nents, in bot_send_read_response()
228 fu->bot_req_in->num_sgs = se_cmd->t_data_nents; in bot_send_read_response()
267 fu->bot_req_out->num_sgs = se_cmd->t_data_nents; in bot_send_write_request()
523 se_cmd->t_data_nents, in uasp_prepare_r_request()
530 stream->req_in->num_sgs = se_cmd->t_data_nents; in uasp_prepare_r_request()
967 se_cmd->t_data_nents, in usbg_data_write_cmpl()
993 req->num_sgs = se_cmd->t_data_nents; in usbg_prepare_w_request()
/linux/drivers/infiniband/ulp/isert/
A Dib_isert.c1085 cmd->se_cmd.t_data_nents = 1; in isert_handle_scsi_cmd()
1416 se_cmd->t_data_nents, se_cmd->t_prot_sg, in isert_rdma_rw_ctx_destroy()
1420 se_cmd->t_data_sg, se_cmd->t_data_nents, dir); in isert_rdma_rw_ctx_destroy()
2067 se_cmd->t_data_sg, se_cmd->t_data_nents, in isert_rdma_rw_ctx_post()
2072 se_cmd->t_data_sg, se_cmd->t_data_nents, in isert_rdma_rw_ctx_post()
/linux/drivers/target/iscsi/cxgbit/
A Dcxgbit_ddp.c246 ttinfo->nents = cmd->se_cmd.t_data_nents; in cxgbit_get_r2t_ttt()
A Dcxgbit_target.c890 cmd->se_cmd.t_data_nents = 1; in cxgbit_handle_immediate_data()
/linux/drivers/scsi/elx/efct/
A Defct_lio.c386 cmd->t_data_nents, cmd->data_direction); in efct_lio_sg_map()
450 ocp->seg_cnt = cmd->t_data_nents; in efct_lio_write_pending()
494 ocp->seg_cnt = cmd->t_data_nents; in efct_lio_queue_data_in()
/linux/include/target/
A Dtarget_core_base.h524 unsigned int t_data_nents; member
/linux/drivers/scsi/qla2xxx/
A Dtcm_qla2xxx.c409 cmd->sg_cnt = se_cmd->t_data_nents; in tcm_qla2xxx_write_pending()
675 cmd->sg_cnt = se_cmd->t_data_nents; in tcm_qla2xxx_queue_data_in()
/linux/drivers/target/iscsi/
A Discsi_target.c897 if (ent >= cmd->se_cmd.t_data_nents) { in iscsit_map_iovec()
933 cmd->se_cmd.t_data_nents, i) { in iscsit_map_iovec()
/linux/drivers/target/sbp/
A Dsbp_target.c1286 sg_miter_start(&iter, req->se_cmd.t_data_sg, req->se_cmd.t_data_nents, in sbp_rw_data()

Completed in 68 milliseconds