/linux-4.4.14/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.4.14/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() 456 *st = cputime.stime; in thread_group_cputime_adjusted() 518 static cputime_t scale_stime(u64 stime, u64 rtime, u64 total) in scale_stime() argument 524 if (stime > rtime) in scale_stime() 525 swap(rtime, stime); in scale_stime() [all …]
|
D | stats.h | 240 atomic64_add(cputime, &cputimer->cputime_atomic.stime); in account_group_system_time()
|
/linux-4.4.14/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 | 1578 cputime_t utime, stime; in do_notify_parent() local 1616 task_cputime(tsk, &utime, &stime); in do_notify_parent() 1618 info.si_stime = cputime_to_clock_t(stime + tsk->signal->stime); in do_notify_parent() 1682 cputime_t utime, stime; in do_notify_parent_cldstop() local 1701 task_cputime(tsk, &utime, &stime); in do_notify_parent_cldstop() 1703 info.si_stime = cputime_to_clock_t(stime); in do_notify_parent_cldstop()
|
D | compat.c | 1048 COMPAT_SYSCALL_DEFINE1(stime, compat_time_t __user *, tptr) in COMPAT_SYSCALL_DEFINE1() argument
|
D | fork.c | 1347 p->utime = p->stime = p->gtime = 0; in copy_process()
|
/linux-4.4.14/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() 217 __update_gt_cputime(&cputime_atomic->stime, sum->stime); in update_gt_cputime() 226 times->stime = atomic64_read(&atomic_times->stime); in sample_cputime_atomic() 273 *sample = cputime_to_expires(cputime.utime + cputime.stime); in cpu_clock_sample_group() 573 *sample = cputime_to_expires(cputime.utime + cputime.stime); in cpu_timer_sample_group() 989 ptime = utime + cputime_to_expires(cputime.stime); in check_process_timers() 1121 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.4.14/include/linux/ |
D | sched.h | 547 cputime_t stime; member 555 prev->utime = prev->stime = 0; in prev_cputime_init() 572 cputime_t stime; member 578 #define prof_exp stime 584 .stime = 0, \ 594 atomic64_t stime; member 601 .stime = ATOMIC64_INIT(0), \ 737 cputime_t utime, stime, cutime, cstime; member 1521 cputime_t utime, stime, utimescaled, stimescaled; member 2036 cputime_t *utime, cputime_t *stime); [all …]
|
/linux-4.4.14/arch/x86/kvm/ |
D | hyperv.c | 184 cputime_t utime, stime; in current_task_runtime_100ns() local 186 task_cputime_adjusted(current, &utime, &stime); in current_task_runtime_100ns() 187 return div_u64(cputime_to_nsecs(utime + stime), 100); in current_task_runtime_100ns()
|
D | x86.c | 2015 if (unlikely(kvm_read_guest_cached(vcpu->kvm, &vcpu->arch.st.stime, in record_steal_time() 2023 kvm_write_guest_cached(vcpu->kvm, &vcpu->arch.st.stime, in record_steal_time() 2152 if (kvm_gfn_to_hva_cache_init(vcpu->kvm, &vcpu->arch.st.stime, in kvm_set_msr_common()
|
/linux-4.4.14/fs/proc/ |
D | array.c | 390 cputime_t cutime, cstime, utime, stime; in do_task_stat() local 412 cutime = cstime = utime = stime = 0; in do_task_stat() 446 thread_group_cputime_adjusted(task, &utime, &stime); in do_task_stat() 462 task_cputime_adjusted(task, &utime, &stime); in do_task_stat() 486 seq_put_decimal_ull(m, ' ', cputime_to_clock_t(stime)); in do_task_stat()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/ |
D | nouveau_display.c | 96 ktime_t *stime, ktime_t *etime) in nouveau_display_scanoutpos_head() argument 126 if (stime) *stime = ns_to_ktime(args.scan.time[0]); in nouveau_display_scanoutpos_head() 137 ktime_t *stime, ktime_t *etime, in nouveau_display_scanoutpos() argument 145 stime, etime); in nouveau_display_scanoutpos()
|
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_display.c | 796 ktime_t *stime, ktime_t *etime, in amdgpu_get_crtc_scanoutpos() argument 808 if (stime) in amdgpu_get_crtc_scanoutpos() 809 *stime = ktime_get(); in amdgpu_get_crtc_scanoutpos()
|
D | amdgpu_mode.h | 554 ktime_t *stime, ktime_t *etime,
|
/linux-4.4.14/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.4.14/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 = cputime_to_jiffies(stime - last_stime); in apm_cpu_idle() 931 last_stime = stime; in apm_cpu_idle()
|
/linux-4.4.14/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.4.14/drivers/gpu/drm/ |
D | drm_irq.c | 774 ktime_t stime, etime; in drm_calc_vbltimestamp_from_scanoutpos() local 813 &stime, &etime, in drm_calc_vbltimestamp_from_scanoutpos() 824 duration_ns = ktime_to_ns(etime) - ktime_to_ns(stime); in drm_calc_vbltimestamp_from_scanoutpos()
|
/linux-4.4.14/fs/btrfs/ |
D | ioctl.c | 78 struct btrfs_ioctl_timespec_32 stime; /* in */ member 5183 btrfs_set_stack_timespec_sec(&root_item->stime, sa->stime.sec); in _btrfs_ioctl_set_received_subvol() 5184 btrfs_set_stack_timespec_nsec(&root_item->stime, sa->stime.nsec); in _btrfs_ioctl_set_received_subvol() 5240 args64->stime.sec = args32->stime.sec; in btrfs_ioctl_set_received_subvol_32() 5241 args64->stime.nsec = args32->stime.nsec; in btrfs_ioctl_set_received_subvol_32() 5253 args32->stime.sec = args64->stime.sec; in btrfs_ioctl_set_received_subvol_32() 5254 args32->stime.nsec = args64->stime.nsec; in btrfs_ioctl_set_received_subvol_32()
|
D | transaction.c | 1422 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.4.14/arch/alpha/kernel/ |
D | osf_sys.c | 1140 cputime_t utime, stime; in SYSCALL_DEFINE2() local 1149 task_cputime(current, &utime, &stime); in SYSCALL_DEFINE2() 1151 stime_jiffies = cputime_to_jiffies(stime); in SYSCALL_DEFINE2()
|
/linux-4.4.14/fs/ |
D | binfmt_elf_fdpic.c | 1387 cputime_to_timeval(cputime.stime, &prstatus->pr_stime); in fill_prstatus() 1389 cputime_t utime, stime; in fill_prstatus() local 1391 task_cputime(p, &utime, &stime); in fill_prstatus() 1393 cputime_to_timeval(stime, &prstatus->pr_stime); in fill_prstatus()
|
D | binfmt_elf.c | 1424 cputime_to_timeval(cputime.stime, &prstatus->pr_stime); in fill_prstatus() 1426 cputime_t utime, stime; in fill_prstatus() local 1428 task_cputime(p, &utime, &stime); in fill_prstatus() 1430 cputime_to_timeval(stime, &prstatus->pr_stime); in fill_prstatus()
|
/linux-4.4.14/include/uapi/linux/ |
D | btrfs.h | 481 struct btrfs_ioctl_timespec stime; /* in */ member
|
/linux-4.4.14/arch/parisc/kernel/ |
D | syscall_table.S | 89 ENTRY_COMP(stime) /* 25 */
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | systbl.h | 31 COMPAT_SYS_SPU(stime)
|
/linux-4.4.14/Documentation/accounting/ |
D | taskstats-struct.txt | 173 __u64 ac_stimescaled; /* stime scaled on frequency etc */
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
D | radeon_display.c | 1855 ktime_t *stime, ktime_t *etime, in radeon_get_crtc_scanoutpos() argument 1867 if (stime) in radeon_get_crtc_scanoutpos() 1868 *stime = ktime_get(); in radeon_get_crtc_scanoutpos()
|
D | radeon_drv.c | 129 ktime_t *stime, ktime_t *etime,
|
D | radeon_mode.h | 884 ktime_t *stime, ktime_t *etime,
|
/linux-4.4.14/include/drm/ |
D | drmP.h | 517 ktime_t *stime, ktime_t *etime,
|
/linux-4.4.14/arch/x86/entry/syscalls/ |
D | syscall_32.tbl | 34 25 i386 stime sys_stime compat_sys_stime
|
/linux-4.4.14/arch/x86/include/asm/ |
D | kvm_host.h | 492 struct gfn_to_hva_cache stime; member
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
D | i915_irq.c | 775 ktime_t *stime, ktime_t *etime, in i915_get_crtc_scanoutpos() argument 817 if (stime) in i915_get_crtc_scanoutpos() 818 *stime = ktime_get(); in i915_get_crtc_scanoutpos()
|
/linux-4.4.14/Documentation/filesystems/ |
D | proc.txt | 296 stime kernel mode jiffies
|