Searched refs:HST_FIXED_SHIFT (Results 1 – 1 of 1) sorted by relevance
36 #define HST_FIXED_SHIFT 10 /* 10 bits of decimal precision */ macro37 #define HST_FIXED_MAX (ULLONG_MAX >> HST_FIXED_SHIFT)38 #define HST_FIXED_1 (1 << HST_FIXED_SHIFT)126 last += 1ULL << (HST_FIXED_SHIFT - 1); in fixed_ema()127 return last >> HST_FIXED_SHIFT; in fixed_ema()171 s->weights[i] = fixed_power(base, HST_FIXED_SHIFT, i + 1); in hst_set_weights()413 hst1 >>= HST_FIXED_SHIFT; in hst_compare()414 hst2 >>= HST_FIXED_SHIFT; in hst_compare()516 (s->valid_count * (pi->historical_service_time >> HST_FIXED_SHIFT)); in hst_end_io()