Searched refs:tv_cmd (Results 1 – 1 of 1) sorted by relevance
329 struct vhost_scsi_cmd *tv_cmd = container_of(se_cmd, in vhost_scsi_release_cmd_res() local331 struct vhost_scsi_virtqueue *svq = container_of(tv_cmd->tvc_vq, in vhost_scsi_release_cmd_res()333 struct vhost_scsi_inflight *inflight = tv_cmd->inflight; in vhost_scsi_release_cmd_res()336 if (tv_cmd->tvc_sgl_count) { in vhost_scsi_release_cmd_res()337 for (i = 0; i < tv_cmd->tvc_sgl_count; i++) { in vhost_scsi_release_cmd_res()338 if (tv_cmd->copied_iov) in vhost_scsi_release_cmd_res()339 __free_page(sg_page(&tv_cmd->tvc_sgl[i])); in vhost_scsi_release_cmd_res()341 put_page(sg_page(&tv_cmd->tvc_sgl[i])); in vhost_scsi_release_cmd_res()343 kfree(tv_cmd->saved_iter_addr); in vhost_scsi_release_cmd_res()345 if (tv_cmd->tvc_prot_sgl_count) { in vhost_scsi_release_cmd_res()[all …]