Home
last modified time | relevance | path

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

/Linux-v5.4/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-v5.4/tools/testing/selftests/proc/
D.gitignore10 /proc-uptime-001
11 /proc-uptime-002
DMakefile15 TEST_GEN_PROGS += proc-uptime-001
16 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-v5.4/include/uapi/linux/
Dsysinfo.h9 __kernel_long_t uptime; /* Seconds since boot */ member
/Linux-v5.4/kernel/debug/kdb/
Dkdb_main.c2494 u64 uptime = ktime_get_mono_fast_ns(); in kdb_sysinfo() local
2497 val->uptime = div_u64(uptime, NSEC_PER_SEC); in kdb_sysinfo()
2536 if (val.uptime > (24*60*60)) { in kdb_summary()
2537 int days = val.uptime / (24*60*60); in kdb_summary()
2538 val.uptime %= (24*60*60); in kdb_summary()
2541 kdb_printf("%02ld:%02ld\n", val.uptime/(60*60), (val.uptime/60)%60); in kdb_summary()
/Linux-v5.4/include/net/
Ddn_dev.h98 unsigned long uptime; /* Time device went up in jiffies */ member
/Linux-v5.4/drivers/gpu/drm/i915/
Di915_gpu_error.h35 ktime_t uptime; member
Di915_gpu_error.c675 ts = ktime_to_timespec64(error->uptime); in __err_print_to_sgl()
1702 error->uptime = ktime_sub(ktime_get(), i915->gt.last_init_time); in i915_capture_gpu_state()
/Linux-v5.4/Documentation/ABI/testing/
Ddebugfs-cros-ec27 What: /sys/kernel/debug/<cros-ec-device>/uptime
/Linux-v5.4/Documentation/admin-guide/
Dcpu-load.rst6 ``/proc/uptime`` that userland tools, such as top(1), use to calculate
/Linux-v5.4/Documentation/x86/x86_64/
Dmachinecheck.rst57 deadlock. Higher tolerant values trade potentially better uptime
/Linux-v5.4/kernel/
Dsys.c2522 info->uptime = tp.tv_sec + (tp.tv_nsec ? 1 : 0); in do_sysinfo()
2589 s32 uptime; member
2633 __put_user(s.uptime, &info->uptime) || in COMPAT_SYSCALL_DEFINE1()
/Linux-v5.4/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-v5.4/arch/powerpc/xmon/
Dxmon.c926 struct timespec64 uptime; in show_uptime() local
932 ktime_get_coarse_boottime_ts64(&uptime); in show_uptime()
933 printf("Uptime: %lu.%.2lu seconds\n", (unsigned long)uptime.tv_sec, in show_uptime()
934 ((unsigned long)uptime.tv_nsec / (NSEC_PER_SEC/100))); in show_uptime()
/Linux-v5.4/drivers/md/
DKconfig191 This brings the redundancy (and uptime) of RAID levels across the
/Linux-v5.4/lib/
DKconfig.debug847 high-availability systems that have uptime guarantees and
950 high-availability systems that have uptime guarantees and
/Linux-v5.4/Documentation/filesystems/
Dproc.txt668 uptime Wall clock since boot, combined idle time of all cpus
/Linux-v5.4/Documentation/trace/
Dftrace.rst448 uptime: