Searched refs:count_of_bits (Results 1 – 2 of 2) sorted by relevance
97 int count_of_bits; in cat_perf_miss_val() local115 count_of_bits = count_bits(long_mask); in cat_perf_miss_val()118 n = count_of_bits / 2; in cat_perf_miss_val()120 if (n > count_of_bits - 1) { in cat_perf_miss_val()123 count_of_bits - 1); in cat_perf_miss_val()144 span = cache_size * (count_of_bits - n) / count_of_bits; in cat_perf_miss_val()166 span = cache_size * n / count_of_bits; in cat_perf_miss_val()
79 int count_of_bits; in cmt_resctrl_val() local94 count_of_bits = count_bits(long_mask); in cmt_resctrl_val()96 if (n < 1 || n > count_of_bits) { in cmt_resctrl_val()98 ksft_print_msg("Please enter value in range 1 to %d\n", count_of_bits); in cmt_resctrl_val()113 span = cache_size * n / count_of_bits; in cmt_resctrl_val()