Searched refs:new_idx (Results 1 – 2 of 2) sorted by relevance
224 int new_idx = cp->size++; in cpudl_set() local226 cp->elements[new_idx].dl = dl; in cpudl_set()227 cp->elements[new_idx].cpu = cpu; in cpudl_set()228 cp->elements[cpu].idx = new_idx; in cpudl_set()229 cpudl_heapify_up(cp, new_idx); in cpudl_set()
240 const int new_idx = old_idx + val; in bp_slots_histogram_add() local244 if (new_idx >= 0) in bp_slots_histogram_add()245 WARN_ON(atomic_inc_return_relaxed(&hist->count[new_idx]) < 0); in bp_slots_histogram_add()