Home
last modified time | relevance | path

Searched refs:mg_activation_count (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/contrib/openzfs/include/sys/
H A Dmetaslab_impl.h250 int64_t mg_activation_count; member
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dmetaslab.c991 mg->mg_allocatable = (mg->mg_activation_count > 0 && in metaslab_group_alloc_update()
1053 mg->mg_activation_count = 0; in metaslab_group_create()
1076 ASSERT(mg->mg_activation_count <= 0); in metaslab_group_destroy()
1102 ASSERT(mg->mg_activation_count <= 0); in metaslab_group_activate()
1104 if (++mg->mg_activation_count <= 0) in metaslab_group_activate()
1143 if (--mg->mg_activation_count != 0) { in metaslab_group_passivate()
1148 ASSERT(mg->mg_activation_count < 0); in metaslab_group_passivate()
1213 return (vs->vs_space != 0 && mg->mg_activation_count > 0); in metaslab_group_initialized()
4581 if (mg->mg_activation_count > 0) { in metaslab_sync_reassess()
5304 if (mg == NULL || mg->mg_class != mc || mg->mg_activation_count <= 0) { in metaslab_alloc_dva()
[all …]