Home
last modified time | relevance | path

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

/Linux-v5.15/include/linux/
Dposix-timers.h130 struct posix_cputimers { struct
146 static inline void posix_cputimers_init(struct posix_cputimers *pct) in posix_cputimers_init() argument
154 void posix_cputimers_group_init(struct posix_cputimers *pct, u64 cpu_limit);
156 static inline void posix_cputimers_rt_watchdog(struct posix_cputimers *pct, in posix_cputimers_rt_watchdog()
174 .posix_cputimers = { \
175 .bases = INIT_CPU_TIMERBASES(s.posix_cputimers.bases), \
178 struct posix_cputimers { }; struct
181 static inline void posix_cputimers_init(struct posix_cputimers *pct) { } in posix_cputimers_init()
182 static inline void posix_cputimers_group_init(struct posix_cputimers *pct, in posix_cputimers_group_init()
Dsched.h1025 struct posix_cputimers posix_cputimers; member
/Linux-v5.15/kernel/time/
Dposix-cpu-timers.c23 void posix_cputimers_group_init(struct posix_cputimers *pct, u64 cpu_limit) in posix_cputimers_group_init()
145 static inline bool expiry_cache_is_inactive(const struct posix_cputimers *pct) in expiry_cache_is_inactive()
270 struct posix_cputimers *pct = &tsk->signal->posix_cputimers; in thread_group_sample_cputime()
292 struct posix_cputimers *pct = &tsk->signal->posix_cputimers; in thread_group_start_cputime()
337 struct posix_cputimers *pct = &p->signal->posix_cputimers; in cpu_clock_sample_group()
416 return tsk->posix_cputimers.bases + clkidx; in timer_base()
418 return tsk->signal->posix_cputimers.bases + clkidx; in timer_base()
525 static void cleanup_timers(struct posix_cputimers *pct) in cleanup_timers()
539 cleanup_timers(&tsk->posix_cputimers); in posix_cpu_timers_exit()
543 cleanup_timers(&tsk->signal->posix_cputimers); in posix_cpu_timers_exit_group()
[all …]
/Linux-v5.15/include/linux/sched/
Dcputime.h87 if (!READ_ONCE(tsk->signal->posix_cputimers.timers_active)) in get_running_cputimer()
Dsignal.h150 struct posix_cputimers posix_cputimers; member
/Linux-v5.15/kernel/
Dfork.c1630 struct posix_cputimers *pct = &sig->posix_cputimers; in posix_cpu_timers_init_group()
2119 posix_cputimers_init(&p->posix_cputimers); in copy_process()
/Linux-v5.15/kernel/sched/
Drt.c2427 posix_cputimers_rt_watchdog(&p->posix_cputimers, in watchdog()