| /linux/sound/core/ |
| H A D | hrtimer.c | 33 struct snd_hrtimer *stime = container_of(hrt, struct snd_hrtimer, hrt); in snd_hrtimer_callback() local 34 struct snd_timer *t = stime->timer; in snd_hrtimer_callback() 42 stime->in_callback = true; in snd_hrtimer_callback() 51 snd_timer_interrupt(stime->timer, ticks); in snd_hrtimer_callback() 59 stime->in_callback = false; in snd_hrtimer_callback() 65 struct snd_hrtimer *stime; in snd_hrtimer_open() local 67 stime = kzalloc_obj(*stime); in snd_hrtimer_open() 68 if (!stime) in snd_hrtimer_open() 70 stime in snd_hrtimer_open() 78 struct snd_hrtimer *stime = t->private_data; snd_hrtimer_close() local 95 struct snd_hrtimer *stime = t->private_data; snd_hrtimer_start() local 106 struct snd_hrtimer *stime = t->private_data; snd_hrtimer_stop() local [all...] |
| /linux/kernel/sched/ |
| H A D | cputime.c | 176 p->stime += cputime; in account_system_index_time() 332 u64 utime, stime; in thread_group_cputime() local 348 times->stime = sig->stime; in thread_group_cputime() 352 task_cputime(t, &utime, &stime); in thread_group_cputime() 354 times->stime += stime; in thread_group_cputime() 379 * p->stime and friends are only updated on system time and not on IRQ 404 * Also, p->stime needs to be updated for ksoftirqd. in irqtime_account_process_tick() 691 *st = curr->stime; in task_cputime_adjusted() 768 u64 rtime, stime, utime; cputime_adjust() local 1057 task_cputime(struct task_struct * t,u64 * utime,u64 * stime) task_cputime() argument [all...] |
| H A D | cpuacct.c | 276 cputime.stime += cpustat[CPUTIME_SYSTEM]; in cpuacct_stats_show() 277 cputime.stime += cpustat[CPUTIME_IRQ]; in cpuacct_stats_show() 278 cputime.stime += cpustat[CPUTIME_SOFTIRQ]; in cpuacct_stats_show()
|
| /linux/arch/powerpc/kernel/ |
| H A D | time.c | 171 unsigned long now, unsigned long stime) in vtime_delta_scaled() argument 194 stime_scaled = stime; in vtime_delta_scaled() 196 if (deltascaled != stime + utime) { in vtime_delta_scaled() 198 stime_scaled = deltascaled * stime / (stime + utime); in vtime_delta_scaled() 214 unsigned long now, stime; in vtime_delta() local 219 stime = now - acct->starttime; in vtime_delta() 222 *stime_scaled = vtime_delta_scaled(acct, now, stime); in vtime_delta() 230 return stime; in vtime_delta() 234 unsigned long *stime, unsigne in vtime_delta_kernel() argument 246 unsigned long stime, stime_scaled; vtime_account_kernel() local 266 unsigned long stime, stime_scaled, steal_time; vtime_account_idle() local 276 unsigned long stime, stime_scaled; vtime_account_irq_field() local [all...] |
| /linux/include/linux/sched/ |
| H A D | cputime.h | 14 u64 *utime, u64 *stime); 18 u64 *utime, u64 *stime) in task_cputime() argument 21 *stime = t->stime; in task_cputime() 149 atomic64_add(cputime, &cputimer->cputime_atomic.stime); in account_group_system_time() 176 prev->utime = prev->stime = 0; in prev_cputime_init()
|
| H A D | types.h | 18 u64 stime; member
|
| H A D | signal.h | 51 atomic64_t stime; member 58 .stime = ATOMIC64_INIT(0), \ 191 u64 utime, stime, cutime, cstime; member
|
| /linux/tools/testing/selftests/bpf/benchs/ |
| H A D | bench_local_storage_rcu_tasks_trace.c | 90 long stime; in kthread_pid_ticks() local 102 if (fscanf(f, "%*s %*s %*s %*s %*s %*s %*s %*s %*s %*s %*s %*s %*s %*s %ld", &stime) != 1) { in kthread_pid_ticks() 107 return stime; in kthread_pid_ticks() 196 res->stime = ticks - ctx.prev_kthread_stime; in measure() 221 iter, res->stime / (double)res->gp_ct); in report_progress()
|
| /linux/kernel/cgroup/ |
| H A D | rstat.c | 553 dst_bstat->cputime.stime += src_bstat->cputime.stime; in cgroup_base_stat_add() 565 dst_bstat->cputime.stime -= src_bstat->cputime.stime; in cgroup_base_stat_sub() 659 rstatbc->bstat.cputime.stime += delta_exec; in __cgroup_account_cputime_field() 700 cputime->stime += sys; in root_cgroup_cputime() 733 &bstat.cputime.utime, &bstat.cputime.stime); in cgroup_base_stat_cputime_show() 741 do_div(bstat.cputime.stime, NSEC_PER_USEC); in cgroup_base_stat_cputime_show() 750 bstat.cputime.stime, in cgroup_base_stat_cputime_show()
|
| /linux/kernel/time/ |
| H A D | posix-cpu-timers.c | 196 u64 utime, stime; in cpu_clock_sample() local 201 task_cputime(p, &utime, &stime); in cpu_clock_sample() 205 return utime + stime; in cpu_clock_sample() 214 static inline void store_samples(u64 *samples, u64 stime, u64 utime, u64 rtime) in store_samples() argument 216 samples[CPUCLOCK_PROF] = stime + utime; in store_samples() 223 u64 stime, utime; in task_sample_cputime() local 225 task_cputime(p, &utime, &stime); in task_sample_cputime() 226 store_samples(samples, stime, utime, p->se.sum_exec_runtime); in task_sample_cputime() 232 u64 stime, utime, rtime; in proc_sample_cputime_atomic() local 235 stime in proc_sample_cputime_atomic() [all...] |
| /linux/drivers/ptp/ |
| H A D | ptp_netc.c | 102 u64 stime; /* start time, ns */ member 253 u64 stime = pp->stime; in netc_timer_set_perout_alarm() local 256 if (stime < min_time) { in netc_timer_set_perout_alarm() 257 delta = min_time - stime; in netc_timer_set_perout_alarm() 258 stime += roundup_u64(delta, period); in netc_timer_set_perout_alarm() 261 alarm = roundup_u64(stime - period, integral_period); in netc_timer_set_perout_alarm() 444 struct timespec64 period, stime; in net_timer_enable_perout() local 478 stime.tv_sec = rq->perout.start.sec; in net_timer_enable_perout() 479 stime in net_timer_enable_perout() [all...] |
| /linux/tools/testing/selftests/sched_ext/ |
| H A D | rt_stall.c | 90 long utime, stime; in get_process_runtime() 103 &utime, &stime); in get_process_runtime() 112 long total_time = utime + stime; in get_process_runtime() 89 long utime, stime; get_process_runtime() local
|
| /linux/kernel/ |
| H A D | delayacct.c | 151 u64 utime, stime, stimescaled, utimescaled; in delayacct_add_tsk() local 156 task_cputime(tsk, &utime, &stime); in delayacct_add_tsk() 158 tmp += utime + stime; in delayacct_add_tsk()
|
| /linux/arch/powerpc/include/asm/ |
| H A D | accounting.h | 13 unsigned long stime; member
|
| H A D | cputime.h | 59 acct->stime += (tb - acct->starttime); in account_cpu_user_exit()
|
| /linux/io_uring/ |
| H A D | sqpoll.c | 200 u64 utime, stime; in io_sq_start_worktime() 202 task_cputime_adjusted(tsk, &utime, &stime); in io_sq_start_worktime() 203 do_div(stime, 1000); in io_sq_start_worktime() 204 return stime; 182 u64 utime, stime; io_sq_cpu_usec() local
|
| /linux/drivers/gpu/drm/nouveau/ |
| H A D | nouveau_display.c | 86 ktime_t *stime, ktime_t *etime) in nouveau_display_scanoutpos_head() argument 111 if (stime) *stime = ns_to_ktime(args.time[0]); in nouveau_display_scanoutpos_head() 120 ktime_t *stime, ktime_t *etime, in nouveau_display_scanoutpos() argument 124 stime, etime); in nouveau_display_scanoutpos()
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | bench.h | 49 unsigned int stime; 48 unsigned int stime; global() member
|
| /linux/fs/btrfs/ |
| H A D | ioctl.c | 78 struct btrfs_ioctl_timespec_32 stime; /* in */ member 103 struct btrfs_ioctl_timespec_32 stime; member 2032 subvol_info->stime.sec = btrfs_stack_timespec_sec(&root_item->stime); in _btrfs_ioctl_get_subvol_info() 2033 subvol_info->stime.nsec = btrfs_stack_timespec_nsec(&root_item->stime); in _btrfs_ioctl_get_subvol_info() 2123 subvol_info_32->stime.sec = subvol_info->stime.sec; in btrfs_ioctl_get_subvol_info() 2124 subvol_info_32->stime.nsec = subvol_info->stime in btrfs_ioctl_get_subvol_info() [all...] |
| /linux/tools/testing/selftests/wireguard/qemu/ |
| H A D | init.c | 79 if (stime(&(time_t){1433512680}) < 0) in set_time()
|
| /linux/arch/x86/kernel/ |
| H A D | apm_32.c | 906 u64 stime, utime; in apm_cpu_idle() local 913 task_cputime(current, &utime, &stime); in apm_cpu_idle() 919 idle_percentage = nsecs_to_jiffies(stime - last_stime); in apm_cpu_idle() 928 last_stime = stime; in apm_cpu_idle()
|
| /linux/include/uapi/linux/ |
| H A D | btrfs.h | 807 struct btrfs_ioctl_timespec stime; /* in */ member 915 struct btrfs_ioctl_timespec stime; member
|
| /linux/tools/perf/arch/powerpc/entry/syscalls/ |
| H A D | syscall.tbl | 41 25 32 stime sys_stime32 42 25 64 stime sys_stime 43 25 spu stime sys_stime
|
| /linux/arch/alpha/kernel/ |
| H A D | osf_sys.c | 1068 u64 utime, stime; in SYSCALL_DEFINE2() local 1077 task_cputime(current, &utime, &stime); in SYSCALL_DEFINE2() 1079 stime_jiffies = nsecs_to_jiffies(stime); in SYSCALL_DEFINE2()
|
| /linux/fs/ |
| H A D | binfmt_elf_fdpic.c | 1327 prstatus->pr_stime = ns_to_kernel_old_timeval(cputime.stime); in fill_prstatus() 1329 u64 utime, stime; in fill_prstatus() local 1331 task_cputime(p, &utime, &stime); in fill_prstatus() 1333 prstatus->pr_stime = ns_to_kernel_old_timeval(stime); in fill_prstatus()
|