Home
last modified time | relevance | path

Searched refs:stime (Results 1 – 25 of 36) sorted by relevance

12

/linux/sound/core/
H A Dhrtimer.c33 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->timer = t; in snd_hrtimer_open()
71 hrtimer_setup(&stime->hrt, snd_hrtimer_callback, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in snd_hrtimer_open()
[all …]
/linux/arch/powerpc/kernel/
H A Dtime.c171 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 Dbench_local_storage_rcu_tasks_trace.c90 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/tools/testing/selftests/sched_ext/
H A Drt_stall.c89 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/kernel/sched/
H A Dcpuacct.c276 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/include/linux/sched/
H A Dtypes.h18 u64 stime; member
/linux/arch/powerpc/include/asm/
H A Daccounting.h13 unsigned long stime; member
H A Dcputime.h59 acct->stime += (tb - acct->starttime); in account_cpu_user_exit()
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_display.c86 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()
H A Dnouveau_display.h59 ktime_t *stime, ktime_t *etime,
/linux/tools/testing/selftests/bpf/
H A Dbench.h49 unsigned int stime;
48 unsigned int stime; global() member
H A Dbench.c110 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/drivers/gpu/drm/vc4/
H A Dvc4_crtc.c109 ktime_t *stime, ktime_t *etime, in vc4_crtc_get_scanout_position() argument
127 if (stime) in vc4_crtc_get_scanout_position()
128 *stime = ktime_get(); in vc4_crtc_get_scanout_position()
211 if (stime) in vc4_crtc_get_scanout_position()
212 *stime = vc4_crtc->t_vblank; in vc4_crtc_get_scanout_position()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_mode.h687 int *hpos, ktime_t *stime, ktime_t *etime,
703 int *hpos, ktime_t *stime, ktime_t *etime,
/linux/fs/btrfs/
H A Dioctl.c77 struct btrfs_ioctl_timespec_32 stime; /* in */ 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()
3916 btrfs_set_stack_timespec_sec(&root_item->stime, sa->stime.sec); in _btrfs_ioctl_set_received_subvol()
3917 btrfs_set_stack_timespec_nsec(&root_item->stime, sa->stime.nsec); in _btrfs_ioctl_set_received_subvol()
3966 args64->stime.sec = args32->stime.sec; in btrfs_ioctl_set_received_subvol_32()
3967 args64->stime.nsec = args32->stime.nsec; in btrfs_ioctl_set_received_subvol_32()
3979 args32->stime.sec = args64->stime.sec; in btrfs_ioctl_set_received_subvol_32()
3980 args32->stime.nsec = args64->stime.nsec; in btrfs_ioctl_set_received_subvol_32()
/linux/tools/testing/selftests/wireguard/qemu/
H A Dinit.c79 if (stime(&(time_t){1433512680}) < 0) in set_time()
/linux/arch/x86/kernel/
H A Dapm_32.c906 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/drivers/gpu/drm/loongson/
H A Dlsdc_crtc.c903 ktime_t *stime, in lsdc_crtc_get_scanout_position() argument
921 if (stime) in lsdc_crtc_get_scanout_position()
922 *stime = ktime_get(); in lsdc_crtc_get_scanout_position()
/linux/drivers/power/supply/
H A Dlp8788-charger.c606 static const char * const stime[] = { in lp8788_show_eoc_time() local
615 return sysfs_emit(buf, "End Of Charge Time: %s\n", stime[val]); in lp8788_show_eoc_time()
/linux/tools/perf/arch/powerpc/entry/syscalls/
H A Dsyscall.tbl41 25 32 stime sys_stime32
42 25 64 stime sys_stime
43 25 spu stime sys_stime
/linux/kernel/
H A Dexit.c165 u64 utime, stime; in __exit_signal() local
198 task_cputime(tsk, &utime, &stime); in __exit_signal()
201 sig->stime += stime; in __exit_signal()
H A Daudit.c1933 long stime = audit_backlog_wait_time; in audit_log_start() local
1942 if (gfpflags_allow_blocking(gfp_mask) && (stime > 0)) { in audit_log_start()
1943 long rtime = stime; in audit_log_start()
1950 stime = schedule_timeout(rtime); in audit_log_start()
1951 atomic_add(rtime - stime, &audit_backlog_wait_time_actual); in audit_log_start()
H A Dsys.c1850 u64 tgutime, tgstime, utime, stime; in getrusage() local
1858 utime = stime = 0; in getrusage()
1862 task_cputime_adjusted(current, &utime, &stime); in getrusage()
1874 stime = sig->cstime; in getrusage()
1919 stime += tgstime; in getrusage()
1931 r->ru_stime = ns_to_kernel_old_timeval(stime); in getrusage()
/linux/fs/
H A Dbinfmt_elf_fdpic.c1322 prstatus->pr_stime = ns_to_kernel_old_timeval(cputime.stime); in fill_prstatus()
1324 u64 utime, stime; in fill_prstatus() local
1326 task_cputime(p, &utime, &stime); in fill_prstatus()
1328 prstatus->pr_stime = ns_to_kernel_old_timeval(stime); in fill_prstatus()
/linux/include/linux/
H A Dsched.h367 u64 stime; member
391 u64 stime; member
1115 u64 stime; member

12