Home
last modified time | relevance | path

Searched refs:steal (Results 1 – 3 of 3) sorted by relevance

/kernel/sched/
Dcputime.c268 u64 steal; in steal_account_process_time() local
270 steal = paravirt_steal_clock(smp_processor_id()); in steal_account_process_time()
271 steal -= this_rq()->prev_steal_time; in steal_account_process_time()
272 steal = min(steal, maxtime); in steal_account_process_time()
273 account_steal_time(steal); in steal_account_process_time()
274 this_rq()->prev_steal_time += steal; in steal_account_process_time()
276 return steal; in steal_account_process_time()
502 u64 cputime, steal; in account_process_tick() local
519 steal = steal_account_process_time(ULONG_MAX); in account_process_tick()
521 if (steal >= cputime) in account_process_tick()
[all …]
Dcore.c699 s64 __maybe_unused steal = 0, irq_delta = 0; in update_rq_clock_task() local
728 steal = paravirt_steal_clock(cpu_of(rq)); in update_rq_clock_task()
729 steal -= rq->prev_steal_time_rq; in update_rq_clock_task()
731 if (unlikely(steal > delta)) in update_rq_clock_task()
732 steal = delta; in update_rq_clock_task()
734 rq->prev_steal_time_rq += steal; in update_rq_clock_task()
735 delta -= steal; in update_rq_clock_task()
742 if ((irq_delta + steal) && sched_feat(NONTASK_CAPACITY)) in update_rq_clock_task()
743 update_irq_load_avg(rq, irq_delta + steal); in update_rq_clock_task()
/kernel/bpf/
Dbpf_lru_list.c442 int steal, first_steal; in bpf_common_lru_pop_free() local
473 steal = first_steal; in bpf_common_lru_pop_free()
475 steal_loc_l = per_cpu_ptr(clru->local_list, steal); in bpf_common_lru_pop_free()
485 steal = get_next_cpu(steal); in bpf_common_lru_pop_free()
486 } while (!node && steal != first_steal); in bpf_common_lru_pop_free()
488 loc_l->next_steal = steal; in bpf_common_lru_pop_free()