| /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/kernel/debug/kdb/ |
| H A D | kdb_main.c | 2367 u64 uptime = ktime_get_mono_fast_ns(); in kdb_sysinfo() local 2370 val->uptime = div_u64(uptime, NSEC_PER_SEC); in kdb_sysinfo() 2402 if (val.uptime > (24*60*60)) { in kdb_summary() 2403 int days = val.uptime / (24*60*60); in kdb_summary() 2404 val.uptime %= (24*60*60); in kdb_summary() 2407 kdb_printf("%02ld:%02ld\n", val.uptime/(60*60), (val.uptime/60)%60); in kdb_summary()
|
| /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 | 7706 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 | 233 time64_t uptime = ktime_get_seconds(); in crng_reseed_interval() local 234 if (uptime >= CRNG_RESEED_INTERVAL / HZ * 2) in crng_reseed_interval() 238 (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 | 2940 info->uptime = tp.tv_sec + (tp.tv_nsec ? 1 : 0); in do_sysinfo() 3007 s32 uptime; in COMPAT_SYSCALL_DEFINE1() 3052 s_32.uptime = s.uptime; 2973 s32 uptime; global() member
|
| /linux/drivers/gpu/drm/i915/ |
| H A D | i915_gpu_error.c | 912 ts = ktime_to_timespec64(error->uptime); in __err_print_to_sgl() 2100 error->uptime = ktime_sub(ktime_get(), to_gt(i915)->last_init_time); in i915_gpu_coredump_alloc()
|
| /linux/lib/ |
| H A D | Kconfig.debug | 1162 high-availability systems that have uptime guarantees and 1311 high-availability systems that have uptime guarantees and 1355 high-availability systems that have uptime guarantees and
|