Lines Matching defs:path

130     struct cam_path *path, void *arg);
133 static void mprsas_check_eedp(struct mpr_softc *sc, struct cam_path *path,
264 xpt_release_devq(tm->cm_ccb->ccb_h.path, 1, TRUE);
265 xpt_free_path(tm->cm_ccb->ccb_h.path);
296 if (xpt_create_path(&ccb->ccb_h.path, NULL, pathid, targetid,
298 mpr_dprint(sc, MPR_ERROR, "unable to create path for rescan\n");
332 xpt_path_string(cm->cm_ccb->csio.ccb_h.path, path_str,
803 status = xpt_create_path(&sassc->path, /*periph*/NULL,
807 mpr_printf(sc, "Error %#x creating sim path\n", status);
808 sassc->path = NULL;
821 * xpt_register_async() with a particular path specified.
823 * If a path isn't specified, xpt_register_async() will
824 * generate a wildcard path and acquire the XPT lock while
828 * If a path is specified for xpt_register_async(), it will
832 * calling xpt_register_async() when the path is specified.
858 sassc->path);
865 xpt_free_path(sassc->path);
866 sassc->path = NULL;
914 if (sassc->path != NULL) {
915 xpt_register_async(0, mprsas_async, sc, sassc->path);
916 xpt_free_path(sassc->path);
917 sassc->path = NULL;
1110 struct cam_path *path;
1115 if (xpt_create_path(&path, NULL,
1117 mpr_dprint(sc, MPR_ERROR, "unable to create path for reset "
1122 xpt_async(ac_code, path, NULL);
1123 xpt_free_path(path);
1759 xpt_freeze_devq(ccb->ccb_h.path, 1);
2239 * be retained below. We'll go through the "fast path",
2276 /* Take the fast path to completion */
2305 xpt_freeze_devq(ccb->ccb_h.path, /*count*/ 1);
2534 xpt_freeze_devq(ccb->ccb_h.path, /*count*/ 1);
2887 sasaddr = xpt_path_sas_addr(ccb->ccb_h.path);
3077 mprsas_async(void *callback_arg, uint32_t code, struct cam_path *path,
3116 if (xpt_path_path_id(path) != sassc->sim->path_id)
3123 KASSERT(xpt_path_target_id(path) < sassc->maxtargets,
3125 xpt_path_target_id(path)));
3126 target = &sassc->targets[xpt_path_target_id(path)];
3130 lunid = xpt_path_lun_id(path);
3152 xpt_setup_ccb(&cdai.ccb_h, path, CAM_PRIORITY_NORMAL);
3166 cam_release_devq(cdai.ccb_h.path, 0, 0, 0, FALSE);
3190 if (xpt_path_path_id(path) != sc->sassc->sim->path_id)
3197 mprsas_check_eedp(sc, path, cgd);
3209 mprsas_check_eedp(struct mpr_softc *sc, struct cam_path *path,
3227 targetid = xpt_path_target_id(path);
3228 lunid = xpt_path_lun_id(path);
3259 mpr_dprint(sc, MPR_ERROR, "Unable to create path for EEDP "
3290 mpr_dprint(sc, MPR_INFO, "Sending read cap: path %s handle %d\n",
3303 xpt_free_path(ccb->ccb_h.path);
3351 xpt_release_devq(done_ccb->ccb_h.path,
3358 * Get the LUN ID for the path and look it up in the LUN list for the
3393 // Finished with this CCB and path.
3395 xpt_free_path(done_ccb->ccb_h.path);
3411 * happen, the devq will be frozen. The CCB holds the path which is
3418 if (xpt_create_path(&ccb->ccb_h.path, xpt_periph, path_id,