Lines Matching refs:vtscsi_sim
589 sc->vtscsi_sim = cam_sim_alloc(vtscsi_cam_action, vtscsi_cam_poll,
592 if (sc->vtscsi_sim == NULL) {
612 if (xpt_bus_register(sc->vtscsi_sim, dev, 0) != CAM_SUCCESS) {
621 cam_sim_path(sc->vtscsi_sim), CAM_TARGET_WILDCARD,
645 xpt_bus_deregister(cam_sim_path(sc->vtscsi_sim));
664 xpt_bus_deregister(cam_sim_path(sc->vtscsi_sim));
667 if (sc->vtscsi_sim != NULL) {
668 cam_sim_free(sc->vtscsi_sim, 1);
669 sc->vtscsi_sim = NULL;
707 csa.callback_arg = sc->vtscsi_sim;
723 csa.callback_arg = sc->vtscsi_sim;
1693 xpt_freeze_simq(sc->vtscsi_sim, 1);
1732 if (xpt_create_path(&path, NULL, cam_sim_path(sc->vtscsi_sim),
1756 cam_sim_path(sc->vtscsi_sim), target_id, lun_id);
2052 xpt_release_simq(sc->vtscsi_sim, 0);
2146 xpt_release_simq(sc->vtscsi_sim, 1);
2354 cam_sim_name(sc->vtscsi_sim), cam_sim_unit(sc->vtscsi_sim),
2355 cam_sim_bus(sc->vtscsi_sim));