Searched refs:tv_nexus (Results 1 – 3 of 3) sorted by relevance
/drivers/usb/gadget/function/ |
D | f_tcm.c | 1044 struct tcm_usbg_nexus *tv_nexus; in usbg_cmd_work() local 1050 tv_nexus = tpg->tpg_nexus; in usbg_cmd_work() 1054 tv_nexus->tvn_se_sess->se_tpg->se_tpg_tfo, in usbg_cmd_work() 1055 tv_nexus->tvn_se_sess, cmd->data_len, DMA_NONE, in usbg_cmd_work() 1061 if (target_submit_cmd(se_cmd, tv_nexus->tvn_se_sess, cmd->cmd_buf, in usbg_cmd_work() 1075 struct tcm_usbg_nexus *tv_nexus, u32 scsi_tag) in usbg_get_cmd() argument 1077 struct se_session *se_sess = tv_nexus->tvn_se_sess; in usbg_get_cmd() 1103 struct tcm_usbg_nexus *tv_nexus; in usbg_submit_command() local 1112 tv_nexus = tpg->tpg_nexus; in usbg_submit_command() 1113 if (!tv_nexus) { in usbg_submit_command() [all …]
|
/drivers/vhost/ |
D | scsi.c | 606 struct vhost_scsi_nexus *tv_nexus; in vhost_scsi_get_cmd() local 611 tv_nexus = tpg->tpg_nexus; in vhost_scsi_get_cmd() 612 if (!tv_nexus) { in vhost_scsi_get_cmd() 637 cmd->tvc_nexus = tv_nexus; in vhost_scsi_get_cmd() 789 struct vhost_scsi_nexus *tv_nexus; in vhost_scsi_submission_work() local 805 tv_nexus = cmd->tvc_nexus; in vhost_scsi_submission_work() 808 rc = target_submit_cmd_map_sgls(se_cmd, tv_nexus->tvn_se_sess, in vhost_scsi_submission_work() 2112 struct vhost_scsi_nexus *tv_nexus; in vhost_scsi_make_nexus() local 2121 tv_nexus = kzalloc(sizeof(*tv_nexus), GFP_KERNEL); in vhost_scsi_make_nexus() 2122 if (!tv_nexus) { in vhost_scsi_make_nexus() [all …]
|
/drivers/xen/ |
D | xen-scsiback.c | 1486 struct scsiback_nexus *tv_nexus; in scsiback_make_nexus() local 1496 tv_nexus = kzalloc(sizeof(struct scsiback_nexus), GFP_KERNEL); in scsiback_make_nexus() 1497 if (!tv_nexus) { in scsiback_make_nexus() 1502 tv_nexus->tvn_se_sess = target_setup_session(&tpg->se_tpg, in scsiback_make_nexus() 1506 tv_nexus, scsiback_alloc_sess_cb); in scsiback_make_nexus() 1507 if (IS_ERR(tv_nexus->tvn_se_sess)) { in scsiback_make_nexus() 1508 kfree(tv_nexus); in scsiback_make_nexus() 1521 struct scsiback_nexus *tv_nexus; in scsiback_drop_nexus() local 1524 tv_nexus = tpg->tpg_nexus; in scsiback_drop_nexus() 1525 if (!tv_nexus) { in scsiback_drop_nexus() [all …]
|