Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/vhost/
Dscsi.c327 struct vhost_scsi_cmd *tv_cmd = container_of(se_cmd, in vhost_scsi_release_cmd_res() local
329 struct vhost_scsi_virtqueue *svq = container_of(tv_cmd->tvc_vq, in vhost_scsi_release_cmd_res()
331 struct vhost_scsi_inflight *inflight = tv_cmd->inflight; in vhost_scsi_release_cmd_res()
334 if (tv_cmd->tvc_sgl_count) { in vhost_scsi_release_cmd_res()
335 for (i = 0; i < tv_cmd->tvc_sgl_count; i++) in vhost_scsi_release_cmd_res()
336 put_page(sg_page(&tv_cmd->tvc_sgl[i])); in vhost_scsi_release_cmd_res()
338 if (tv_cmd->tvc_prot_sgl_count) { in vhost_scsi_release_cmd_res()
339 for (i = 0; i < tv_cmd->tvc_prot_sgl_count; i++) in vhost_scsi_release_cmd_res()
340 put_page(sg_page(&tv_cmd->tvc_prot_sgl[i])); in vhost_scsi_release_cmd_res()
1450 struct vhost_scsi_cmd *tv_cmd; in vhost_scsi_destroy_vq_cmds() local
[all …]