Searched refs:nr_levels (Results 1 – 2 of 2) sorted by relevance
256 unsigned nr_levels; member269 static void q_init(struct queue *q, struct entry_space *es, unsigned nr_levels) in q_init() argument275 q->nr_levels = nr_levels; in q_init()277 for (i = 0; i < q->nr_levels; i++) { in q_init()340 max_level = min(max_level, q->nr_levels); in q_peek()359 struct entry *e = q_peek(q, q->nr_levels, true); in q_pop()376 for (; level < q->nr_levels; level++) in __redist_pop_from()388 unsigned level, nr_levels, entries_per_level, remainder; in q_set_targets_subrange_() local391 BUG_ON(lend > q->nr_levels); in q_set_targets_subrange_()392 nr_levels = lend - lbegin; in q_set_targets_subrange_()[all …]
324 unsigned int nr_levels; in em_is_sane() local337 nr_levels = cpufreq_cdev->max_level + 1; in em_is_sane()338 if (em_pd_nr_perf_states(em) != nr_levels) { in em_is_sane()341 em_pd_nr_perf_states(em), nr_levels); in em_is_sane()