Lines Matching refs:vmmdev_mtx
97 static struct sx vmmdev_mtx; variable
98 SX_SYSINIT(vmmdev_mtx, &vmmdev_mtx, "vmm device mutex");
183 sx_assert(&vmmdev_mtx, SA_XLOCKED); in vmmdev_lookup()
889 sx_xlock(&vmmdev_mtx); in vmmdev_destroy()
893 sx_xunlock(&vmmdev_mtx); in vmmdev_destroy()
905 sx_xlock(&vmmdev_mtx); in vmmdev_lookup_and_destroy()
908 sx_xunlock(&vmmdev_mtx); in vmmdev_lookup_and_destroy()
918 sx_xunlock(&vmmdev_mtx); in vmmdev_lookup_and_destroy()
928 sx_xunlock(&vmmdev_mtx); in vmmdev_lookup_and_destroy()
1001 sx_xlock(&vmmdev_mtx); in vmmdev_create()
1004 sx_xunlock(&vmmdev_mtx); in vmmdev_create()
1014 sx_xunlock(&vmmdev_mtx); in vmmdev_create()
1020 sx_xunlock(&vmmdev_mtx); in vmmdev_create()
1026 sx_xunlock(&vmmdev_mtx); in vmmdev_create()
1046 sx_xunlock(&vmmdev_mtx); in vmmdev_create()
1051 sx_xunlock(&vmmdev_mtx); in vmmdev_create()
1092 sx_xlock(&vmmdev_mtx); in vmmctl_dtor()
1105 sx_sleep(sc, &vmmdev_mtx, 0, "vmmctl_dtor", 0); in vmmctl_dtor()
1111 sx_xunlock(&vmmdev_mtx); in vmmctl_dtor()
1116 sx_xlock(&vmmdev_mtx); in vmmctl_dtor()
1118 sx_xunlock(&vmmdev_mtx); in vmmctl_dtor()
1205 sx_xlock(&vmmdev_mtx); in vmmdev_init()
1214 sx_xunlock(&vmmdev_mtx); in vmmdev_init()
1222 sx_xlock(&vmmdev_mtx); in vmmdev_cleanup()
1224 sx_xunlock(&vmmdev_mtx); in vmmdev_cleanup()
1231 sx_xunlock(&vmmdev_mtx); in vmmdev_cleanup()
1352 sx_xlock(&vmmdev_mtx); in devmem_create_cdev()
1376 sx_xunlock(&vmmdev_mtx); in devmem_create_cdev()