Lines Matching defs:path

140 			 struct cam_path *path, void *arg);
143 static void mpssas_check_eedp(struct mps_softc *sc, struct cam_path *path,
261 xpt_release_devq(tm->cm_ccb->ccb_h.path, 1, TRUE);
262 xpt_free_path(tm->cm_ccb->ccb_h.path);
293 if (xpt_create_path(&ccb->ccb_h.path, NULL, pathid,
295 mps_dprint(sc, MPS_ERROR, "unable to create path for rescan\n");
329 xpt_path_string(cm->cm_ccb->csio.ccb_h.path, path_str,
801 status = xpt_create_path(&sassc->path, /*periph*/NULL,
805 mps_printf(sc, "Error %#x creating sim path\n", status);
806 sassc->path = NULL;
817 sassc->path);
822 xpt_free_path(sassc->path);
823 sassc->path = NULL;
871 if (sassc->path != NULL) {
872 xpt_register_async(0, mpssas_async, sc, sassc->path);
873 xpt_free_path(sassc->path);
874 sassc->path = NULL;
1058 struct cam_path *path;
1063 if (xpt_create_path(&path, NULL,
1065 mps_dprint(sc, MPS_ERROR, "unable to create path for reset "
1070 xpt_async(ac_code, path, NULL);
1071 xpt_free_path(path);
1698 xpt_freeze_devq(ccb->ccb_h.path, 1);
2164 * be retained below. We'll go through the "fast path",
2201 /* Take the fast path to completion */
2230 xpt_freeze_devq(ccb->ccb_h.path, /*count*/ 1);
2475 xpt_freeze_devq(ccb->ccb_h.path, /*count*/ 1);
3039 sasaddr = xpt_path_sas_addr(ccb->ccb_h.path);
3234 mpssas_async(void *callback_arg, uint32_t code, struct cam_path *path,
3268 KASSERT(xpt_path_target_id(path) < sassc->maxtargets,
3270 xpt_path_target_id(path)));
3271 target = &sassc->targets[xpt_path_target_id(path)];
3275 lunid = xpt_path_lun_id(path);
3297 xpt_setup_ccb(&cdai.ccb_h, path, CAM_PRIORITY_NORMAL);
3311 cam_release_devq(cdai.ccb_h.path,
3329 mpssas_check_eedp(sc, path, cgd);
3341 mpssas_check_eedp(struct mps_softc *sc, struct cam_path *path,
3360 targetid = xpt_path_target_id(path);
3361 lunid = xpt_path_lun_id(path);
3397 "path for EEDP support\n");
3430 mps_dprint(sc, MPS_INFO, "Sending read cap: path %s handle %d\n",
3443 xpt_free_path(ccb->ccb_h.path);
3491 xpt_release_devq(done_ccb->ccb_h.path,
3498 * Get the LUN ID for the path and look it up in the LUN list for the
3535 // Finished with this CCB and path.
3537 xpt_free_path(done_ccb->ccb_h.path);
3553 * happen, the devq will be frozen. The CCB holds the path which is
3560 if (xpt_create_path(&ccb->ccb_h.path, xpt_periph, path_id,