Lines Matching defs:path

140  * currently don't have a way to get that back from the path inquiry.
141 * XXX KDM add that to the path inquiry.
192 struct cam_path *path, void *arg);
257 ctlfeasync(void *callback_arg, uint32_t code, struct cam_path *path, void *arg)
267 if (softc->path_id == xpt_path_path_id(path))
273 * When a new path gets registered, and it is capable of target
296 printf("%s: CTL port for CAM path %u already exists\n",
297 __func__, xpt_path_path_id(path));
312 xpt_setup_ccb(&ccb->ccb_h, path, CAM_PRIORITY_NONE);
322 printf("%s: SIM %s%d (path id %d) initiator "
328 printf("%s: SIM %s%d (path id %d) initiator "
359 softc->sim = xpt_path_sim(path);
401 * XXX KDM the path inquiry doesn't give us the maximum
460 printf("%s: WWPN %#jx port 0x%06x path %u target %u %s\n",
462 xpt_path_path_id(path), dev_chg->target,
466 printf("%s: CTL port for CAM path %u not "
468 xpt_path_path_id(path));
517 xpt_setup_ccb(&en_lun_ccb.ccb_h, periph->path, CAM_PRIORITY_NONE);
525 xpt_print(periph->path, "%s: Enable LUN failed, status 0x%x\n",
561 xpt_setup_ccb(&new_ccb->ccb_h, periph->path, /*priority*/ 1);
577 xpt_print(periph->path, "%s: could not acquire reference "
583 xpt_print(periph->path, "%s: could not allocate ATIO CCBs, "
607 xpt_setup_ccb(&new_ccb->ccb_h, periph->path, /*priority*/ 1);
629 xpt_print(periph->path, "%s: could not allocate immediate "
649 xpt_setup_ccb(&en_lun_ccb.ccb_h, periph->path, CAM_PRIORITY_NONE);
657 xpt_print(periph->path, "%s: Disable LUN failed, status 0x%x\n",
824 xpt_print(periph->path, "%s: tag 0x%04x "
844 xpt_print(periph->path, "%s: aborted "
862 xpt_print(periph->path, "%s: func_code "
908 xpt_print(periph->path, "%s: check condition "
1112 cam_release_devq(periph->path,
1166 * Only SCSI I/O comes down this path, resets, etc. come
1167 * down the immediate notify path below.
1325 xpt_print(periph->path, "%s: tag 0x%04x "
1505 xpt_print(periph->path,
1534 xpt_print(periph->path,
1579 struct cam_path *path;
1586 status = xpt_create_path(&path, /*periph*/ NULL, bus_softc->path_id,
1589 printf("%s: unable to create path!\n", __func__);
1593 xpt_setup_ccb(&ccb->ccb_h, path, CAM_PRIORITY_NONE);
1715 printf("%s: SIM %s (path id %d) target %s failed with "
1721 printf("%s: SIM %s (path id %d) target %s succeeded\n",
1726 xpt_free_path(path);
1734 struct cam_path *path;
1744 status = xpt_create_path(&path, /*periph*/ NULL,
1748 printf("%s: unable to create path for wildcard periph\n",
1755 xpt_path_lock(path);
1756 periph = cam_periph_find(path, "ctl");
1759 xpt_path_unlock(path);
1760 xpt_free_path(path);
1773 path,
1788 xpt_path_unlock(path);
1790 xpt_free_path(path);
1797 struct cam_path *path;
1809 status = xpt_create_path(&path, /*periph*/ NULL,
1813 printf("%s: unable to create path for wildcard periph\n",
1817 xpt_path_lock(path);
1818 if ((periph = cam_periph_find(path, "ctl")) != NULL)
1820 xpt_path_unlock(path);
1821 xpt_free_path(path);
1826 * CTL. So we only need to create a path/periph for this particular bus.
1833 struct cam_path *path;
1841 status = xpt_create_path(&path, /*periph*/ NULL,
1845 printf("%s: could not create path, status %#x\n", __func__,
1851 xpt_path_lock(path);
1852 periph = cam_periph_find(path, "ctl");
1855 xpt_path_unlock(path);
1856 xpt_free_path(path);
1868 path,
1883 xpt_path_unlock(path);
1884 xpt_free_path(path);
1904 struct cam_path *path;
1906 path = lun_softc->periph->path;
1908 if ((xpt_path_target_id(path) == softc->target_id)
1909 && (xpt_path_lun_id(path) == lun_id)) {
1970 xpt_print(periph->path,
1978 xpt_print(periph->path, "%d requests total waiting for CCBs\n",
1980 xpt_print(periph->path, "%ju CCBs outstanding (%ju allocated, %ju "
1984 xpt_print(periph->path, "%ju CTIOs outstanding (%ju sent, %ju "
2006 periph = xpt_path_periph(ccb->ccb_h.path);
2026 periph = xpt_path_periph(ccb->ccb_h.path);
2036 xpt_print(ccb->ccb_h.path, "%s: returning task I/O "