Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/include/sys/
H A Dmetaslab_impl.h135 #define WEIGHT_GET_INDEX(weight) BF64_GET((weight), 54, 6) macro
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dmetaslab.c3381 1ULL << (WEIGHT_GET_INDEX(msp->ms_weight) + 1)); in metaslab_should_allocate()
3649 int activation_idx = WEIGHT_GET_INDEX(msp->ms_activation_weight); in metaslab_segment_may_passivate()
3650 int current_idx = WEIGHT_GET_INDEX(weight); in metaslab_segment_may_passivate()