Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/vhost/
Dscsi.c333 struct vhost_scsi_cmd *tv_cmd = container_of(se_cmd, in vhost_scsi_release_cmd_res() local
335 struct vhost_scsi_virtqueue *svq = container_of(tv_cmd->tvc_vq, in vhost_scsi_release_cmd_res()
337 struct vhost_scsi_inflight *inflight = tv_cmd->inflight; in vhost_scsi_release_cmd_res()
340 if (tv_cmd->tvc_sgl_count) { in vhost_scsi_release_cmd_res()
341 for (i = 0; i < tv_cmd->tvc_sgl_count; i++) in vhost_scsi_release_cmd_res()
342 put_page(sg_page(&tv_cmd->tvc_sgl[i])); in vhost_scsi_release_cmd_res()
344 if (tv_cmd->tvc_prot_sgl_count) { in vhost_scsi_release_cmd_res()
345 for (i = 0; i < tv_cmd->tvc_prot_sgl_count; i++) in vhost_scsi_release_cmd_res()
346 put_page(sg_page(&tv_cmd->tvc_prot_sgl[i])); in vhost_scsi_release_cmd_res()
1452 struct vhost_scsi_cmd *tv_cmd; in vhost_scsi_destroy_vq_cmds() local
[all …]