Lines Matching defs:path

134  * currently don't have a way to get that back from the path inquiry.
135 * XXX KDM add that to the path inquiry.
178 struct cam_path *path, void *arg);
265 ctlfeasync(void *callback_arg, uint32_t code, struct cam_path *path, void *arg)
275 if (softc->path_id == xpt_path_path_id(path))
281 * When a new path gets registered, and it is capable of target
304 printf("%s: CTL port for CAM path %u already exists\n",
305 __func__, xpt_path_path_id(path));
324 softc->sim = xpt_path_sim(path);
410 printf("%s: WWPN %#jx port 0x%06x path %u target %u %s\n",
412 xpt_path_path_id(path), dev_chg->target,
416 printf("%s: CTL port for CAM path %u not "
418 xpt_path_path_id(path));
472 cam_release_devq(periph->path,
480 xpt_setup_ccb(&ccb.ccb_h, periph->path, CAM_PRIORITY_NONE);
488 xpt_print(periph->path, "%s: Enable LUN failed, status 0x%x\n",
525 xpt_setup_ccb(&new_ccb->ccb_h, periph->path, CAM_PRIORITY_NONE);
541 xpt_print(periph->path, "%s: could not acquire reference "
547 xpt_print(periph->path, "%s: could not allocate ATIO CCBs, "
572 xpt_setup_ccb(&new_ccb->ccb_h, periph->path, CAM_PRIORITY_NONE);
594 xpt_print(periph->path, "%s: could not allocate immediate "
615 xpt_setup_ccb(&ccb.ccb_h, periph->path, CAM_PRIORITY_NONE);
634 xpt_print(periph->path, "%s: Disable LUN failed, status 0x%x\n",
1006 xpt_setup_ccb_flags(&ccb->ccb_h, periph->path, CAM_PRIORITY_NONE,
1102 cam_release_devq(periph->path,
1141 * Only SCSI I/O comes down this path, resets, etc. come
1142 * down the immediate notify path below.
1473 xpt_print(periph->path,
1481 xpt_print(periph->path,
1528 struct cam_path *path;
1531 status = xpt_create_path(&path, /*periph*/ NULL, bus_softc->path_id,
1534 printf("%s: unable to create path!\n", __func__);
1538 xpt_setup_ccb(&ccb->ccb_h, path, CAM_PRIORITY_NONE);
1597 printf("%s: %s (path id %d) failed set WWNs: %#x\n",
1622 printf("%s: %s (path id %d) failed %s target role: %#x\n",
1626 printf("%s: %s (path id %d) target role %s succeeded\n",
1632 xpt_free_path(path);
1640 struct cam_path *path;
1650 status = xpt_create_path(&path, /*periph*/ NULL,
1654 printf("%s: unable to create path for wildcard periph\n",
1661 xpt_path_lock(path);
1662 periph = cam_periph_find(path, "ctl");
1665 xpt_path_unlock(path);
1666 xpt_free_path(path);
1679 path,
1694 xpt_path_unlock(path);
1696 xpt_free_path(path);
1703 struct cam_path *path;
1715 status = xpt_create_path(&path, /*periph*/ NULL,
1719 printf("%s: unable to create path for wildcard periph\n",
1723 xpt_path_lock(path);
1724 if ((periph = cam_periph_find(path, "ctl")) != NULL)
1726 xpt_path_unlock(path);
1727 xpt_free_path(path);
1732 * CTL. So we only need to create a path/periph for this particular bus.
1739 struct cam_path *path;
1747 status = xpt_create_path(&path, /*periph*/ NULL,
1751 printf("%s: could not create path, status %#x\n", __func__,
1757 xpt_path_lock(path);
1758 periph = cam_periph_find(path, "ctl");
1761 xpt_path_unlock(path);
1762 xpt_free_path(path);
1774 path,
1789 xpt_path_unlock(path);
1790 xpt_free_path(path);
1810 struct cam_path *path;
1812 path = lun_softc->periph->path;
1814 if ((xpt_path_target_id(path) == softc->target_id)
1815 && (xpt_path_lun_id(path) == lun_id)) {
1855 xpt_setup_ccb(&cgds.ccb_h, periph->path, CAM_PRIORITY_NORMAL);
1859 xpt_print(periph->path, "devq: openings %d, active %d, "
1887 xpt_print(periph->path,
1895 xpt_print(periph->path, "%d requests waiting for CCBs\n", num_items);
1896 xpt_print(periph->path, "%d CTIOs outstanding\n", softc->ctios_sent);
1915 periph = xpt_path_periph(ccb->ccb_h.path);
1935 periph = xpt_path_periph(ccb->ccb_h.path);