Lines Matching refs:u64
23 void posix_cputimers_group_init(struct posix_cputimers *pct, u64 cpu_limit) in posix_cputimers_group_init()
40 u64 nsecs = rlim_new * NSEC_PER_SEC; in update_rlimit_cpu()
115 static u64 bump_cpu_timer(struct k_itimer *timer, u64 now) in bump_cpu_timer()
117 u64 delta, incr, expires = timer->it.cpu.node.expires; in bump_cpu_timer()
187 static u64 cpu_clock_sample(const clockid_t clkid, struct task_struct *p) in cpu_clock_sample()
189 u64 utime, stime; in cpu_clock_sample()
207 static inline void store_samples(u64 *samples, u64 stime, u64 utime, u64 rtime) in store_samples()
214 static void task_sample_cputime(struct task_struct *p, u64 *samples) in task_sample_cputime()
216 u64 stime, utime; in task_sample_cputime()
223 u64 *samples) in proc_sample_cputime_atomic()
225 u64 stime, utime, rtime; in proc_sample_cputime_atomic()
237 static inline void __update_gt_cputime(atomic64_t *cputime, u64 sum_cputime) in __update_gt_cputime()
239 u64 curr_cputime; in __update_gt_cputime()
267 void thread_group_sample_cputime(struct task_struct *tsk, u64 *samples) in thread_group_sample_cputime()
289 static void thread_group_start_cputime(struct task_struct *tsk, u64 *samples) in thread_group_start_cputime()
320 static void __thread_group_cputime(struct task_struct *tsk, u64 *samples) in __thread_group_cputime()
333 static u64 cpu_clock_sample_group(const clockid_t clkid, struct task_struct *p, in cpu_clock_sample_group()
338 u64 samples[CPUCLOCK_MAX]; in cpu_clock_sample_group()
356 u64 t; in posix_cpu_clock_get()
554 u64 newexp = cpu_timer_getexpires(ctmr); in arm_timer()
621 u64 old_expires, new_expires, old_incr, val; in posix_cpu_timer_set()
697 u64 exp = bump_cpu_timer(timer, val); in posix_cpu_timer_set()
786 u64 now, expires = cpu_timer_getexpires(ctmr); in posix_cpu_timer_get()
826 static u64 collect_timerqueue(struct timerqueue_head *head, in collect_timerqueue()
827 struct list_head *firing, u64 now) in collect_timerqueue()
834 u64 expires; in collect_timerqueue()
852 static void collect_posix_cputimers(struct posix_cputimers *pct, u64 *samples, in collect_posix_cputimers()
872 static bool check_rlimit(u64 time, u64 limit, int signo, bool rt, bool hard) in check_rlimit()
895 u64 samples[CPUCLOCK_MAX]; in check_thread_timers()
942 u64 *expires, u64 cur_time, int signo) in check_cpu_itimer()
973 u64 samples[CPUCLOCK_MAX]; in check_process_timers()
1011 u64 ptime = samples[CPUCLOCK_PROF]; in check_process_timers()
1012 u64 softns = (u64)soft * NSEC_PER_SEC; in check_process_timers()
1013 u64 hardns = (u64)hard * NSEC_PER_SEC; in check_process_timers()
1047 u64 now; in posix_cpu_timer_rearm()
1088 task_cputimers_expired(const u64 *samples, struct posix_cputimers *pct) in task_cputimers_expired()
1115 u64 samples[CPUCLOCK_MAX]; in fastpath_timer_check()
1140 u64 samples[CPUCLOCK_MAX]; in fastpath_timer_check()
1456 u64 *newval, u64 *oldval) in set_process_cpu_timer()
1458 u64 now, *nextevt; in set_process_cpu_timer()
1500 u64 expires; in do_cpu_nanosleep()