/linux/sound/core/ |
A D | hrtimer.c | 41 stime->in_callback = true; 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() 72 stime->timer = t; in snd_hrtimer_open() 74 t->private_data = stime; in snd_hrtimer_open() 82 if (stime) { in snd_hrtimer_close() 89 kfree(stime); in snd_hrtimer_close() 99 if (stime->in_callback) in snd_hrtimer_start() [all …]
|
/linux/kernel/sched/ |
A D | cputime.c | 320 times->stime = sig->stime; in thread_group_cputime() 326 times->stime += stime; in thread_group_cputime() 448 *st = p->stime; in task_cputime_adjusted() 561 stime = curr->stime; in cputime_adjust() 579 stime = mul_u64_u64_div_u64(stime, rtime, stime + utime); in cputime_adjust() 591 if (stime < prev->stime) in cputime_adjust() 592 stime = prev->stime; in cputime_adjust() 604 prev->stime = stime; in cputime_adjust() 841 *stime = t->stime; in task_cputime() 850 *stime = t->stime; in task_cputime() [all …]
|
/linux/arch/powerpc/kernel/ |
A D | time.c | 237 acct->stime -= sst; in accumulate_stolen_time() 289 stime_scaled = stime; in vtime_delta_scaled() 293 stime_scaled = deltascaled * stime / (stime + utime); in vtime_delta_scaled() 309 unsigned long now, stime; in vtime_delta() local 321 return stime; in vtime_delta() 330 *stime -= min(*stime, steal_time); in vtime_delta_kernel() 342 acct->gtime += stime; in vtime_account_kernel() 347 acct->stime += stime; in vtime_account_kernel() 370 *field += stime; in vtime_account_irq_field() 428 if (acct->stime) in vtime_flush() [all …]
|
/linux/kernel/cgroup/ |
A D | rstat.c | 305 dst_bstat->cputime.stime += src_bstat->cputime.stime; in cgroup_base_stat_add() 313 dst_bstat->cputime.stime -= src_bstat->cputime.stime; in cgroup_base_stat_sub() 394 rstatc->bstat.cputime.stime += delta_exec; in __cgroup_account_cputime_field() 413 cputime->stime = 0; in root_cgroup_cputime() 431 cputime->stime += sys; in root_cgroup_cputime() 442 u64 usage, utime, stime; in cgroup_base_stat_cputime_show() local 449 &utime, &stime); in cgroup_base_stat_cputime_show() 455 stime = cputime.stime; in cgroup_base_stat_cputime_show() 460 do_div(stime, NSEC_PER_USEC); in cgroup_base_stat_cputime_show() 465 usage, utime, stime); in cgroup_base_stat_cputime_show()
|
/linux/kernel/ |
A D | tsacct.c | 25 u64 utime, stime, utimescaled, stimescaled; in bacct_add_tsk() local 63 task_cputime(tsk, &utime, &stime); in bacct_add_tsk() 65 stats->ac_stime = div_u64(stime, NSEC_PER_USEC); in bacct_add_tsk() 120 u64 utime, u64 stime) in __acct_update_integrals() argument 127 time = stime + utime; in __acct_update_integrals() 149 u64 utime, stime; in acct_update_integrals() local 153 task_cputime(tsk, &utime, &stime); in acct_update_integrals() 154 __acct_update_integrals(tsk, utime, stime); in acct_update_integrals() 164 __acct_update_integrals(tsk, tsk->utime, tsk->stime); in acct_account_cputime()
|
A D | delayacct.c | 120 u64 utime, stime, stimescaled, utimescaled; in delayacct_add_tsk() local 125 task_cputime(tsk, &utime, &stime); in delayacct_add_tsk() 127 tmp += utime + stime; in delayacct_add_tsk()
|
A D | acct.c | 534 u64 utime, stime; in acct_collect() local 564 task_cputime(current, &utime, &stime); in acct_collect() 566 pacct->ac_stime += stime; in acct_collect()
|
A 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()
|
/linux/include/linux/sched/ |
A D | cputime.h | 22 u64 *utime, u64 *stime); 26 u64 *utime, u64 *stime) in task_cputime() argument 29 *stime = t->stime; in task_cputime() 157 atomic64_add(cputime, &cputimer->cputime_atomic.stime); in account_group_system_time() 184 prev->utime = prev->stime = 0; in prev_cputime_init()
|
A D | types.h | 18 u64 stime; member
|
A D | signal.h | 49 atomic64_t stime; member 56 .stime = ATOMIC64_INIT(0), \ 189 u64 utime, stime, cutime, cstime; member
|
/linux/arch/ia64/kernel/ |
A D | time.c | 82 if (ti->stime) { in vtime_flush() 83 delta = cycle_to_nsec(ti->stime); in vtime_flush() 100 ti->stime = 0; in vtime_flush() 140 __u64 stime = vtime_delta(tsk); in vtime_account_kernel() local 143 ti->gtime += stime; in vtime_account_kernel() 145 ti->stime += stime; in vtime_account_kernel()
|
/linux/kernel/time/ |
A 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() 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() 230 store_samples(samples, stime, utime, rtime); in proc_sample_cputime_atomic() [all …]
|
/linux/arch/powerpc/include/asm/ |
A D | accounting.h | 13 unsigned long stime; member
|
A D | cputime.h | 86 acct->stime += (tb - acct->starttime); in account_cpu_user_exit()
|
/linux/fs/proc/ |
A D | array.c | 467 u64 cutime, cstime, utime, stime; in do_task_stat() local 498 cutime = cstime = utime = stime = 0; in do_task_stat() 532 thread_group_cputime_adjusted(task, &utime, &stime); in do_task_stat() 548 task_cputime_adjusted(task, &utime, &stime); in do_task_stat() 577 seq_put_decimal_ull(m, " ", nsec_to_clock_t(stime)); in do_task_stat()
|
/linux/drivers/gpu/drm/nouveau/ |
A 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()
|
A D | nouveau_display.h | 56 ktime_t *stime, ktime_t *etime,
|
/linux/drivers/gpu/drm/vc4/ |
A 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()
|
/linux/include/drm/ |
A D | drm_vblank.h | 265 ktime_t *stime,
|
A D | drm_modeset_helper_vtables.h | 488 ktime_t *stime, ktime_t *etime,
|
/linux/arch/ia64/include/asm/ |
A D | thread_info.h | 34 __u64 stime; member
|
/linux/fs/btrfs/ |
A D | ioctl.c | 68 struct btrfs_ioctl_timespec_32 stime; /* in */ member 2706 subvol_info->stime.sec = btrfs_stack_timespec_sec(&root_item->stime); in btrfs_ioctl_get_subvol_info() 2707 subvol_info->stime.nsec = btrfs_stack_timespec_nsec(&root_item->stime); in btrfs_ioctl_get_subvol_info() 4490 btrfs_set_stack_timespec_sec(&root_item->stime, sa->stime.sec); in _btrfs_ioctl_set_received_subvol() 4491 btrfs_set_stack_timespec_nsec(&root_item->stime, sa->stime.nsec); in _btrfs_ioctl_set_received_subvol() 4539 args64->stime.sec = args32->stime.sec; in btrfs_ioctl_set_received_subvol_32() 4540 args64->stime.nsec = args32->stime.nsec; in btrfs_ioctl_set_received_subvol_32() 4552 args32->stime.sec = args64->stime.sec; in btrfs_ioctl_set_received_subvol_32() 4553 args32->stime.nsec = args64->stime.nsec; in btrfs_ioctl_set_received_subvol_32()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_mode.h | 602 int *hpos, ktime_t *stime, ktime_t *etime, 631 int *hpos, ktime_t *stime, ktime_t *etime,
|
/linux/include/uapi/linux/ |
A D | btrfs.h | 748 struct btrfs_ioctl_timespec stime; /* in */ member 848 struct btrfs_ioctl_timespec stime; member
|