Home
last modified time | relevance | path

Searched refs:weight (Results 1 – 7 of 7) sorted by relevance

/kernel/events/
Dhw_breakpoint.c176 fetch_this_slot(struct bp_busy_slots *slots, int weight) in fetch_this_slot() argument
178 slots->pinned += weight; in fetch_this_slot()
185 enum bp_type_idx type, int weight) in toggle_bp_task_slot() argument
191 new_idx = old_idx + weight; in toggle_bp_task_slot()
204 int weight) in toggle_bp_slot() argument
210 weight = -weight; in toggle_bp_slot()
214 get_bp_info(bp->cpu, type)->cpu_pinned += weight; in toggle_bp_slot()
220 toggle_bp_task_slot(bp, cpu, type, weight); in toggle_bp_slot()
284 int weight; in __reserve_bp_slot() local
296 weight = hw_breakpoint_weight(bp); in __reserve_bp_slot()
[all …]
Dcore.c1298 size += sizeof(data->weight); in perf_event__header_size()
5054 perf_output_put(handle, data->weight); in perf_output_sample()
/kernel/sched/
Dfair.c133 lw->weight += inc; in update_load_add()
139 lw->weight -= dec; in update_load_sub()
145 lw->weight = w; in update_load_set()
206 w = scale_load_down(lw->weight); in __update_inv_weight()
228 static u64 __calc_delta(u64 delta_exec, unsigned long weight, struct load_weight *lw) in __calc_delta() argument
230 u64 fact = scale_load_down(weight); in __calc_delta()
612 if (unlikely(se->load.weight != NICE_0_LOAD)) in calc_delta_fair()
654 update_load_add(&lw, se->load.weight); in sched_slice()
657 slice = __calc_delta(slice, se->load.weight, load); in sched_slice()
696 sa->load_avg = scale_load_down(se->load.weight); in init_entity_runnable_average()
[all …]
Ddebug.c89 P(se->load.weight); in print_cfs_group_stats()
204 SEQ_printf(m, " .%-30s: %ld\n", "load", cfs_rq->load.weight); in print_cfs_rq()
290 rq->load.weight); in print_cpu()
623 P(se.load.weight); in proc_sched_show_task()
Drt.c619 int i, weight, more = 0; in do_balance_runtime() local
622 weight = cpumask_weight(rd->span); in do_balance_runtime()
648 diff = div_u64((u64)diff, weight); in do_balance_runtime()
1972 int weight; in set_cpus_allowed_rt() local
1979 weight = cpumask_weight(new_mask); in set_cpus_allowed_rt()
1985 if ((p->nr_cpus_allowed > 1) == (weight > 1)) in set_cpus_allowed_rt()
1993 if (weight <= 1) { in set_cpus_allowed_rt()
Ddeadline.c1636 int weight; in set_cpus_allowed_dl() local
1647 weight = cpumask_weight(new_mask); in set_cpus_allowed_dl()
1653 if ((p->nr_cpus_allowed > 1) == (weight > 1)) in set_cpus_allowed_dl()
1661 if (weight <= 1) { in set_cpus_allowed_dl()
Dcore.c846 load->weight = scale_load(WEIGHT_IDLEPRIO); in set_load_weight()
851 load->weight = scale_load(prio_to_weight[prio]); in set_load_weight()
2753 *load = rq->load.weight; in get_iowait_load()