Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/scsi/ibmvscsi_tgt/
Dlibsrp.c181 nsg = dma_map_sg(iue->target->dev, sg, cmd->se_cmd.t_data_nents, in srp_direct_data()
185 cmd->se_cmd.t_data_nents); in srp_direct_data()
252 nsg = dma_map_sg(iue->target->dev, sg, cmd->se_cmd.t_data_nents, in srp_indirect_data()
256 cmd->se_cmd.t_data_nents); in srp_indirect_data()
313 if (!cmd->se_cmd.t_data_nents) in srp_transfer_data()
/Linux-v4.19/drivers/target/
Dtarget_core_sbc.c384 cmd->t_data_nents, in xdreadwrite_callback()
418 return ops->execute_rw(cmd, cmd->t_data_sg, cmd->t_data_nents, in sbc_execute_rw()
497 write_sg = kmalloc_array(cmd->t_data_nents, sizeof(*write_sg), in compare_and_write_callback()
504 sg_init_table(write_sg, cmd->t_data_nents); in compare_and_write_callback()
508 rc = sg_copy_to_buffer(cmd->t_data_sg, cmd->t_data_nents, buf, in compare_and_write_callback()
543 sg_miter_start(&m, cmd->t_data_sg, cmd->t_data_nents, SG_MITER_TO_SG); in compare_and_write_callback()
569 cmd->t_data_nents_orig = cmd->t_data_nents; in compare_and_write_callback()
570 cmd->t_data_nents = 1; in compare_and_write_callback()
Dtarget_core_xcopy.c611 rc = target_alloc_sgl(&cmd->t_data_sg, &cmd->t_data_nents, in target_xcopy_setup_pt_cmd()
637 " %u\n", cmd->t_data_sg, cmd->t_data_nents); in target_xcopy_setup_pt_cmd()
708 xop->xop_data_nents = se_cmd->t_data_nents; in target_xcopy_read_source()
723 se_cmd->t_data_nents = 0; in target_xcopy_read_source()
773 src_cmd->t_data_nents = xop->xop_data_nents; in target_xcopy_write_destination()
Dtarget_core_transport.c1477 cmd->t_data_nents = sgl_count; in transport_generic_map_mem_to_cmd()
2399 cmd->t_data_nents = cmd->t_data_nents_orig; in transport_reset_sgl_orig()
2427 target_free_sgl(cmd->t_data_sg, cmd->t_data_nents); in transport_free_pages()
2429 cmd->t_data_nents = 0; in transport_free_pages()
2447 if (!cmd->t_data_nents) in transport_kmap_data_sg()
2451 if (cmd->t_data_nents == 1) in transport_kmap_data_sg()
2455 pages = kmalloc_array(cmd->t_data_nents, sizeof(*pages), GFP_KERNEL); in transport_kmap_data_sg()
2460 for_each_sg(cmd->t_data_sg, sg, cmd->t_data_nents, i) { in transport_kmap_data_sg()
2464 cmd->t_data_vmap = vmap(pages, cmd->t_data_nents, VM_MAP, PAGE_KERNEL); in transport_kmap_data_sg()
2475 if (!cmd->t_data_nents) { in transport_kunmap_data_sg()
[all …]
Dtarget_core_iblock.c476 if (cmd->t_data_nents > 1 || in iblock_execute_write_same()
479 " block_size: %u\n", cmd->t_data_nents, sg->length, in iblock_execute_write_same()
Dtarget_core_file.c471 if (cmd->t_data_nents > 1 || in fd_execute_write_same()
475 cmd->t_data_nents, in fd_execute_write_same()
Dtarget_core_pscsi.c989 u32 sgl_nents = cmd->t_data_nents; in pscsi_execute_cmd()
Dtarget_core_user.c762 data_nents = se_cmd->t_data_nents; in gather_data_area()
1056 se_cmd->t_data_nents, &iov, &iov_cnt, in queue_cmd_ring()
/Linux-v4.19/drivers/target/tcm_fc/
Dtfc_cmd.c57 caller, cmd, se_cmd->t_data_nents, in _ft_dump_cmd()
60 for_each_sg(se_cmd->t_data_sg, sg, se_cmd->t_data_nents, count) in _ft_dump_cmd()
238 se_cmd->t_data_nents)) in ft_write_pending()
Dtfc_io.c251 se_cmd->t_data_sg, se_cmd->t_data_nents); in ft_recv_write_data()
/Linux-v4.19/drivers/usb/gadget/function/
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()
964 se_cmd->t_data_nents, in usbg_data_write_cmpl()
990 req->num_sgs = se_cmd->t_data_nents; in usbg_prepare_w_request()
/Linux-v4.19/drivers/target/iscsi/cxgbit/
Dcxgbit_ddp.c249 ttinfo->nents = cmd->se_cmd.t_data_nents; in cxgbit_get_r2t_ttt()
Dcxgbit_target.c910 cmd->se_cmd.t_data_nents = 1; in cxgbit_handle_immediate_data()
/Linux-v4.19/drivers/infiniband/ulp/isert/
Dib_isert.c1170 cmd->se_cmd.t_data_nents = 1; in isert_handle_scsi_cmd()
1505 se_cmd->t_data_nents, se_cmd->t_prot_sg, in isert_rdma_rw_ctx_destroy()
1509 se_cmd->t_data_sg, se_cmd->t_data_nents, dir); in isert_rdma_rw_ctx_destroy()
2159 se_cmd->t_data_sg, se_cmd->t_data_nents, in isert_rdma_rw_ctx_post()
2164 se_cmd->t_data_sg, se_cmd->t_data_nents, in isert_rdma_rw_ctx_post()
/Linux-v4.19/include/target/
Dtarget_core_base.h505 unsigned int t_data_nents; member
/Linux-v4.19/drivers/scsi/qla2xxx/
Dtcm_qla2xxx.c399 cmd->sg_cnt = se_cmd->t_data_nents; in tcm_qla2xxx_write_pending()
681 cmd->sg_cnt = se_cmd->t_data_nents; in tcm_qla2xxx_queue_data_in()
/Linux-v4.19/drivers/target/sbp/
Dsbp_target.c1302 sg_miter_start(&iter, req->se_cmd.t_data_sg, req->se_cmd.t_data_nents, in sbp_rw_data()
/Linux-v4.19/drivers/target/iscsi/
Discsi_target.c905 if (ent >= cmd->se_cmd.t_data_nents) { in iscsit_map_iovec()