Home
last modified time | relevance | path

Searched refs:idle (Results 1 – 3 of 3) sorted by relevance

/fs/proc/
Dstat.c28 u64 idle; in get_idle_time() local
30 idle = kcs->cpustat[CPUTIME_IDLE]; in get_idle_time()
32 idle += arch_idle_time(cpu); in get_idle_time()
33 return idle; in get_idle_time()
50 u64 idle, idle_usecs = -1ULL; in get_idle_time() local
57 idle = kcs->cpustat[CPUTIME_IDLE]; in get_idle_time()
59 idle = idle_usecs * NSEC_PER_USEC; in get_idle_time()
61 return idle; in get_idle_time()
110 u64 user, nice, system, idle, iowait, irq, softirq, steal; in show_stat() local
117 user = nice = system = idle = iowait = in show_stat()
[all …]
Duptime.c13 struct timespec64 idle; in uptime_proc_show() local
23 idle.tv_sec = div_u64_rem(nsec, NSEC_PER_SEC, &rem); in uptime_proc_show()
24 idle.tv_nsec = rem; in uptime_proc_show()
28 (unsigned long) idle.tv_sec, in uptime_proc_show()
29 (idle.tv_nsec / (NSEC_PER_SEC / 100))); in uptime_proc_show()
/fs/
Dcompat_ioctl.c324 struct ppp_idle __user *idle; in ppp_gidle() local
328 idle = compat_alloc_user_space(sizeof(*idle)); in ppp_gidle()
330 err = do_ioctl(file, PPPIOCGIDLE, (unsigned long) idle); in ppp_gidle()
333 if (get_user(xmit, &idle->xmit_idle) || in ppp_gidle()
334 get_user(recv, &idle->recv_idle) || in ppp_gidle()