Lines Matching refs:inflight
99 struct vhost_scsi_inflight *inflight; member
210 struct vhost_scsi_inflight *inflight; member
235 struct vhost_scsi_inflight *inflight; in vhost_scsi_done_inflight() local
237 inflight = container_of(kref, struct vhost_scsi_inflight, kref); in vhost_scsi_done_inflight()
238 complete(&inflight->comp); in vhost_scsi_done_inflight()
271 struct vhost_scsi_inflight *inflight; in vhost_scsi_get_inflight() local
275 inflight = &svq->inflights[svq->inflight_idx]; in vhost_scsi_get_inflight()
276 kref_get(&inflight->kref); in vhost_scsi_get_inflight()
278 return inflight; in vhost_scsi_get_inflight()
281 static void vhost_scsi_put_inflight(struct vhost_scsi_inflight *inflight) in vhost_scsi_put_inflight() argument
283 kref_put(&inflight->kref, vhost_scsi_done_inflight); in vhost_scsi_put_inflight()
331 struct vhost_scsi_inflight *inflight = tv_cmd->inflight; in vhost_scsi_release_cmd_res() local
344 vhost_scsi_put_inflight(inflight); in vhost_scsi_release_cmd_res()
350 struct vhost_scsi_inflight *inflight = tmf->inflight; in vhost_scsi_release_tmf_res() local
355 vhost_scsi_put_inflight(inflight); in vhost_scsi_release_tmf_res()
622 cmd->inflight = vhost_scsi_get_inflight(vq); in vhost_scsi_get_cmd()
1208 tmf->inflight = vhost_scsi_get_inflight(vq); in vhost_scsi_handle_tmf()