Home
last modified time | relevance | path

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

/openbmc/linux/drivers/vhost/
H A Dscsi.c328 struct vhost_scsi_cmd *tv_cmd = container_of(se_cmd, in vhost_scsi_release_cmd_res() local
330 struct vhost_scsi_virtqueue *svq = container_of(tv_cmd->tvc_vq, in vhost_scsi_release_cmd_res()
332 struct vhost_scsi_inflight *inflight = tv_cmd->inflight; in vhost_scsi_release_cmd_res()
335 if (tv_cmd->tvc_sgl_count) { in vhost_scsi_release_cmd_res()
336 for (i = 0; i < tv_cmd->tvc_sgl_count; i++) { in vhost_scsi_release_cmd_res()
337 if (tv_cmd->copied_iov) in vhost_scsi_release_cmd_res()
338 __free_page(sg_page(&tv_cmd->tvc_sgl[i])); in vhost_scsi_release_cmd_res()
340 put_page(sg_page(&tv_cmd->tvc_sgl[i])); in vhost_scsi_release_cmd_res()
342 kfree(tv_cmd->saved_iter_addr); in vhost_scsi_release_cmd_res()
344 if (tv_cmd->tvc_prot_sgl_count) { in vhost_scsi_release_cmd_res()
[all …]