Searched refs:cpu_limit (Results 1 – 2 of 2) sorted by relevance
24 void posix_cputimers_group_init(struct posix_cputimers *pct, u64 cpu_limit) in posix_cputimers_group_init() argument27 if (cpu_limit != RLIM_INFINITY) { in posix_cputimers_group_init()28 pct->bases[CPUCLOCK_PROF].nextevt = cpu_limit * NSEC_PER_SEC; in posix_cputimers_group_init()
1790 unsigned long cpu_limit; in posix_cpu_timers_init_group() local1792 cpu_limit = READ_ONCE(sig->rlim[RLIMIT_CPU].rlim_cur); in posix_cpu_timers_init_group()1793 posix_cputimers_group_init(pct, cpu_limit); in posix_cpu_timers_init_group()