| /linux/fs/proc/ |
| H A 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()
|
| H A D | Makefile | 23 proc-y += uptime.o
|
| /linux/drivers/platform/cznic/ |
| H A D | turris-omnia-mcu-sys-off-wakeup.c | 28 static int omnia_get_uptime_wakeup(const struct i2c_client *client, u32 *uptime, in omnia_get_uptime_wakeup() argument 39 if (uptime) in omnia_get_uptime_wakeup() 40 *uptime = le32_to_cpu(reply[0]); in omnia_get_uptime_wakeup() 50 u32 uptime; in omnia_read_time() local 53 err = omnia_get_uptime_wakeup(to_i2c_client(dev), &uptime, NULL); in omnia_read_time() 57 rtc_time64_to_tm(uptime, tm); in omnia_read_time()
|
| /linux/tools/testing/selftests/timens/ |
| H A D | procfs.c | 68 static int read_proc_uptime(struct timespec *uptime) in read_proc_uptime() argument 73 proc = fopen("/proc/uptime", "r"); in read_proc_uptime() 75 pr_perror("Unable to open /proc/uptime"); in read_proc_uptime() 84 pr_err("failed to parse /proc/uptime"); in read_proc_uptime() 89 uptime->tv_sec = up_sec; in read_proc_uptime() 90 uptime->tv_nsec = up_nsec; in read_proc_uptime() 141 pr_fail("uptime in /proc/uptime: old %ld, new %ld [%ld]", in check_uptime() 147 ksft_test_result_pass("Passed for /proc/uptime\n"); in check_uptime()
|
| /linux/tools/testing/selftests/proc/ |
| H A D | .gitignore | 20 /proc-uptime-001 21 /proc-uptime-002
|
| H A D | Makefile | 23 TEST_GEN_PROGS += proc-uptime-001 24 TEST_GEN_PROGS += proc-uptime-002
|
| /linux/include/uapi/linux/ |
| H A D | sysinfo.h | 9 __kernel_long_t uptime; /* Seconds since boot */ member
|
| /linux/tools/thermal/lib/ |
| H A D | uptimeofday.c | 20 __offset = __tv.tv_sec - info.uptime; in uptimeofday_init()
|
| /linux/Documentation/translations/zh_CN/admin-guide/ |
| H A D | cpu-load.rst | 5 Linux通过``/proc/stat``和``/proc/uptime``导出各种信息,用户空间工具
|
| /linux/Documentation/translations/zh_TW/admin-guide/ |
| H A D | cpu-load.rst | 11 Linux通過``/proc/stat``和``/proc/uptime``導出各種信息,用戶空間工具
|
| /linux/Documentation/ABI/removed/ |
| H A D | sysfs-mce | 23 better uptime with the risk of a crash or even corruption
|
| /linux/Documentation/hwmon/ |
| H A D | sg2042-mcu.rst | 52 uptime RO Seconds after the MCU is powered
|
| /linux/Documentation/admin-guide/ |
| H A D | cpu-load.rst | 6 ``/proc/uptime`` that userland tools, such as top(1), use to calculate
|
| H A D | kernel-parameters.txt | 7574 uptime - Use jiffies as the time stamp.
|
| /linux/tools/perf/tests/shell/base_probe/ |
| H A D | test_adding_kernel.sh | 96 …t -e probe:$TEST_PROBE\* -o $LOGS_DIR/adding_kernel_using_probe.log -- cat /proc/uptime > /dev/null
|
| /linux/drivers/char/ |
| H A D | random.c | 240 time64_t uptime = ktime_get_seconds(); in crng_reseed_interval() local 241 if (uptime >= CRNG_RESEED_INTERVAL / HZ * 2) in crng_reseed_interval() 245 (unsigned int)uptime / 2 * HZ); in crng_reseed_interval()
|
| /linux/Documentation/ABI/testing/ |
| H A D | debugfs-cros-ec | 27 What: /sys/kernel/debug/<cros-ec-device>/uptime
|
| /linux/Documentation/dev-tools/ |
| H A 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/kernel/ |
| H A D | sys.c | 2906 info->uptime = tp.tv_sec + (tp.tv_nsec ? 1 : 0); in do_sysinfo() 2973 s32 uptime; member 3018 s_32.uptime = s.uptime; in COMPAT_SYSCALL_DEFINE1()
|
| /linux/drivers/md/ |
| H A D | Kconfig | 213 This brings the redundancy (and uptime) of RAID levels across the
|
| /linux/lib/ |
| H A D | Kconfig.debug | 1124 high-availability systems that have uptime guarantees and 1273 high-availability systems that have uptime guarantees and
|
| /linux/Documentation/filesystems/ |
| H A D | proc.rst | 772 uptime Wall clock since boot, combined idle time of all cpus
|
| /linux/Documentation/RCU/Design/Requirements/ |
| H A D | Requirements.rst | 1024 likely to run. An uptime of ten years is quite possible, a runtime of
|
| /linux/Documentation/trace/ |
| H A D | ftrace.rst | 554 uptime:
|