Home
last modified time | relevance | path

Searched refs:new_idx (Results 1 – 2 of 2) sorted by relevance

/kernel/sched/
Dcpudeadline.c224 int new_idx = cp->size++; in cpudl_set() local
226 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()
/kernel/events/
Dhw_breakpoint.c240 const int new_idx = old_idx + val; in bp_slots_histogram_add() local
244 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()