Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/target/tcm_fc/
Dtfc_io.c79 BUG_ON(remaining && !se_cmd->t_data_sg); in ft_queue_data_in()
81 sg = se_cmd->t_data_sg; in ft_queue_data_in()
236 se_cmd->t_data_sg, se_cmd->t_data_nents); in ft_recv_write_data()
274 BUG_ON(frame_len && !se_cmd->t_data_sg); in ft_recv_write_data()
276 sg = se_cmd->t_data_sg; in ft_recv_write_data()
Dtfc_cmd.c47 for_each_sg(se_cmd->t_data_sg, sg, se_cmd->t_data_nents, count) in _ft_dump_cmd()
217 se_cmd->t_data_sg, in ft_write_pending()
/Linux-v6.6/drivers/target/
Dtarget_core_sbc.c346 return ops->execute_rw(cmd, cmd->t_data_sg, cmd->t_data_nents, in sbc_execute_rw()
455 if (!cmd->t_data_sg || !cmd->t_bidi_data_sg) in compare_and_write_callback()
486 cmd->t_data_sg, in compare_and_write_callback()
511 sg_miter_start(&m, cmd->t_data_sg, cmd->t_data_nents, SG_MITER_TO_SG); in compare_and_write_callback()
535 cmd->t_data_sg_orig = cmd->t_data_sg; in compare_and_write_callback()
536 cmd->t_data_sg = write_sg; in compare_and_write_callback()
1166 struct scatterlist *dsg = cmd->t_data_sg, *psg; in sbc_dif_generate()
1321 struct scatterlist *dsg = cmd->t_data_sg; in sbc_dif_verify()
Dtarget_core_file.c449 cmd->t_data_sg[0].length != cmd->se_dev->dev_attrib.block_size) { in fd_execute_write_same()
453 cmd->t_data_sg[0].length, in fd_execute_write_same()
463 bvec_set_page(&bvec[i], sg_page(&cmd->t_data_sg[0]), in fd_execute_write_same()
464 cmd->t_data_sg[0].length, in fd_execute_write_same()
465 cmd->t_data_sg[0].offset); in fd_execute_write_same()
Dtarget_core_transport.c1637 cmd->t_data_sg = sgl; in transport_generic_map_mem_to_cmd()
1793 struct scatterlist *sgl = se_cmd->t_data_sg; in target_submit()
2670 kfree(cmd->t_data_sg); in transport_reset_sgl_orig()
2671 cmd->t_data_sg = cmd->t_data_sg_orig; in transport_reset_sgl_orig()
2701 target_free_sgl(cmd->t_data_sg, cmd->t_data_nents); in transport_free_pages()
2702 cmd->t_data_sg = NULL; in transport_free_pages()
2712 struct scatterlist *sg = cmd->t_data_sg; in transport_kmap_data_sg()
2734 for_each_sg(cmd->t_data_sg, sg, cmd->t_data_nents, i) { in transport_kmap_data_sg()
2743 return cmd->t_data_vmap + cmd->t_data_sg[0].offset; in transport_kmap_data_sg()
2752 kunmap(sg_page(cmd->t_data_sg)); in transport_kunmap_data_sg()
[all …]
Dtarget_core_pscsi.c649 buf = sg_virt(&cmd->t_data_sg[0]); in pscsi_complete_cmd()
933 struct scatterlist *sgl = cmd->t_data_sg; in pscsi_execute_cmd()
Dtarget_core_iblock.c459 struct scatterlist *sg = &cmd->t_data_sg[0]; in iblock_execute_zero_out()
510 sg = &cmd->t_data_sg[0]; in iblock_execute_write_same()
Dtarget_core_xcopy.c544 " %u\n", cmd->t_data_sg, cmd->t_data_nents); in target_xcopy_setup_pt_cmd()
Dtarget_core_user.c779 tcmu_copy_data(udev, tcmu_cmd, TCMU_SG_TO_DATA_AREA, se_cmd->t_data_sg, in scatter_data_area()
791 data_sg = se_cmd->t_data_sg; in gather_data_area()
/Linux-v6.6/drivers/scsi/ibmvscsi_tgt/
Dlibsrp.c171 sg = cmd->se_cmd.t_data_sg; in srp_direct_data()
206 sg = cmd->se_cmd.t_data_sg; in srp_indirect_data()
/Linux-v6.6/drivers/usb/gadget/function/
Df_tcm.c220 sg_copy_to_buffer(se_cmd->t_data_sg, in bot_send_read_response()
229 fu->bot_req_in->sg = se_cmd->t_data_sg; in bot_send_read_response()
268 fu->bot_req_out->sg = se_cmd->t_data_sg; in bot_send_write_request()
522 sg_copy_to_buffer(se_cmd->t_data_sg, in uasp_prepare_r_request()
531 stream->req_in->sg = se_cmd->t_data_sg; in uasp_prepare_r_request()
966 sg_copy_from_buffer(se_cmd->t_data_sg, in usbg_data_write_cmpl()
994 req->sg = se_cmd->t_data_sg; in usbg_prepare_w_request()
/Linux-v6.6/drivers/scsi/elx/efct/
Defct_lio.c368 ocp->seg_map_cnt = dma_map_sg(&io->efct->pci->dev, cmd->t_data_sg, in efct_lio_sg_map()
381 if (WARN_ON(!ocp->seg_map_cnt || !cmd->t_data_sg)) in efct_lio_sg_unmap()
384 dma_unmap_sg(&io->efct->pci->dev, cmd->t_data_sg, in efct_lio_sg_unmap()
443 for (cnt = 0, sg = cmd->t_data_sg; cnt < ocp->cur_seg; cnt++, in efct_lio_write_pending()
499 sg = &cmd->t_data_sg[ocp->cur_seg]; in efct_lio_queue_data_in()
/Linux-v6.6/drivers/infiniband/ulp/isert/
Dib_isert.c1082 sg_copy_from_buffer(cmd->se_cmd.t_data_sg, sg_nents, in isert_handle_scsi_cmd()
1088 cmd->se_cmd.t_data_sg = &isert_cmd->sg; in isert_handle_scsi_cmd()
1147 sg_start = &cmd->se_cmd.t_data_sg[sg_off]; in isert_handle_iscsi_dataout()
1419 conn->cm_id->port_num, se_cmd->t_data_sg, in isert_rdma_rw_ctx_destroy()
1424 se_cmd->t_data_sg, se_cmd->t_data_nents, dir); in isert_rdma_rw_ctx_destroy()
2071 se_cmd->t_data_sg, se_cmd->t_data_nents, in isert_rdma_rw_ctx_post()
2076 se_cmd->t_data_sg, se_cmd->t_data_nents, in isert_rdma_rw_ctx_post()
/Linux-v6.6/drivers/target/iscsi/cxgbit/
Dcxgbit_target.c355 sg = &cmd->se_cmd.t_data_sg[data_offset / PAGE_SIZE]; in cxgbit_map_skb()
889 cmd->se_cmd.t_data_sg = &ccmd->sg; in cxgbit_handle_immediate_data()
894 struct scatterlist *sg = &cmd->se_cmd.t_data_sg[0]; in cxgbit_handle_immediate_data()
1058 sg_start = &cmd->se_cmd.t_data_sg[sg_off]; in cxgbit_handle_iscsi_dataout()
Dcxgbit_ddp.c245 ttinfo->sgl = cmd->se_cmd.t_data_sg; in cxgbit_get_r2t_ttt()
/Linux-v6.6/include/target/
Dtarget_core_base.h525 struct scatterlist *t_data_sg; member
/Linux-v6.6/drivers/scsi/qla2xxx/
Dtcm_qla2xxx.c405 cmd->sg = se_cmd->t_data_sg; in tcm_qla2xxx_write_pending()
666 cmd->sg = se_cmd->t_data_sg; in tcm_qla2xxx_queue_data_in()
/Linux-v6.6/drivers/target/iscsi/
Discsi_target.c910 sg = &cmd->se_cmd.t_data_sg[ent]; in iscsit_map_iovec()
940 for_each_sg(cmd->se_cmd.t_data_sg, sg, in iscsit_map_iovec()
/Linux-v6.6/drivers/target/sbp/
Dsbp_target.c1286 sg_miter_start(&iter, req->se_cmd.t_data_sg, req->se_cmd.t_data_nents, in sbp_rw_data()