• Home
  • Raw
  • Download

Lines Matching refs:period

1145 	unsigned long period = smin;  in task_scan_start()  local
1155 period *= refcount_read(&ng->refcount); in task_scan_start()
1156 period *= shared + 1; in task_scan_start()
1157 period /= private + shared + 1; in task_scan_start()
1161 return max(smin, period); in task_scan_start()
1178 unsigned long period = smax; in task_scan_max() local
1180 period *= refcount_read(&ng->refcount); in task_scan_max()
1181 period *= shared + 1; in task_scan_max()
1182 period /= private + shared + 1; in task_scan_max()
1184 smax = max(smax, period); in task_scan_max()
2010 static u64 numa_get_avg_runtime(struct task_struct *p, u64 *period) in numa_get_avg_runtime() argument
2019 *period = now - p->last_task_numa_placement; in numa_get_avg_runtime()
2022 if (unlikely((s64)*period < 0)) in numa_get_avg_runtime()
2023 *period = 0; in numa_get_avg_runtime()
2026 *period = LOAD_AVG_MAX; in numa_get_avg_runtime()
2129 u64 runtime, period; in task_numa_placement() local
2146 runtime = numa_get_avg_runtime(p, &period); in task_numa_placement()
2182 f_weight = div64_u64(runtime << 16, period + 1); in task_numa_placement()
2676 u64 period, now; in task_tick_numa() local
2691 period = (u64)curr->numa_scan_period * NSEC_PER_MSEC; in task_tick_numa()
2693 if (now > curr->node_stamp + period) { in task_tick_numa()
2696 curr->node_stamp += period; in task_tick_numa()
4937 overrun = hrtimer_forward_now(timer, cfs_b->period); in sched_cfs_period_timer()
4942 u64 new, old = ktime_to_ns(cfs_b->period); in sched_cfs_period_timer()
4951 cfs_b->period = ns_to_ktime(new); in sched_cfs_period_timer()
4985 cfs_b->period = ns_to_ktime(default_cfs_period()); in init_cfs_bandwidth()
5010 hrtimer_forward_now(&cfs_b->period_timer, cfs_b->period); in start_cfs_bandwidth()