Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/
Dposix-timers.h136 void posix_cputimers_group_init(struct posix_cputimers *pct, u64 cpu_limit);
165 u64 cpu_limit) { } in posix_cputimers_group_init() argument
/Linux-v5.4/kernel/time/
Dposix-cpu-timers.c23 void posix_cputimers_group_init(struct posix_cputimers *pct, u64 cpu_limit) in posix_cputimers_group_init() argument
26 if (cpu_limit != RLIM_INFINITY) { in posix_cputimers_group_init()
27 pct->bases[CPUCLOCK_PROF].nextevt = cpu_limit * NSEC_PER_SEC; in posix_cputimers_group_init()
/Linux-v5.4/kernel/
Dfork.c1541 unsigned long cpu_limit; in posix_cpu_timers_init_group() local
1543 cpu_limit = READ_ONCE(sig->rlim[RLIMIT_CPU].rlim_cur); in posix_cpu_timers_init_group()
1544 posix_cputimers_group_init(pct, cpu_limit); in posix_cpu_timers_init_group()