Home
last modified time | relevance | path

Searched refs:cam_sim_path (Results 1 – 25 of 68) sorted by relevance

123

/freebsd-12.1/sys/dev/isci/
H A Disci_remote_device.c89 cam_sim_path(isci_controller->sim), in scif_cb_remote_device_ready()
268 cam_sim_path(remote_device->domain->controller->sim), in isci_remote_device_freeze_lun_queue()
285 cam_sim_path(remote_device->domain->controller->sim), in isci_remote_device_release_lun_queue()
H A Disci_controller.c595 cam_sim_path(isci_controller->sim), in isci_controller_domain_discovery_complete()
653 cam_sim_path(controller->sim), CAM_TARGET_WILDCARD, in isci_controller_attach_to_cam()
656 xpt_bus_deregister(cam_sim_path(controller->sim)); in isci_controller_attach_to_cam()
H A Disci_domain.c300 uint32_t path = cam_sim_path(isci_controller->sim); in scif_cb_domain_device_removed()
/freebsd-12.1/sys/dev/iscsi_initiator/
H A Disc_cam.c284 cp->path_id = cam_sim_path(sp->cam_sim); in ic_getCamVals()
307 xpt_bus_deregister(cam_sim_path(sp->cam_sim)); in ic_destroy()
365 if(xpt_create_path(&sp->cam_path, NULL, cam_sim_path(sp->cam_sim), in ic_init()
367 xpt_bus_deregister(cam_sim_path(sp->cam_sim)); in ic_init()
/freebsd-12.1/sys/cam/
H A Dcam_sim.h75 static __inline u_int32_t cam_sim_path(struct cam_sim *sim);
118 cam_sim_path(struct cam_sim *sim) in cam_sim_path() function
/freebsd-12.1/sys/dev/nvme/
H A Dnvme_sim.c304 if (xpt_create_path(&sc->s_path, /*periph*/NULL, cam_sim_path(sc->s_sim), in nvme_sim_new_controller()
313 xpt_bus_deregister(cam_sim_path(sc->s_sim)); in nvme_sim_new_controller()
334 cam_sim_path(sc->s_sim), 0, ns->id) != CAM_REQ_CMP) { in nvme_sim_new_ns()
352 xpt_bus_deregister(cam_sim_path(sc->s_sim)); in nvme_sim_controller_fail()
/freebsd-12.1/sys/dev/twa/
H A Dtw_osl_cam.c136 cam_sim_path(sc->sim), in tw_osli_cam_attach()
139 xpt_bus_deregister(cam_sim_path (sc->sim)); in tw_osli_cam_attach()
177 xpt_bus_deregister(cam_sim_path(sc->sim)); in tw_osli_cam_detach()
495 if (xpt_create_path(&ccb->ccb_h.path, NULL, cam_sim_path(sc->sim), in tw_osli_request_bus_scan()
/freebsd-12.1/sys/dev/aic7xxx/
H A Daic7xxx_osm.c81 path_id = cam_sim_path(ahc->platform_data->sim_b); in ahc_create_path()
83 path_id = cam_sim_path(ahc->platform_data->sim); in ahc_create_path()
212 cam_sim_path(sim), CAM_TARGET_WILDCARD, in ahc_attach()
214 xpt_bus_deregister(cam_sim_path(sim)); in ahc_attach()
253 cam_sim_path(sim2), in ahc_attach()
256 xpt_bus_deregister(cam_sim_path(sim2)); in ahc_attach()
1369 xpt_bus_deregister(cam_sim_path(pdata->sim_b)); in ahc_platform_free()
1375 xpt_bus_deregister(cam_sim_path(pdata->sim)); in ahc_platform_free()
H A Daic79xx_osm.c147 path_id = cam_sim_path(ahd->platform_data->sim); in ahd_create_path()
262 cam_sim_path(sim), CAM_TARGET_WILDCARD, in ahd_attach()
264 xpt_bus_deregister(cam_sim_path(sim)); in ahd_attach()
1313 xpt_bus_deregister(cam_sim_path(pdata->sim)); in ahd_platform_free()
/freebsd-12.1/sys/dev/aac/
H A Daac_cam.c135 cam_sim_path(camsc->sim), in aac_cam_rescan()
193 xpt_bus_deregister(cam_sim_path(camsc->sim)); in aac_cam_detach()
241 if (xpt_create_path(&path, NULL, cam_sim_path(sim), in aac_cam_attach()
243 xpt_bus_deregister(cam_sim_path(sim)); in aac_cam_attach()
/freebsd-12.1/sys/dev/smartpqi/
H A Dsmartpqi_cam.c109 cam_sim_path(softs->os_specific.sim), in os_add_device()
132 cam_sim_path(softs->os_specific.sim), in os_remove_device()
609 cam_sim_path(softs->os_specific.sim), target, lun); in smartpqi_lun_rescan()
1124 cam_sim_path(softs->os_specific.sim), in register_sim()
1129 xpt_bus_deregister(cam_sim_path(softs->os_specific.sim)); in register_sim()
1179 xpt_bus_deregister(cam_sim_path(softs->os_specific.sim)); in deregister_sim()
/freebsd-12.1/sys/cam/ctl/
H A Dctl_frontend_cam_sim.c204 cam_sim_path(softc->sim), in cfcs_init()
208 xpt_bus_deregister(cam_sim_path(softc->sim)); in cfcs_init()
239 xpt_bus_deregister(cam_sim_path(softc->sim)); in cfcs_shutdown()
273 cam_sim_path(softc->sim), CAM_TARGET_WILDCARD, in cfcs_onoffline()
/freebsd-12.1/sys/dev/ahci/
H A Dahciem.c138 if (xpt_create_path(&enc->path, /*periph*/NULL, cam_sim_path(enc->sim), in ahci_em_attach()
187 xpt_bus_deregister(cam_sim_path(enc->sim)); in ahci_em_attach()
215 xpt_bus_deregister(cam_sim_path(enc->sim)); in ahci_em_detach()
558 scsi_ulto4b(cam_sim_path(ch->sim), elmb->bus); in ahci_em_emulate_ses_on_led()
/freebsd-12.1/sys/dev/usb/storage/
H A Dumass.c2123 sc->sc_name, cam_sim_path(sc->sc_sim), in umass_cam_attach()
2124 sc->sc_unit, cam_sim_path(sc->sc_sim)); in umass_cam_attach()
2135 if (xpt_bus_deregister(cam_sim_path(sc->sc_sim))) { in umass_cam_detach_sim()
2178 cam_sim_path(sc->sc_sim), ccb->ccb_h.target_id, in umass_cam_action()
2186 cam_sim_path(sc->sc_sim), ccb->ccb_h.target_id, in umass_cam_action()
2306 sc ? cam_sim_path(sc->sc_sim) : -1, ccb->ccb_h.target_id, in umass_cam_action()
2361 cam_sim_path(sc->sc_sim), ccb->ccb_h.target_id, in umass_cam_action()
2375 cam_sim_path(sc->sc_sim), ccb->ccb_h.target_id, in umass_cam_action()
2391 cam_sim_path(sc->sc_sim), ccb->ccb_h.target_id, in umass_cam_action()
2407 sc ? cam_sim_path(sc->sc_sim) : -1, ccb->ccb_h.target_id, in umass_cam_action()
[all …]
/freebsd-12.1/sys/dev/mrsas/
H A Dmrsas_cam.c188 if (xpt_create_path(&sc->path_0, NULL, cam_sim_path(sc->sim_0), in mrsas_cam_attach()
190 xpt_bus_deregister(cam_sim_path(sc->sim_0)); in mrsas_cam_attach()
215 if (xpt_create_path(&sc->path_1, NULL, cam_sim_path(sc->sim_1), in mrsas_cam_attach()
218 xpt_bus_deregister(cam_sim_path(sc->sim_1)); in mrsas_cam_attach()
249 xpt_bus_deregister(cam_sim_path(sc->sim_0)); in mrsas_cam_detach()
255 xpt_bus_deregister(cam_sim_path(sc->sim_1)); in mrsas_cam_detach()
1841 if (xpt_create_path(&ccb_0->ccb_h.path, xpt_periph, cam_sim_path(sc->sim_0), in mrsas_bus_scan()
1848 if (xpt_create_path(&ccb_1->ccb_h.path, xpt_periph, cam_sim_path(sc->sim_1), in mrsas_bus_scan()
1878 if (xpt_create_path(&ccb->ccb_h.path, xpt_periph, cam_sim_path(sim), in mrsas_bus_scan_sim()
/freebsd-12.1/sys/dev/mmcnull/
H A Dmmcnull.c159 xpt_bus_deregister(cam_sim_path(sc->sim)); in mmcnull_detach()
249 if (xpt_create_path(&dpath, NULL, cam_sim_path(sc->sim), 0, 0) != CAM_REQ_CMP) { in mmcnull_intr_sdio_newintr()
/freebsd-12.1/sys/powerpc/ps3/
H A Dps3cdrom.c256 err = xpt_create_path(&sc->sc_path, NULL, cam_sim_path(sc->sc_sim), in ps3cdrom_attach()
281 xpt_bus_deregister(cam_sim_path(sc->sc_sim)); in ps3cdrom_attach()
321 xpt_bus_deregister(cam_sim_path(sc->sc_sim)); in ps3cdrom_detach()
/freebsd-12.1/tools/tools/vhba/mptest/
H A Dvhba_mptest.c421 if (xpt_create_path(&tp, xpt_periph, cam_sim_path(vhba->sim), 0, lun) != CAM_REQ_CMP) { in vhba_timer()
443 …if (xpt_create_path(&ccb->ccb_h.path, xpt_periph, cam_sim_path(vhba->sim), CAM_TARGET_WILDCARD, CA… in vhba_timer()
/freebsd-12.1/sys/dev/mfi/
H A Dmfi_cam.c191 xpt_bus_deregister(cam_sim_path(sc->sim)); in mfip_detach()
326 if (xpt_create_path(&ccb->ccb_h.path, NULL, cam_sim_path(sim), in mfip_cam_rescan()
/freebsd-12.1/sys/dev/tws/
H A Dtws_cam.c185 if (xpt_create_path(&sc->path, NULL, cam_sim_path(sc->sim), in tws_cam_attach()
188 xpt_bus_deregister(cam_sim_path(sc->sim)); in tws_cam_attach()
208 xpt_bus_deregister(cam_sim_path(sc->sim)); in tws_cam_detach()
224 if (xpt_create_path(&ccb->ccb_h.path, NULL, cam_sim_path(sc->sim), in tws_bus_scan()
/freebsd-12.1/sys/dev/ata/
H A Data-all.c199 if (xpt_create_path(&ch->path, /*periph*/NULL, cam_sim_path(ch->sim), in ata_attach()
209 xpt_bus_deregister(cam_sim_path(ch->sim)); in ata_attach()
242 xpt_bus_deregister(cam_sim_path(ch->sim)); in ata_detach()
276 cam_sim_path(ch->sim), in ata_conn_event()
/freebsd-12.1/sys/dev/aacraid/
H A Daacraid_cam.c207 cam_sim_path(camsc->sim), in aac_cam_rescan()
273 xpt_bus_deregister(cam_sim_path(camsc->sim)); in aac_cam_detach()
322 if (xpt_create_path(&path, NULL, cam_sim_path(sim), in aac_cam_attach()
324 xpt_bus_deregister(cam_sim_path(sim)); in aac_cam_attach()
/freebsd-12.1/sys/dev/aha/
H A Daha.c615 if (xpt_create_path(&aha->path, /*periph*/NULL, cam_sim_path(aha->sim), in aha_attach()
617 xpt_bus_deregister(cam_sim_path(aha->sim)); in aha_attach()
1158 cam_sim_path(aha->sim), accb->hccb.target, in ahadone()
1810 xpt_bus_deregister(cam_sim_path(aha->sim)); in aha_detach()
/freebsd-12.1/sys/dev/hpt27xx/
H A Dhpt27xx_osm_bsd.c1244 cam_sim_path(vbus_ext->sim), CAM_TARGET_WILDCARD, in hpt_final_init()
1249 xpt_bus_deregister(cam_sim_path(vbus_ext->sim)); in hpt_final_init()
1500 if (xpt_create_path(&ccb->ccb_h.path, xpt_periph, cam_sim_path(vbus_ext->sim), in hpt_rescan_bus()
1502 if (xpt_create_path(&ccb->ccb_h.path, NULL, cam_sim_path(vbus_ext->sim), in hpt_rescan_bus()
/freebsd-12.1/sys/dev/virtio/scsi/
H A Dvirtio_scsi.c593 cam_sim_path(sc->vtscsi_sim), CAM_TARGET_WILDCARD, in vtscsi_register_cam()
617 xpt_bus_deregister(cam_sim_path(sc->vtscsi_sim)); in vtscsi_register_cam()
636 xpt_bus_deregister(cam_sim_path(sc->vtscsi_sim)); in vtscsi_free_cam()
1702 if (xpt_create_path(&path, NULL, cam_sim_path(sc->vtscsi_sim), in vtscsi_announce()
1726 cam_sim_path(sc->vtscsi_sim), target_id, lun_id); in vtscsi_execute_rescan()

123