Searched refs:xpt_path_mtx (Results 1 – 5 of 5) sorted by relevance
123 struct mtx * xpt_path_mtx(struct cam_path *path);124 #define xpt_path_lock(path) mtx_lock(xpt_path_mtx(path))125 #define xpt_path_unlock(path) mtx_unlock(xpt_path_mtx(path))126 #define xpt_path_assert(path, what) mtx_assert(xpt_path_mtx(path), (what))127 #define xpt_path_owned(path) mtx_owned(xpt_path_mtx(path))129 msleep((chan), xpt_path_mtx(path), (priority), (wmesg), (timo))
217 return (xpt_path_mtx(periph->path)); in cam_periph_mtx()223 mtx_owned(xpt_path_mtx((periph)->path))226 mtx_lock(xpt_path_mtx((periph)->path))229 mtx_unlock(xpt_path_mtx((periph)->path))232 mtx_assert(xpt_path_mtx((periph)->path), (what))
816 mtx = xpt_path_mtx(ccb->ccb_h.path); in xpt_scanner_thread()5246 xpt_path_mtx(struct cam_path *path) in xpt_path_mtx() function5351 mtx = xpt_path_mtx(ccb_h->path); in xpt_done_process()5362 mtx = xpt_path_mtx(ccb_h->path); in xpt_done_process()
1457 mtx = xpt_path_mtx(scan_info->request_ccb->ccb_h.path); in ata_scan_bus()1463 mtx = xpt_path_mtx(scan_info->request_ccb->ccb_h.path); in ata_scan_bus()
2026 mtx = xpt_path_mtx(scan_info->request_ccb->ccb_h.path); in scsi_scan_bus()2091 mtx = xpt_path_mtx(scan_info->request_ccb->ccb_h.path); in scsi_scan_bus()