Home
last modified time | relevance | path

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

/freebsd/sys/dev/virtio/scsi/
H A Dvirtio_scsi.c584 sc->vtscsi_sim = cam_sim_alloc(vtscsi_cam_action, vtscsi_cam_poll, in vtscsi_alloc_cam()
587 if (sc->vtscsi_sim == NULL) { in vtscsi_alloc_cam()
607 if (xpt_bus_register(sc->vtscsi_sim, dev, 0) != CAM_SUCCESS) { in vtscsi_register_cam()
616 cam_sim_path(sc->vtscsi_sim), CAM_TARGET_WILDCARD, in vtscsi_register_cam()
640 xpt_bus_deregister(cam_sim_path(sc->vtscsi_sim)); in vtscsi_register_cam()
659 xpt_bus_deregister(cam_sim_path(sc->vtscsi_sim)); in vtscsi_free_cam()
662 if (sc->vtscsi_sim != NULL) { in vtscsi_free_cam()
663 cam_sim_free(sc->vtscsi_sim, 1); in vtscsi_free_cam()
664 sc->vtscsi_sim = NULL; in vtscsi_free_cam()
703 csa.callback_arg = sc->vtscsi_sim; in vtscsi_register_async()
[all …]
H A Dvirtio_scsivar.h65 struct cam_sim *vtscsi_sim; member