Lines Matching refs:vmmdev_mtx
95 static struct sx vmmdev_mtx; variable
96 SX_SYSINIT(vmmdev_mtx, &vmmdev_mtx, "vmm device mutex");
181 sx_assert(&vmmdev_mtx, SA_XLOCKED); in vmmdev_lookup()
884 sx_xlock(&vmmdev_mtx); in vmmdev_destroy()
888 sx_xunlock(&vmmdev_mtx); in vmmdev_destroy()
899 sx_xlock(&vmmdev_mtx); in vmmdev_lookup_and_destroy()
902 sx_xunlock(&vmmdev_mtx); in vmmdev_lookup_and_destroy()
912 sx_xunlock(&vmmdev_mtx); in vmmdev_lookup_and_destroy()
985 sx_xlock(&vmmdev_mtx); in vmmdev_create()
988 sx_xunlock(&vmmdev_mtx); in vmmdev_create()
993 sx_xunlock(&vmmdev_mtx); in vmmdev_create()
999 sx_xunlock(&vmmdev_mtx); in vmmdev_create()
1019 sx_xunlock(&vmmdev_mtx); in vmmdev_create()
1024 sx_xunlock(&vmmdev_mtx); in vmmdev_create()
1065 sx_xlock(&vmmdev_mtx); in vmmctl_dtor()
1078 sx_sleep(sc, &vmmdev_mtx, 0, "vmmctl_dtor", 0); in vmmctl_dtor()
1084 sx_xunlock(&vmmdev_mtx); in vmmctl_dtor()
1089 sx_xlock(&vmmdev_mtx); in vmmctl_dtor()
1091 sx_xunlock(&vmmdev_mtx); in vmmctl_dtor()
1178 sx_xlock(&vmmdev_mtx); in vmmdev_init()
1184 sx_xunlock(&vmmdev_mtx); in vmmdev_init()
1192 sx_xlock(&vmmdev_mtx); in vmmdev_cleanup()
1194 sx_xunlock(&vmmdev_mtx); in vmmdev_cleanup()
1201 sx_xunlock(&vmmdev_mtx); in vmmdev_cleanup()
1322 sx_xlock(&vmmdev_mtx); in devmem_create_cdev()
1346 sx_xunlock(&vmmdev_mtx); in devmem_create_cdev()