/linux-4.1.27/sound/core/ |
D | hrtimer.c | 46 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/ |
D | cputime.c | 193 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 …]
|
D | stats.h | 242 cputimer->cputime.stime += cputime; in account_group_system_time()
|
/linux-4.1.27/kernel/ |
D | tsacct.c | 34 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()
|
D | delayacct.c | 85 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()
|
D | acct.c | 533 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()
|
D | exit.c | 89 cputime_t utime, stime; in __exit_signal() local 126 task_cputime(tsk, &utime, &stime); in __exit_signal() 129 sig->stime += stime; in __exit_signal()
|
D | sys.c | 1546 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()
|
D | signal.c | 1629 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()
|
D | fork.c | 1342 p->utime = p->stime = p->gtime = 0; in copy_process() 1345 p->prev_cputime.utime = p->prev_cputime.stime = 0; in copy_process()
|
D | compat.c | 1048 COMPAT_SYSCALL_DEFINE1(stime, compat_time_t __user *, tptr) in COMPAT_SYSCALL_DEFINE1() argument
|
/linux-4.1.27/kernel/time/ |
D | posix-cpu-timers.c | 121 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 …]
|
D | itimer.c | 61 t = cputime.utime + cputime.stime; in get_cpu_itimer()
|
D | time.c | 82 SYSCALL_DEFINE1(stime, time_t __user *, tptr) in SYSCALL_DEFINE1() argument
|
/linux-4.1.27/fs/proc/ |
D | array.c | 379 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/ |
D | sched.h | 536 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/ |
D | nouveau_display.c | 96 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/ |
D | stack.c | 206 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/ |
D | apm_32.c | 909 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/ |
D | lp8788-charger.c | 656 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/ |
D | ioctl.c | 78 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()
|
D | transaction.c | 1371 memset(&new_root_item->stime, 0, sizeof(new_root_item->stime)); in create_pending_snapshot()
|
D | ctree.h | 805 struct btrfs_timespec stime; member
|
/linux-4.1.27/drivers/gpu/drm/ |
D | drm_irq.c | 671 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/ |
D | osf_sys.c | 1140 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/ |
D | binfmt_elf_fdpic.c | 1347 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()
|
D | binfmt_elf.c | 1414 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/ |
D | btrfs.h | 456 struct btrfs_ioctl_timespec stime; /* in */ member
|
/linux-4.1.27/arch/parisc/kernel/ |
D | syscall_table.S | 89 ENTRY_COMP(stime) /* 25 */
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | systbl.h | 31 COMPAT_SYS_SPU(stime)
|
/linux-4.1.27/Documentation/accounting/ |
D | taskstats-struct.txt | 173 __u64 ac_stimescaled; /* stime scaled on frequency etc */
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
D | radeon_display.c | 1792 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()
|
D | radeon_drv.c | 128 int *vpos, int *hpos, ktime_t *stime,
|
D | radeon_mode.h | 881 int *vpos, int *hpos, ktime_t *stime,
|
/linux-4.1.27/include/drm/ |
D | drmP.h | 499 int *vpos, int *hpos, ktime_t *stime,
|
/linux-4.1.27/arch/x86/syscalls/ |
D | syscall_32.tbl | 34 25 i386 stime sys_stime compat_sys_stime
|
/linux-4.1.27/arch/x86/include/asm/ |
D | kvm_host.h | 454 struct gfn_to_hva_cache stime; member
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
D | i915_irq.c | 639 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/ |
D | x86.c | 2124 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/ |
D | proc.txt | 293 stime kernel mode jiffies
|