/linux/drivers/scsi/ibmvscsi_tgt/ |
A D | libsrp.c | 172 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 D | target_core_sbc.c | 375 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 D | target_core_transport.c | 1606 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 D | target_core_iblock.c | 503 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 D | target_core_file.c | 451 if (cmd->t_data_nents > 1 || in fd_execute_write_same() 455 cmd->t_data_nents, in fd_execute_write_same()
|
A D | target_core_xcopy.c | 555 " %u\n", cmd->t_data_sg, cmd->t_data_nents); in target_xcopy_setup_pt_cmd()
|
A D | target_core_pscsi.c | 964 u32 sgl_nents = cmd->t_data_nents; in pscsi_execute_cmd()
|
A D | target_core_user.c | 778 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 D | tfc_cmd.c | 44 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 D | tfc_io.c | 236 se_cmd->t_data_sg, se_cmd->t_data_nents); in ft_recv_write_data()
|
/linux/drivers/usb/gadget/function/ |
A D | f_tcm.c | 221 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 D | ib_isert.c | 1085 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 D | cxgbit_ddp.c | 246 ttinfo->nents = cmd->se_cmd.t_data_nents; in cxgbit_get_r2t_ttt()
|
A D | cxgbit_target.c | 890 cmd->se_cmd.t_data_nents = 1; in cxgbit_handle_immediate_data()
|
/linux/drivers/scsi/elx/efct/ |
A D | efct_lio.c | 386 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 D | target_core_base.h | 524 unsigned int t_data_nents; member
|
/linux/drivers/scsi/qla2xxx/ |
A D | tcm_qla2xxx.c | 409 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 D | iscsi_target.c | 897 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 D | sbp_target.c | 1286 sg_miter_start(&iter, req->se_cmd.t_data_sg, req->se_cmd.t_data_nents, in sbp_rw_data()
|