Searched refs:xpt_path_mtx (Results 1 – 5 of 5) sorted by relevance
125 struct mtx * xpt_path_mtx(struct cam_path *path);126 #define xpt_path_lock(path) mtx_lock(xpt_path_mtx(path))127 #define xpt_path_unlock(path) mtx_unlock(xpt_path_mtx(path))128 #define xpt_path_assert(path, what) mtx_assert(xpt_path_mtx(path), (what))129 #define xpt_path_owned(path) mtx_owned(xpt_path_mtx(path))131 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))
819 mtx = xpt_path_mtx(ccb->ccb_h.path); in xpt_scanner_thread()5249 xpt_path_mtx(struct cam_path *path) in xpt_path_mtx() function5354 mtx = xpt_path_mtx(ccb_h->path); in xpt_done_process()5365 mtx = xpt_path_mtx(ccb_h->path); in xpt_done_process()
1459 mtx = xpt_path_mtx(scan_info->request_ccb->ccb_h.path); in ata_scan_bus()1465 mtx = xpt_path_mtx(scan_info->request_ccb->ccb_h.path); in ata_scan_bus()
2028 mtx = xpt_path_mtx(scan_info->request_ccb->ccb_h.path); in scsi_scan_bus()2093 mtx = xpt_path_mtx(scan_info->request_ccb->ccb_h.path); in scsi_scan_bus()