/kernel/linux/linux-5.10/sound/core/ |
D | hrtimer.c | 32 struct snd_hrtimer *stime = container_of(hrt, struct snd_hrtimer, hrt); in snd_hrtimer_callback() local 33 struct snd_timer *t = stime->timer; in snd_hrtimer_callback() 41 stime->in_callback = true; in snd_hrtimer_callback() 50 snd_timer_interrupt(stime->timer, ticks); in snd_hrtimer_callback() 58 stime->in_callback = false; in snd_hrtimer_callback() 66 struct snd_hrtimer *stime; in snd_hrtimer_open() local 68 stime = kzalloc(sizeof(*stime), GFP_KERNEL); in snd_hrtimer_open() 69 if (!stime) in snd_hrtimer_open() 71 hrtimer_init(&stime->hrt, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in snd_hrtimer_open() 72 stime->timer = t; in snd_hrtimer_open() [all …]
|
/kernel/linux/linux-5.10/kernel/sched/ |
D | cputime.c | 183 p->stime += cputime; in account_system_index_time() 311 u64 utime, stime; in thread_group_cputime() local 334 times->stime = sig->stime; in thread_group_cputime() 338 task_cputime(t, &utime, &stime); in thread_group_cputime() 340 times->stime += stime; in thread_group_cputime() 459 *st = curr->stime; in cputime_adjust() 465 *st = p->stime; in task_cputime_adjusted() 476 *st = cputime.stime; in thread_group_cputime_adjusted() 560 u64 rtime, stime, utime; in cputime_adjust() local 575 if (prev->stime + prev->utime >= rtime) in cputime_adjust() [all …]
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
D | time.c | 245 acct->stime -= sst; in accumulate_stolen_time() 276 unsigned long now, unsigned long stime) in vtime_delta_scaled() argument 299 stime_scaled = stime; in vtime_delta_scaled() 301 if (deltascaled != stime + utime) { in vtime_delta_scaled() 303 stime_scaled = deltascaled * stime / (stime + utime); in vtime_delta_scaled() 319 unsigned long now, stime; in vtime_delta() local 325 stime = now - acct->starttime; in vtime_delta() 328 *stime_scaled = vtime_delta_scaled(acct, now, stime); in vtime_delta() 332 return stime; in vtime_delta() 337 unsigned long stime, stime_scaled, steal_time; in vtime_account_kernel() local [all …]
|
/kernel/linux/linux-5.10/kernel/cgroup/ |
D | rstat.c | 300 dst_bstat->cputime.stime += src_bstat->cputime.stime; in cgroup_base_stat_add() 308 dst_bstat->cputime.stime -= src_bstat->cputime.stime; in cgroup_base_stat_sub() 382 rstatc->bstat.cputime.stime += delta_exec; in __cgroup_account_cputime_field() 401 cputime->stime = 0; in root_cgroup_cputime() 419 cputime->stime += sys; in root_cgroup_cputime() 430 u64 usage, utime, stime; in cgroup_base_stat_cputime_show() local 437 &utime, &stime); in cgroup_base_stat_cputime_show() 443 stime = cputime.stime; in cgroup_base_stat_cputime_show() 448 do_div(stime, NSEC_PER_USEC); in cgroup_base_stat_cputime_show() 453 usage, utime, stime); in cgroup_base_stat_cputime_show()
|
/kernel/linux/linux-5.10/kernel/ |
D | tsacct.c | 25 u64 utime, stime, utimescaled, stimescaled; in bacct_add_tsk() local 62 task_cputime(tsk, &utime, &stime); in bacct_add_tsk() 64 stats->ac_stime = div_u64(stime, NSEC_PER_USEC); in bacct_add_tsk() 119 u64 utime, u64 stime) in __acct_update_integrals() argument 126 time = stime + utime; in __acct_update_integrals() 148 u64 utime, stime; in acct_update_integrals() local 152 task_cputime(tsk, &utime, &stime); in acct_update_integrals() 153 __acct_update_integrals(tsk, utime, stime); in acct_update_integrals() 163 __acct_update_integrals(tsk, tsk->utime, tsk->stime); in acct_account_cputime()
|
D | delayacct.c | 87 u64 utime, stime, stimescaled, utimescaled; in __delayacct_add_tsk() local 92 task_cputime(tsk, &utime, &stime); in __delayacct_add_tsk() 94 tmp += utime + stime; in __delayacct_add_tsk()
|
D | acct.c | 540 u64 utime, stime; in acct_collect() local 570 task_cputime(current, &utime, &stime); in acct_collect() 572 pacct->ac_stime += stime; in acct_collect()
|
D | taskstats.c | 196 u64 delta, utime, stime; in fill_stats_for_tgid() local 233 task_cputime(tsk, &utime, &stime); in fill_stats_for_tgid() 235 stats->ac_stime += div_u64(stime, NSEC_PER_USEC); in fill_stats_for_tgid()
|
/kernel/linux/linux-5.10/include/linux/sched/ |
D | cputime.h | 22 u64 *utime, u64 *stime); 26 u64 *utime, u64 *stime) in task_cputime() argument 29 *stime = t->stime; in task_cputime() 156 atomic64_add(cputime, &cputimer->cputime_atomic.stime); in account_group_system_time() 183 prev->utime = prev->stime = 0; in prev_cputime_init()
|
D | types.h | 18 u64 stime; member
|
D | signal.h | 49 atomic64_t stime; member 56 .stime = ATOMIC64_INIT(0), \ 176 u64 utime, stime, cutime, cstime; member
|
/kernel/linux/linux-5.10/arch/ia64/kernel/ |
D | time.c | 81 if (ti->stime) { in vtime_flush() 82 delta = cycle_to_nsec(ti->stime); in vtime_flush() 99 ti->stime = 0; in vtime_flush() 139 __u64 stime = vtime_delta(tsk); in vtime_account_kernel() local 142 ti->gtime += stime; in vtime_account_kernel() 144 ti->hardirq_time += stime; in vtime_account_kernel() 146 ti->softirq_time += stime; in vtime_account_kernel() 148 ti->stime += stime; in vtime_account_kernel()
|
/kernel/linux/linux-5.10/kernel/time/ |
D | posix-cpu-timers.c | 189 u64 utime, stime; in cpu_clock_sample() local 194 task_cputime(p, &utime, &stime); in cpu_clock_sample() 198 return utime + stime; in cpu_clock_sample() 207 static inline void store_samples(u64 *samples, u64 stime, u64 utime, u64 rtime) in store_samples() argument 209 samples[CPUCLOCK_PROF] = stime + utime; in store_samples() 216 u64 stime, utime; in task_sample_cputime() local 218 task_cputime(p, &utime, &stime); in task_sample_cputime() 219 store_samples(samples, stime, utime, p->se.sum_exec_runtime); in task_sample_cputime() 225 u64 stime, utime, rtime; in proc_sample_cputime_atomic() local 228 stime = atomic64_read(&at->stime); in proc_sample_cputime_atomic() [all …]
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | accounting.h | 13 unsigned long stime; member
|
D | cputime.h | 86 acct->stime += (tb - acct->starttime); in account_cpu_user_exit()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/ |
D | nouveau_display.c | 85 ktime_t *stime, ktime_t *etime) in nouveau_display_scanoutpos_head() argument 115 if (stime) *stime = ns_to_ktime(args.scan.time[0]); in nouveau_display_scanoutpos_head() 124 ktime_t *stime, ktime_t *etime, in nouveau_display_scanoutpos() argument 128 stime, etime); in nouveau_display_scanoutpos()
|
D | nouveau_display.h | 56 ktime_t *stime, ktime_t *etime,
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_display.c | 809 int *hpos, ktime_t *stime, ktime_t *etime, in amdgpu_display_get_crtc_scanoutpos() argument 821 if (stime) in amdgpu_display_get_crtc_scanoutpos() 822 *stime = ktime_get(); in amdgpu_display_get_crtc_scanoutpos() 932 int *hpos, ktime_t *stime, ktime_t *etime, in amdgpu_crtc_get_scanout_position() argument 939 stime, etime, mode); in amdgpu_crtc_get_scanout_position()
|
D | amdgpu_mode.h | 599 int *hpos, ktime_t *stime, ktime_t *etime, 620 int *hpos, ktime_t *stime, ktime_t *etime,
|
/kernel/linux/linux-5.10/fs/proc/ |
D | array.c | 448 u64 cutime, cstime, utime, stime; in do_task_stat() local 479 cutime = cstime = utime = stime = 0; in do_task_stat() 513 thread_group_cputime_adjusted(task, &utime, &stime); in do_task_stat() 529 task_cputime_adjusted(task, &utime, &stime); in do_task_stat() 557 seq_put_decimal_ull(m, " ", nsec_to_clock_t(stime)); in do_task_stat()
|
/kernel/linux/linux-5.10/include/drm/ |
D | drm_vblank.h | 266 ktime_t *stime,
|
D | drm_modeset_helper_vtables.h | 498 ktime_t *stime, ktime_t *etime,
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/ |
D | vc4_crtc.c | 85 ktime_t *stime, ktime_t *etime, in vc4_crtc_get_scanout_position() argument 101 if (stime) in vc4_crtc_get_scanout_position() 102 *stime = ktime_get(); in vc4_crtc_get_scanout_position() 177 if (stime) in vc4_crtc_get_scanout_position() 178 *stime = vc4_crtc->t_vblank; in vc4_crtc_get_scanout_position()
|
/kernel/linux/linux-5.10/arch/ia64/include/asm/ |
D | thread_info.h | 34 __u64 stime; member
|
/kernel/linux/linux-5.10/fs/btrfs/ |
D | ioctl.c | 66 struct btrfs_ioctl_timespec_32 stime; /* in */ member 2767 subvol_info->stime.sec = btrfs_stack_timespec_sec(&root_item->stime); in btrfs_ioctl_get_subvol_info() 2768 subvol_info->stime.nsec = btrfs_stack_timespec_nsec(&root_item->stime); in btrfs_ioctl_get_subvol_info() 4502 btrfs_set_stack_timespec_sec(&root_item->stime, sa->stime.sec); in _btrfs_ioctl_set_received_subvol() 4503 btrfs_set_stack_timespec_nsec(&root_item->stime, sa->stime.nsec); in _btrfs_ioctl_set_received_subvol() 4551 args64->stime.sec = args32->stime.sec; in btrfs_ioctl_set_received_subvol_32() 4552 args64->stime.nsec = args32->stime.nsec; in btrfs_ioctl_set_received_subvol_32() 4564 args32->stime.sec = args64->stime.sec; in btrfs_ioctl_set_received_subvol_32() 4565 args32->stime.nsec = args64->stime.nsec; in btrfs_ioctl_set_received_subvol_32()
|