Lines Matching refs:tprof_startstop_lock
124 static kmutex_t tprof_startstop_lock; variable
270 KASSERT(mutex_owned(&tprof_startstop_lock)); in tprof_stop1()
291 KASSERT(mutex_owned(&tprof_startstop_lock)); in tprof_getinfo()
340 KASSERT(mutex_owned(&tprof_startstop_lock)); in tprof_start()
425 KASSERT(mutex_owned(&tprof_startstop_lock)); in tprof_stop()
684 KASSERT(mutex_owned(&tprof_startstop_lock)); in tprof_backend_lookup()
744 mutex_enter(&tprof_startstop_lock); in tprof_backend_register()
747 mutex_exit(&tprof_startstop_lock); in tprof_backend_register()
752 mutex_exit(&tprof_startstop_lock); in tprof_backend_register()
765 mutex_exit(&tprof_startstop_lock); in tprof_backend_register()
786 mutex_enter(&tprof_startstop_lock); in tprof_backend_unregister()
790 mutex_exit(&tprof_startstop_lock); in tprof_backend_unregister()
795 mutex_exit(&tprof_startstop_lock); in tprof_backend_unregister()
803 mutex_exit(&tprof_startstop_lock); in tprof_backend_unregister()
841 mutex_enter(&tprof_startstop_lock); in tprof_close()
856 mutex_exit(&tprof_startstop_lock); in tprof_close()
1015 mutex_enter(&tprof_startstop_lock); in tprof_ioctl()
1017 mutex_exit(&tprof_startstop_lock); in tprof_ioctl()
1025 mutex_enter(&tprof_startstop_lock); in tprof_ioctl()
1027 mutex_exit(&tprof_startstop_lock); in tprof_ioctl()
1030 mutex_enter(&tprof_startstop_lock); in tprof_ioctl()
1032 mutex_exit(&tprof_startstop_lock); in tprof_ioctl()
1041 mutex_enter(&tprof_startstop_lock); in tprof_ioctl()
1043 mutex_exit(&tprof_startstop_lock); in tprof_ioctl()
1047 mutex_enter(&tprof_startstop_lock); in tprof_ioctl()
1049 mutex_exit(&tprof_startstop_lock); in tprof_ioctl()
1112 mutex_init(&tprof_startstop_lock, MUTEX_DEFAULT, IPL_NONE); in tprof_driver_init()
1128 mutex_destroy(&tprof_startstop_lock); in tprof_driver_fini()