Lines Matching defs:path
159 char *name, cam_periph_type type, struct cam_path *path,
175 * of our type assigned to this path, we are likely waiting for
180 if ((periph = cam_periph_find(path, name)) != NULL) {
207 sim = xpt_path_sim(path);
208 path_id = xpt_path_path_id(path);
209 target_id = xpt_path_target_id(path);
210 lun_id = xpt_path_lun_id(path);
221 status = xpt_create_path(&path, periph, path_id, target_id, lun_id);
224 periph->path = path;
234 xpt_free_path(periph->path);
259 CAM_DEBUG(periph->path, CAM_DEBUG_INFO, ("Periph created\n"));
272 CAM_DEBUG(periph->path, CAM_DEBUG_INFO, ("Periph destroyed\n"));
279 xpt_free_path(periph->path);
294 * Find a peripheral structure with the specified path, target, lun,
296 * the first peripheral driver that matches the specified path.
299 cam_periph_find(struct cam_path *path, char *name)
311 if (xpt_path_comp(periph->path, path) == 0) {
327 * Find peripheral driver instances attached to the specified path.
330 cam_periph_list(struct cam_path *path, struct sbuf *sb)
346 if (xpt_path_comp(periph->path, path) != 0)
513 xpt_print(periph->path, "Duplicate Wired "
515 xpt_print(periph->path, "Second device (%s "
611 CAM_DEBUG(periph->path, CAM_DEBUG_INFO, ("Periph invalidated\n"));
679 xpt_print(periph->path, "Periph destroyed\n");
681 CAM_DEBUG(periph->path, CAM_DEBUG_INFO, ("Periph destroyed\n"));
690 xpt_setup_ccb(&ccb.ccb_h, periph->path, CAM_PRIORITY_NORMAL);
696 xpt_setup_ccb(&ccb.ccb_h, periph->path, CAM_PRIORITY_NORMAL);
705 periph->path, arg);
707 xpt_free_path(periph->path);
984 xpt_path_sleep(ccb->ccb_h.path, &ccb->ccb_h.cbfcnp, PRIBIO,
1004 ccb->ccb_h.path,
1071 xpt_path_assert(ccb->ccb_h.path, MA_OWNED);
1099 cam_release_devq(ccb->ccb_h.path,
1133 cam_freeze_devq(struct cam_path *path)
1137 CAM_DEBUG(path, CAM_DEBUG_TRACE, ("cam_freeze_devq\n"));
1138 xpt_setup_ccb(&ccb_h, path, /*priority*/1);
1145 cam_release_devq(struct cam_path *path, u_int32_t relsim_flags,
1151 CAM_DEBUG(path, CAM_DEBUG_TRACE, ("cam_release_devq(%u, %u, %u, %d)\n",
1153 xpt_setup_ccb(&crs.ccb_h, path, CAM_PRIORITY_NORMAL);
1193 cam_release_devq(done_ccb->ccb_h.path,
1206 cam_release_devq(done_ccb->ccb_h.path, 0, 0, 0, 0);
1218 xpt_async(AC_INQ_CHANGED, done_ccb->ccb_h.path, NULL);
1234 cam_release_devq(done_ccb->ccb_h.path, 0, 0, 0, 0);
1244 struct cam_path *path, void *arg)
1260 xpt_setup_ccb(&cgds.ccb_h, periph->path, CAM_PRIORITY_NORMAL);
1285 cam_freeze_devq(periph->path);
1286 cam_release_devq(periph->path,
1331 ccb->ccb_h.path,
1411 periph = xpt_path_periph(ccb->ccb_h.path);
1436 xpt_setup_ccb(&cgd.ccb_h, ccb->ccb_h.path, CAM_PRIORITY_NORMAL);
1623 periph = xpt_path_periph(ccb->ccb_h.path);
1757 CAM_DEBUGGED(ccb->ccb_h.path, CAM_DEBUG_INFO))
1767 xpt_print(ccb->ccb_h.path, "Error %d, %s\n",
1770 xpt_print(ccb->ccb_h.path, "%s\n", action_string);
1772 xpt_print(ccb->ccb_h.path, "Retrying command\n");
1785 * path in the original CCB.
1790 lun_id = xpt_path_lun_id(ccb->ccb_h.path);
1792 /* Should we do more if we can't create the path?? */
1794 xpt_path_path_id(ccb->ccb_h.path),
1795 xpt_path_target_id(ccb->ccb_h.path),
1809 xpt_async(AC_UNIT_ATTENTION, orig_ccb->ccb_h.path, orig_ccb);
1814 xpt_path_path_id(ccb->ccb_h.path),
1815 xpt_path_target_id(ccb->ccb_h.path),
1820 scan_ccb->ccb_h.path = newpath;
1839 cam_release_devq(ccb->ccb_h.path,
1866 periph = xpt_path_periph(ccb->ccb_h.path);
1872 xpt_setup_ccb(&cgd->ccb_h, ccb->ccb_h.path,