Searched refs:count_of_bits (Results 1 – 2 of 2) sorted by relevance
97 int count_of_bits; in cat_perf_miss_val() local114 count_of_bits = count_bits(long_mask); in cat_perf_miss_val()117 n = count_of_bits / 2; in cat_perf_miss_val()119 if (n > count_of_bits - 1) { in cat_perf_miss_val()122 count_of_bits - 1); in cat_perf_miss_val()143 param.span = cache_size * (count_of_bits - n) / count_of_bits; in cat_perf_miss_val()165 param.span = cache_size * n / count_of_bits; in cat_perf_miss_val()
76 int count_of_bits; in cmt_resctrl_val() local93 count_of_bits = count_bits(long_mask); in cmt_resctrl_val()95 if (n < 1 || n > count_of_bits) { in cmt_resctrl_val()97 ksft_print_msg("Please enter value in range 1 to %d\n", count_of_bits); in cmt_resctrl_val()108 .span = cache_size * n / count_of_bits, in cmt_resctrl_val()