Home
last modified time | relevance | path

Searched refs:uptime (Results 1 – 19 of 19) sorted by relevance

/Linux-v4.19/fs/proc/
Duptime.c12 struct timespec64 uptime; in uptime_proc_show() local
22 ktime_get_boottime_ts64(&uptime); in uptime_proc_show()
26 (unsigned long) uptime.tv_sec, in uptime_proc_show()
27 (uptime.tv_nsec / (NSEC_PER_SEC / 100)), in uptime_proc_show()
DMakefile23 proc-y += uptime.o
/Linux-v4.19/tools/testing/selftests/proc/
D.gitignore9 /proc-uptime-001
10 /proc-uptime-002
DMakefile13 TEST_GEN_PROGS += proc-uptime-001
14 TEST_GEN_PROGS += proc-uptime-002
Dproc-uptime.h25 static void proc_uptime(int fd, uint64_t *uptime, uint64_t *idle) in proc_uptime() argument
46 *uptime = val1 * 100 + val2; in proc_uptime()
/Linux-v4.19/include/uapi/linux/
Dsysinfo.h9 __kernel_long_t uptime; /* Seconds since boot */ member
/Linux-v4.19/kernel/debug/kdb/
Dkdb_main.c2509 u64 uptime = ktime_get_mono_fast_ns(); in kdb_sysinfo() local
2512 val->uptime = div_u64(uptime, NSEC_PER_SEC); in kdb_sysinfo()
2552 if (val.uptime > (24*60*60)) { in kdb_summary()
2553 int days = val.uptime / (24*60*60); in kdb_summary()
2554 val.uptime %= (24*60*60); in kdb_summary()
2557 kdb_printf("%02ld:%02ld\n", val.uptime/(60*60), (val.uptime/60)%60); in kdb_summary()
/Linux-v4.19/include/net/
Ddn_dev.h98 unsigned long uptime; /* Time device went up in jiffies */ member
/Linux-v4.19/drivers/gpu/drm/i915/
Di915_gpu_error.h33 ktime_t uptime; member
Di915_gpu_error.c660 ts = ktime_to_timespec64(error->uptime); in i915_error_state_to_str()
1788 error->uptime = ktime_sub(ktime_get(), in capture()
/Linux-v4.19/Documentation/
Dcpu-load.txt6 ``/proc/uptime`` that userland tools, such as top(1), use to calculate
/Linux-v4.19/Documentation/x86/x86_64/
Dmachinecheck55 deadlock. Higher tolerant values trade potentially better uptime
/Linux-v4.19/kernel/
Dsys.c2512 info->uptime = tp.tv_sec + (tp.tv_nsec ? 1 : 0); in do_sysinfo()
2579 s32 uptime; member
2623 __put_user(s.uptime, &info->uptime) || in COMPAT_SYSCALL_DEFINE1()
/Linux-v4.19/net/decnet/
Ddn_dev.c885 if (time_before(jiffies, dn_db->uptime + DRDELAY)) in dn_am_i_a_router()
1104 dn_db->uptime = jiffies; in dn_dev_create()
/Linux-v4.19/arch/powerpc/xmon/
Dxmon.c923 struct timespec64 uptime; in show_uptime() local
929 ktime_get_coarse_boottime_ts64(&uptime); in show_uptime()
930 printf("Uptime: %lu.%.2lu seconds\n", (unsigned long)uptime.tv_sec, in show_uptime()
931 ((unsigned long)uptime.tv_nsec / (NSEC_PER_SEC/100))); in show_uptime()
/Linux-v4.19/drivers/md/
DKconfig190 This brings the redundancy (and uptime) of RAID levels across the
/Linux-v4.19/lib/
DKconfig.debug823 high-availability systems that have uptime guarantees and
926 high-availability systems that have uptime guarantees and
/Linux-v4.19/Documentation/filesystems/
Dproc.txt627 uptime Wall clock since boot, combined idle time of all cpus
/Linux-v4.19/Documentation/trace/
Dftrace.rst440 uptime: