Lines Matching refs:inflight
99 struct vhost_scsi_inflight *inflight; member
216 struct vhost_scsi_inflight *inflight; member
241 struct vhost_scsi_inflight *inflight; in vhost_scsi_done_inflight() local
243 inflight = container_of(kref, struct vhost_scsi_inflight, kref); in vhost_scsi_done_inflight()
244 complete(&inflight->comp); in vhost_scsi_done_inflight()
277 struct vhost_scsi_inflight *inflight; in vhost_scsi_get_inflight() local
281 inflight = &svq->inflights[svq->inflight_idx]; in vhost_scsi_get_inflight()
282 kref_get(&inflight->kref); in vhost_scsi_get_inflight()
284 return inflight; in vhost_scsi_get_inflight()
287 static void vhost_scsi_put_inflight(struct vhost_scsi_inflight *inflight) in vhost_scsi_put_inflight() argument
289 kref_put(&inflight->kref, vhost_scsi_done_inflight); in vhost_scsi_put_inflight()
337 struct vhost_scsi_inflight *inflight = tv_cmd->inflight; in vhost_scsi_release_cmd_res() local
350 vhost_scsi_put_inflight(inflight); in vhost_scsi_release_cmd_res()
356 struct vhost_scsi_inflight *inflight = tmf->inflight; in vhost_scsi_release_tmf_res() local
361 vhost_scsi_put_inflight(inflight); in vhost_scsi_release_tmf_res()
629 cmd->inflight = vhost_scsi_get_inflight(vq); in vhost_scsi_get_cmd()
1215 tmf->inflight = vhost_scsi_get_inflight(vq); in vhost_scsi_handle_tmf()