| /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/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, unsigned long *stime_scaled) in vtime_delta_kernel() argument 238 *stime = vtime_delta(acct, stime_scaled, &steal_time); in vtime_delta_kernel() [all …]
|
| /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 | 552 dst_bstat->cputime.stime += src_bstat->cputime.stime; in cgroup_base_stat_add() 564 dst_bstat->cputime.stime -= src_bstat->cputime.stime; in cgroup_base_stat_sub() 658 rstatbc->bstat.cputime.stime += delta_exec; in __cgroup_account_cputime_field() 699 cputime->stime += sys; in root_cgroup_cputime() 732 &bstat.cputime.utime, &bstat.cputime.stime); in cgroup_base_stat_cputime_show() 740 do_div(bstat.cputime.stime, NSEC_PER_USEC); in cgroup_base_stat_cputime_show() 749 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 = atomic64_read(&at->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.tv_nsec = rq->perout.start.nsec; in net_timer_enable_perout() 480 pp->stime = timespec64_to_ns(&stime); in net_timer_enable_perout()
|
| /linux/tools/testing/selftests/sched_ext/ |
| H A D | rt_stall.c | 89 long utime, stime; in get_process_runtime() local 102 &utime, &stime); in get_process_runtime() 111 long total_time = utime + stime; in get_process_runtime()
|
| /linux/include/linux/sched/ |
| H A D | types.h | 18 u64 stime; member
|
| /linux/kernel/sched/ |
| 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/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/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()
|
| H A D | audit.c | 1934 long stime = audit_backlog_wait_time; in audit_log_start() local 1943 if (gfpflags_allow_blocking(gfp_mask) && (stime > 0)) { in audit_log_start() 1944 long rtime = stime; in audit_log_start() 1951 stime = schedule_timeout(rtime); in audit_log_start() 1952 atomic_add(rtime - stime, &audit_backlog_wait_time_actual); in audit_log_start()
|
| /linux/io_uring/ |
| H A D | sqpoll.c | 182 u64 utime, stime; in io_sq_cpu_usec() local 184 task_cputime_adjusted(tsk, &utime, &stime); in io_sq_cpu_usec() 185 do_div(stime, 1000); in io_sq_cpu_usec() 186 return stime; in io_sq_cpu_usec()
|
| /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
|
| H A D | bench.c | 110 gp_stat->mean += res[i].stime / (double)res[i].gp_ct / (0.0 + res_cnt); in grace_period_ticks_basic_stats() 112 #define IT_MEAN_DIFF (res[i].stime / (double)res[i].gp_ct - gp_stat->mean) in grace_period_ticks_basic_stats()
|
| /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 2004 subvol_info->stime.sec = btrfs_stack_timespec_sec(&root_item->stime); in _btrfs_ioctl_get_subvol_info() 2005 subvol_info->stime.nsec = btrfs_stack_timespec_nsec(&root_item->stime); in _btrfs_ioctl_get_subvol_info() 2095 subvol_info_32->stime.sec = subvol_info->stime.sec; in btrfs_ioctl_get_subvol_info_32() 2096 subvol_info_32->stime.nsec = subvol_info->stime.nsec; in btrfs_ioctl_get_subvol_info_32() 3967 btrfs_set_stack_timespec_sec(&root_item->stime, sa->stime.sec); in _btrfs_ioctl_set_received_subvol() 3968 btrfs_set_stack_timespec_nsec(&root_item->stime, sa->stime.nsec); in _btrfs_ioctl_set_received_subvol() 4015 args64->stime.sec = args32->stime.sec; in btrfs_ioctl_set_received_subvol_32() 4016 args64->stime.nsec = args32->stime.nsec; in btrfs_ioctl_set_received_subvol_32() [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/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()
|
| /linux/tools/perf/arch/sparc/entry/syscalls/ |
| H A D | syscall.tbl | 281 233 32 stime sys_stime32 282 233 64 stime sys_stime
|
| /linux/kernel/rcu/ |
| H A D | rcuscale.c | 1002 kthread_stime = kthread_tp->stime - kthread_stime; in rcu_scale_cleanup() 1141 kthread_stime = kthread_tp->stime; in rcu_scale_init()
|