/linux-6.1.9/fs/proc/ |
D | uptime.c | 14 struct timespec64 uptime; in uptime_proc_show() local 28 ktime_get_boottime_ts64(&uptime); in uptime_proc_show() 29 timens_add_boottime(&uptime); in uptime_proc_show() 34 (unsigned long) uptime.tv_sec, in uptime_proc_show() 35 (uptime.tv_nsec / (NSEC_PER_SEC / 100)), in uptime_proc_show()
|
D | Makefile | 23 proc-y += uptime.o
|
/linux-6.1.9/tools/testing/selftests/timens/ |
D | procfs.c | 68 static int read_proc_uptime(struct timespec *uptime) in read_proc_uptime() argument 89 uptime->tv_sec = up_sec; in read_proc_uptime() 90 uptime->tv_nsec = up_nsec; in read_proc_uptime()
|
/linux-6.1.9/tools/testing/selftests/proc/ |
D | .gitignore | 16 /proc-uptime-001 17 /proc-uptime-002
|
D | proc-uptime.h | 25 static void proc_uptime(int fd, uint64_t *uptime, uint64_t *idle) in proc_uptime() argument 46 *uptime = val1 * 100 + val2; in proc_uptime()
|
D | Makefile | 19 TEST_GEN_PROGS += proc-uptime-001 20 TEST_GEN_PROGS += proc-uptime-002
|
/linux-6.1.9/Documentation/hwmon/ |
D | corsair-psu.rst | 93 uptime Session uptime of the psu 94 uptime_total Total uptime of the psu
|
/linux-6.1.9/include/uapi/linux/ |
D | sysinfo.h | 9 __kernel_long_t uptime; /* Seconds since boot */ member
|
/linux-6.1.9/tools/thermal/lib/ |
D | uptimeofday.c | 20 __offset = __tv.tv_sec - info.uptime; in uptimeofday_init()
|
/linux-6.1.9/Documentation/translations/zh_CN/admin-guide/ |
D | cpu-load.rst | 5 Linux通过``/proc/stat``和``/proc/uptime``导出各种信息,用户空间工具
|
/linux-6.1.9/kernel/debug/kdb/ |
D | kdb_main.c | 2485 u64 uptime = ktime_get_mono_fast_ns(); in kdb_sysinfo() local 2488 val->uptime = div_u64(uptime, NSEC_PER_SEC); in kdb_sysinfo() 2520 if (val.uptime > (24*60*60)) { in kdb_summary() 2521 int days = val.uptime / (24*60*60); in kdb_summary() 2522 val.uptime %= (24*60*60); in kdb_summary() 2525 kdb_printf("%02ld:%02ld\n", val.uptime/(60*60), (val.uptime/60)%60); in kdb_summary()
|
/linux-6.1.9/Documentation/translations/zh_TW/admin-guide/ |
D | cpu-load.rst | 11 Linux通過``/proc/stat``和``/proc/uptime``導出各種信息,用戶空間工具
|
/linux-6.1.9/Documentation/ABI/removed/ |
D | sysfs-mce | 23 better uptime with the risk of a crash or even corruption
|
/linux-6.1.9/Documentation/admin-guide/ |
D | cpu-load.rst | 6 ``/proc/uptime`` that userland tools, such as top(1), use to calculate
|
/linux-6.1.9/drivers/char/ |
D | random.c | 276 time64_t uptime = ktime_get_seconds(); in crng_reseed_interval() local 277 if (uptime >= CRNG_RESEED_INTERVAL / HZ * 2) in crng_reseed_interval() 281 (unsigned int)uptime / 2 * HZ); in crng_reseed_interval()
|
/linux-6.1.9/drivers/gpu/drm/i915/ |
D | i915_gpu_error.h | 194 ktime_t uptime; member
|
D | i915_gpu_error.c | 842 ts = ktime_to_timespec64(error->uptime); in __err_print_to_sgl() 1983 error->uptime = ktime_sub(ktime_get(), to_gt(i915)->last_init_time); in i915_gpu_coredump_alloc()
|
/linux-6.1.9/Documentation/ABI/testing/ |
D | debugfs-cros-ec | 27 What: /sys/kernel/debug/<cros-ec-device>/uptime
|
/linux-6.1.9/Documentation/dev-tools/ |
D | kfence.rst | 14 total uptime KFENCE will detect bugs in code paths not typically exercised by 16 uptime is when the tool is deployed across a large fleet of machines.
|
/linux-6.1.9/kernel/ |
D | sys.c | 2665 info->uptime = tp.tv_sec + (tp.tv_nsec ? 1 : 0); in do_sysinfo() 2732 s32 uptime; member 2777 s_32.uptime = s.uptime; in COMPAT_SYSCALL_DEFINE1()
|
/linux-6.1.9/arch/powerpc/xmon/ |
D | xmon.c | 1015 struct timespec64 uptime; in show_uptime() local 1021 ktime_get_coarse_boottime_ts64(&uptime); in show_uptime() 1022 printf("Uptime: %lu.%.2lu seconds\n", (unsigned long)uptime.tv_sec, in show_uptime() 1023 ((unsigned long)uptime.tv_nsec / (NSEC_PER_SEC/100))); in show_uptime()
|
/linux-6.1.9/drivers/hwmon/ |
D | corsair-psu.c | 636 DEFINE_SHOW_ATTRIBUTE(uptime);
|
/linux-6.1.9/drivers/md/ |
D | Kconfig | 192 This brings the redundancy (and uptime) of RAID levels across the
|
/linux-6.1.9/lib/ |
D | Kconfig.debug | 1057 high-availability systems that have uptime guarantees and 1145 high-availability systems that have uptime guarantees and
|
/linux-6.1.9/Documentation/filesystems/ |
D | proc.rst | 728 uptime Wall clock since boot, combined idle time of all cpus
|