Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/scsi/ibmvscsi_tgt/
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()
/kernel/linux/linux-5.10/drivers/target/
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()
483 if (sg_alloc_table(&write_tbl, cmd->t_data_nents, GFP_KERNEL) < 0) { in compare_and_write_callback()
492 rc = sg_copy_to_buffer(cmd->t_data_sg, cmd->t_data_nents, buf, in compare_and_write_callback()
527 sg_miter_start(&m, cmd->t_data_sg, cmd->t_data_nents, SG_MITER_TO_SG); in compare_and_write_callback()
553 cmd->t_data_nents_orig = cmd->t_data_nents; in compare_and_write_callback()
554 cmd->t_data_nents = 1; in compare_and_write_callback()
Dtarget_core_transport.c1565 cmd->t_data_nents = sgl_count; in transport_generic_map_mem_to_cmd()
2515 cmd->t_data_nents = cmd->t_data_nents_orig; in transport_reset_sgl_orig()
2543 target_free_sgl(cmd->t_data_sg, cmd->t_data_nents); in transport_free_pages()
2545 cmd->t_data_nents = 0; in transport_free_pages()
2563 if (!cmd->t_data_nents) in transport_kmap_data_sg()
2567 if (cmd->t_data_nents == 1) in transport_kmap_data_sg()
2571 pages = kmalloc_array(cmd->t_data_nents, sizeof(*pages), GFP_KERNEL); in transport_kmap_data_sg()
2576 for_each_sg(cmd->t_data_sg, sg, cmd->t_data_nents, i) { in transport_kmap_data_sg()
2580 cmd->t_data_vmap = vmap(pages, cmd->t_data_nents, VM_MAP, PAGE_KERNEL); in transport_kmap_data_sg()
2591 if (!cmd->t_data_nents) { in transport_kunmap_data_sg()
[all …]
Dtarget_core_iblock.c463 if (cmd->t_data_nents > 1 || in iblock_execute_write_same()
466 " block_size: %u\n", cmd->t_data_nents, sg->length, in iblock_execute_write_same()
Dtarget_core_file.c458 if (cmd->t_data_nents > 1 || in fd_execute_write_same()
462 cmd->t_data_nents, in fd_execute_write_same()
Dtarget_core_xcopy.c569 " %u\n", cmd->t_data_sg, cmd->t_data_nents); in target_xcopy_setup_pt_cmd()
Dtarget_core_pscsi.c967 u32 sgl_nents = cmd->t_data_nents; in pscsi_execute_cmd()
Dtarget_core_user.c702 for_each_sg(se_cmd->t_data_sg, sg, se_cmd->t_data_nents, i) { in scatter_data_area()
753 data_nents = se_cmd->t_data_nents; in gather_data_area()
/kernel/linux/linux-5.10/drivers/target/tcm_fc/
Dtfc_cmd.c45 caller, cmd, se_cmd->t_data_nents, in _ft_dump_cmd()
48 for_each_sg(se_cmd->t_data_sg, sg, se_cmd->t_data_nents, count) in _ft_dump_cmd()
219 se_cmd->t_data_nents)) in ft_write_pending()
Dtfc_io.c237 se_cmd->t_data_sg, se_cmd->t_data_nents); in ft_recv_write_data()
/kernel/linux/linux-5.10/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()
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()
/kernel/linux/linux-5.10/drivers/target/iscsi/cxgbit/
Dcxgbit_ddp.c246 ttinfo->nents = cmd->se_cmd.t_data_nents; in cxgbit_get_r2t_ttt()
Dcxgbit_target.c890 cmd->se_cmd.t_data_nents = 1; in cxgbit_handle_immediate_data()
/kernel/linux/linux-5.10/drivers/infiniband/ulp/isert/
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()
/kernel/linux/linux-5.10/include/target/
Dtarget_core_base.h519 unsigned int t_data_nents; member
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
Dtcm_qla2xxx.c409 cmd->sg_cnt = se_cmd->t_data_nents; in tcm_qla2xxx_write_pending()
668 cmd->sg_cnt = se_cmd->t_data_nents; in tcm_qla2xxx_queue_data_in()
/kernel/linux/linux-5.10/drivers/target/iscsi/
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()
/kernel/linux/linux-5.10/drivers/target/sbp/
Dsbp_target.c1289 sg_miter_start(&iter, req->se_cmd.t_data_sg, req->se_cmd.t_data_nents, in sbp_rw_data()