Home
last modified time | relevance | path

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

/kernel/sched/
Dcputime.c259 u64 steal; in steal_account_process_time() local
261 steal = paravirt_steal_clock(smp_processor_id()); in steal_account_process_time()
262 steal -= this_rq()->prev_steal_time; in steal_account_process_time()
263 steal = min(steal, maxtime); in steal_account_process_time()
264 account_steal_time(steal); in steal_account_process_time()
265 this_rq()->prev_steal_time += steal; in steal_account_process_time()
267 return steal; in steal_account_process_time()
493 u64 cputime, steal; in account_process_tick() local
505 steal = steal_account_process_time(ULONG_MAX); in account_process_tick()
507 if (steal >= cputime) in account_process_tick()
[all …]
Dcore.c637 s64 __maybe_unused steal = 0, irq_delta = 0; in update_rq_clock_task() local
665 steal = paravirt_steal_clock(cpu_of(rq)); in update_rq_clock_task()
666 steal -= rq->prev_steal_time_rq; in update_rq_clock_task()
668 if (unlikely(steal > delta)) in update_rq_clock_task()
669 steal = delta; in update_rq_clock_task()
671 rq->prev_steal_time_rq += steal; in update_rq_clock_task()
672 delta -= steal; in update_rq_clock_task()
679 if ((irq_delta + steal) && sched_feat(NONTASK_CAPACITY)) in update_rq_clock_task()
680 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()