Home
last modified time | relevance | path

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

/linux-4.1.27/sound/core/
Dhrtimer.c46 struct snd_hrtimer *stime = container_of(hrt, struct snd_hrtimer, hrt); in snd_hrtimer_callback() local
47 struct snd_timer *t = stime->timer; in snd_hrtimer_callback()
50 if (!atomic_read(&stime->running)) in snd_hrtimer_callback()
54 snd_timer_interrupt(stime->timer, t->sticks * oruns); in snd_hrtimer_callback()
56 if (!atomic_read(&stime->running)) in snd_hrtimer_callback()
63 struct snd_hrtimer *stime; in snd_hrtimer_open() local
65 stime = kmalloc(sizeof(*stime), GFP_KERNEL); in snd_hrtimer_open()
66 if (!stime) in snd_hrtimer_open()
68 hrtimer_init(&stime->hrt, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in snd_hrtimer_open()
69 stime->timer = t; in snd_hrtimer_open()
[all …]
/linux-4.1.27/kernel/sched/
Dcputime.c193 p->stime += cputime; in __account_system_time()
289 cputime_t utime, stime; in thread_group_cputime() local
301 times->stime = sig->stime; in thread_group_cputime()
305 task_cputime(t, &utime, &stime); in thread_group_cputime()
307 times->stime += stime; in thread_group_cputime()
445 *st = p->stime; in task_cputime_adjusted()
455 *st = cputime.stime; in thread_group_cputime_adjusted()
517 static cputime_t scale_stime(u64 stime, u64 rtime, u64 total) in scale_stime() argument
523 if (stime > rtime) in scale_stime()
524 swap(rtime, stime); in scale_stime()
[all …]
Dstats.h242 cputimer->cputime.stime += cputime; in account_group_system_time()
/linux-4.1.27/kernel/
Dtsacct.c34 cputime_t utime, stime, utimescaled, stimescaled; in bacct_add_tsk() local
69 task_cputime(tsk, &utime, &stime); in bacct_add_tsk()
71 stats->ac_stime = cputime_to_usecs(stime); in bacct_add_tsk()
124 cputime_t utime, cputime_t stime) in __acct_update_integrals() argument
133 time = stime + utime; in __acct_update_integrals()
155 cputime_t utime, stime; in acct_update_integrals() local
157 task_cputime(tsk, &utime, &stime); in acct_update_integrals()
158 __acct_update_integrals(tsk, utime, stime); in acct_update_integrals()
167 __acct_update_integrals(tsk, tsk->utime, tsk->stime); in acct_account_cputime()
Ddelayacct.c85 cputime_t utime, stime, stimescaled, utimescaled; in __delayacct_add_tsk() local
90 task_cputime(tsk, &utime, &stime); in __delayacct_add_tsk()
92 tmp += cputime_to_nsecs(utime + stime); in __delayacct_add_tsk()
Dacct.c533 cputime_t utime, stime; in acct_collect() local
562 task_cputime(current, &utime, &stime); in acct_collect()
564 pacct->ac_stime += stime; in acct_collect()
Dexit.c89 cputime_t utime, stime; in __exit_signal() local
126 task_cputime(tsk, &utime, &stime); in __exit_signal()
129 sig->stime += stime; in __exit_signal()
Dsys.c1546 cputime_t tgutime, tgstime, utime, stime; in k_getrusage() local
1550 utime = stime = 0; in k_getrusage()
1553 task_cputime_adjusted(current, &utime, &stime); in k_getrusage()
1566 stime = p->signal->cstime; in k_getrusage()
1581 stime += tgstime; in k_getrusage()
1603 cputime_to_timeval(stime, &r->ru_stime); in k_getrusage()
Dsignal.c1629 cputime_t utime, stime; in do_notify_parent() local
1667 task_cputime(tsk, &utime, &stime); in do_notify_parent()
1669 info.si_stime = cputime_to_clock_t(stime + tsk->signal->stime); in do_notify_parent()
1733 cputime_t utime, stime; in do_notify_parent_cldstop() local
1752 task_cputime(tsk, &utime, &stime); in do_notify_parent_cldstop()
1754 info.si_stime = cputime_to_clock_t(stime); in do_notify_parent_cldstop()
Dfork.c1342 p->utime = p->stime = p->gtime = 0; in copy_process()
1345 p->prev_cputime.utime = p->prev_cputime.stime = 0; in copy_process()
Dcompat.c1048 COMPAT_SYSCALL_DEFINE1(stime, compat_time_t __user *, tptr) in COMPAT_SYSCALL_DEFINE1() argument
/linux-4.1.27/kernel/time/
Dposix-cpu-timers.c121 if (!cputime->utime && !cputime->stime && !cputime->sum_exec_runtime) in task_cputime_zero()
128 cputime_t utime, stime; in prof_ticks() local
130 task_cputime(p, &utime, &stime); in prof_ticks()
132 return cputime_to_expires(utime + stime); in prof_ticks()
204 if (b->stime > a->stime) in update_gt_cputime()
205 a->stime = b->stime; in update_gt_cputime()
250 *sample = cputime_to_expires(cputime.utime + cputime.stime); in cpu_clock_sample_group()
550 *sample = cputime_to_expires(cputime.utime + cputime.stime); in cpu_timer_sample_group()
947 ptime = utime + cputime_to_expires(cputime.stime); in check_process_timers()
1077 if (expires->stime && sample->utime + sample->stime >= expires->stime) in task_cputime_expired()
[all …]
Ditimer.c61 t = cputime.utime + cputime.stime; in get_cpu_itimer()
Dtime.c82 SYSCALL_DEFINE1(stime, time_t __user *, tptr) in SYSCALL_DEFINE1() argument
/linux-4.1.27/fs/proc/
Darray.c379 cputime_t cutime, cstime, utime, stime; in do_task_stat() local
401 cutime = cstime = utime = stime = 0; in do_task_stat()
435 thread_group_cputime_adjusted(task, &utime, &stime); in do_task_stat()
451 task_cputime_adjusted(task, &utime, &stime); in do_task_stat()
475 seq_put_decimal_ull(m, ' ', cputime_to_clock_t(stime)); in do_task_stat()
/linux-4.1.27/include/linux/
Dsched.h536 cputime_t stime; member
555 cputime_t stime; member
559 #define prof_exp stime
566 .stime = 0, \
695 cputime_t utime, stime, cutime, cstime; member
1432 cputime_t utime, stime, utimescaled, stimescaled; member
1931 cputime_t *utime, cputime_t *stime);
1937 cputime_t *utime, cputime_t *stime) in task_cputime() argument
1941 if (stime) in task_cputime()
1942 *stime = t->stime; in task_cputime()
/linux-4.1.27/drivers/gpu/drm/nouveau/
Dnouveau_display.c96 ktime_t *stime, ktime_t *etime) in nouveau_display_scanoutpos_head() argument
125 if (stime) *stime = ns_to_ktime(args.scan.time[0]); in nouveau_display_scanoutpos_head()
135 int *vpos, int *hpos, ktime_t *stime, ktime_t *etime) in nouveau_display_scanoutpos() argument
142 stime, etime); in nouveau_display_scanoutpos()
/linux-4.1.27/drivers/isdn/mISDN/
Dstack.c206 cputime_t utime, stime; in mISDNStackd() local
309 task_cputime(st->thread, &utime, &stime); in mISDNStackd()
312 dev_name(&st->dev->dev), utime, stime); in mISDNStackd()
/linux-4.1.27/arch/x86/kernel/
Dapm_32.c909 cputime_t stime; in apm_cpu_idle() local
916 task_cputime(current, NULL, &stime); in apm_cpu_idle()
922 idle_percentage = stime - last_stime; in apm_cpu_idle()
931 last_stime = stime; in apm_cpu_idle()
/linux-4.1.27/drivers/power/
Dlp8788-charger.c656 char *stime[] = { "400ms", "5min", "10min", "15min", in lp8788_show_eoc_time() local
664 stime[val]); in lp8788_show_eoc_time()
/linux-4.1.27/fs/btrfs/
Dioctl.c78 struct btrfs_ioctl_timespec_32 stime; /* in */ member
5018 btrfs_set_stack_timespec_sec(&root_item->stime, sa->stime.sec); in _btrfs_ioctl_set_received_subvol()
5019 btrfs_set_stack_timespec_nsec(&root_item->stime, sa->stime.nsec); in _btrfs_ioctl_set_received_subvol()
5075 args64->stime.sec = args32->stime.sec; in btrfs_ioctl_set_received_subvol_32()
5076 args64->stime.nsec = args32->stime.nsec; in btrfs_ioctl_set_received_subvol_32()
5088 args32->stime.sec = args64->stime.sec; in btrfs_ioctl_set_received_subvol_32()
5089 args32->stime.nsec = args64->stime.nsec; in btrfs_ioctl_set_received_subvol_32()
Dtransaction.c1371 memset(&new_root_item->stime, 0, sizeof(new_root_item->stime)); in create_pending_snapshot()
Dctree.h805 struct btrfs_timespec stime; member
/linux-4.1.27/drivers/gpu/drm/
Ddrm_irq.c671 ktime_t stime, etime; in drm_calc_vbltimestamp_from_scanoutpos() local
714 &hpos, &stime, &etime); in drm_calc_vbltimestamp_from_scanoutpos()
724 duration_ns = ktime_to_ns(etime) - ktime_to_ns(stime); in drm_calc_vbltimestamp_from_scanoutpos()
/linux-4.1.27/arch/alpha/kernel/
Dosf_sys.c1140 cputime_t utime, stime; in SYSCALL_DEFINE2() local
1148 task_cputime(current, &utime, &stime); in SYSCALL_DEFINE2()
1150 jiffies_to_timeval32(stime, &r.ru_stime); in SYSCALL_DEFINE2()
/linux-4.1.27/fs/
Dbinfmt_elf_fdpic.c1347 cputime_to_timeval(cputime.stime, &prstatus->pr_stime); in fill_prstatus()
1349 cputime_t utime, stime; in fill_prstatus() local
1351 task_cputime(p, &utime, &stime); in fill_prstatus()
1353 cputime_to_timeval(stime, &prstatus->pr_stime); in fill_prstatus()
Dbinfmt_elf.c1414 cputime_to_timeval(cputime.stime, &prstatus->pr_stime); in fill_prstatus()
1416 cputime_t utime, stime; in fill_prstatus() local
1418 task_cputime(p, &utime, &stime); in fill_prstatus()
1420 cputime_to_timeval(stime, &prstatus->pr_stime); in fill_prstatus()
/linux-4.1.27/include/uapi/linux/
Dbtrfs.h456 struct btrfs_ioctl_timespec stime; /* in */ member
/linux-4.1.27/arch/parisc/kernel/
Dsyscall_table.S89 ENTRY_COMP(stime) /* 25 */
/linux-4.1.27/arch/powerpc/include/asm/
Dsystbl.h31 COMPAT_SYS_SPU(stime)
/linux-4.1.27/Documentation/accounting/
Dtaskstats-struct.txt173 __u64 ac_stimescaled; /* stime scaled on frequency etc */
/linux-4.1.27/drivers/gpu/drm/radeon/
Dradeon_display.c1792 int *vpos, int *hpos, ktime_t *stime, ktime_t *etime) in radeon_get_crtc_scanoutpos() argument
1803 if (stime) in radeon_get_crtc_scanoutpos()
1804 *stime = ktime_get(); in radeon_get_crtc_scanoutpos()
Dradeon_drv.c128 int *vpos, int *hpos, ktime_t *stime,
Dradeon_mode.h881 int *vpos, int *hpos, ktime_t *stime,
/linux-4.1.27/include/drm/
DdrmP.h499 int *vpos, int *hpos, ktime_t *stime,
/linux-4.1.27/arch/x86/syscalls/
Dsyscall_32.tbl34 25 i386 stime sys_stime compat_sys_stime
/linux-4.1.27/arch/x86/include/asm/
Dkvm_host.h454 struct gfn_to_hva_cache stime; member
/linux-4.1.27/drivers/gpu/drm/i915/
Di915_irq.c639 ktime_t *stime, ktime_t *etime) in i915_get_crtc_scanoutpos() argument
681 if (stime) in i915_get_crtc_scanoutpos()
682 *stime = ktime_get(); in i915_get_crtc_scanoutpos()
/linux-4.1.27/arch/x86/kvm/
Dx86.c2124 if (unlikely(kvm_read_guest_cached(vcpu->kvm, &vcpu->arch.st.stime, in record_steal_time()
2132 kvm_write_guest_cached(vcpu->kvm, &vcpu->arch.st.stime, in record_steal_time()
2256 if (kvm_gfn_to_hva_cache_init(vcpu->kvm, &vcpu->arch.st.stime, in kvm_set_msr_common()
/linux-4.1.27/Documentation/filesystems/
Dproc.txt293 stime kernel mode jiffies