• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/sys/cam/nvme/

Lines Matching refs:periph

103 	CAM_DEBUG((softc)->periph->path, CAM_DEBUG_PROBE,		\
122 struct cam_periph *periph;
139 static cam_status nvme_probe_register(struct cam_periph *periph,
142 static void nvme_probe_start(struct cam_periph *periph, union ccb *start_ccb);
143 static void nvme_probe_done(struct cam_periph *periph, union ccb *done_ccb);
144 static void nvme_probe_cleanup(struct cam_periph *periph);
146 static void nvme_scan_lun(struct cam_periph *periph,
159 static void nvme_announce_periph(struct cam_periph *periph);
201 nvme_probe_register(struct cam_periph *periph, void *arg)
224 periph->softc = softc;
225 softc->periph = periph;
227 if (cam_periph_acquire(periph) != 0)
230 CAM_DEBUG(periph->path, CAM_DEBUG_PROBE, ("Probe started\n"));
232 // nvme_device_transport(periph->path);
233 nvme_probe_schedule(periph);
239 nvme_probe_schedule(struct cam_periph *periph)
244 softc = (nvme_probe_softc *)periph->softc;
254 xpt_schedule(periph, CAM_PRIORITY_XPT);
258 nvme_probe_start(struct cam_periph *periph, union ccb *start_ccb)
267 softc = (nvme_probe_softc *)periph->softc;
270 lun = xpt_path_lun_id(periph->path);
308 nvme_probe_done(struct cam_periph *periph, union ccb *done_ccb)
322 softc = (nvme_probe_softc *)periph->softc;
394 xpt_schedule(periph, priority);
462 if (periph->path->device->flags & CAM_DEV_UNCONFIGURED) {
478 nvme_probe_schedule(periph);
482 CAM_DEBUG(periph->path, CAM_DEBUG_PROBE, ("Probe completed\n"));
491 cam_periph_invalidate(periph);
492 cam_periph_release_locked(periph);
496 nvme_probe_cleanup(struct cam_periph *periph)
499 free(periph->softc, M_CAMXPT);
528 nvme_scan_lun(struct cam_periph *periph, struct cam_path *path,
747 nvme_scan_lun(start_ccb->ccb_h.path->periph,
784 nvme_announce_periph(struct cam_periph *periph)
788 struct cam_path *path = periph->path;
793 cam_periph_assert(periph, MA_OWNED);
805 xpt_path_inq(&cpi, periph->path);
808 periph->periph_name, periph->unit_number,