Home
last modified time | relevance | path

Searched refs:xpt_path_mtx (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/cam/
H A Dcam_xpt.h123 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))
H A Dcam_periph.h217 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))
H A Dcam_xpt.c816 mtx = xpt_path_mtx(ccb->ccb_h.path); in xpt_scanner_thread()
5246 xpt_path_mtx(struct cam_path *path) in xpt_path_mtx() function
5351 mtx = xpt_path_mtx(ccb_h->path); in xpt_done_process()
5362 mtx = xpt_path_mtx(ccb_h->path); in xpt_done_process()
/freebsd/sys/cam/ata/
H A Data_xpt.c1457 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()
/freebsd/sys/cam/scsi/
H A Dscsi_xpt.c2026 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()