Searched refs:mg_lock (Results 1 – 2 of 2) sorted by relevance
436 mutex_enter(&mg->mg_lock); in metaslab_group_alloc_update()472 mutex_exit(&mg->mg_lock); in metaslab_group_alloc_update()481 mutex_init(&mg->mg_lock, NULL, MUTEX_DEFAULT, NULL); in metaslab_group_create()508 mutex_destroy(&mg->mg_lock); in metaslab_group_destroy()628 mutex_enter(&mg->mg_lock); in metaslab_group_histogram_add()635 mutex_exit(&mg->mg_lock); in metaslab_group_histogram_add()648 mutex_enter(&mg->mg_lock); in metaslab_group_histogram_remove()660 mutex_exit(&mg->mg_lock); in metaslab_group_histogram_remove()667 mutex_enter(&mg->mg_lock); in metaslab_group_add()671 mutex_exit(&mg->mg_lock); in metaslab_group_add()[all …]
84 kmutex_t mg_lock; member