Home
last modified time | relevance | path

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

12

/linux-6.12.1/fs/proc/
Duptime.c14 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()
DMakefile23 proc-y += uptime.o
/linux-6.12.1/drivers/platform/cznic/
Dturris-omnia-mcu-sys-off-wakeup.c28 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-6.12.1/tools/testing/selftests/timens/
Dprocfs.c68 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.12.1/tools/testing/selftests/proc/
D.gitignore18 /proc-uptime-001
19 /proc-uptime-002
DMakefile21 TEST_GEN_PROGS += proc-uptime-001
22 TEST_GEN_PROGS += proc-uptime-002
/linux-6.12.1/Documentation/hwmon/
Dcorsair-psu.rst98 uptime Session uptime of the psu
99 uptime_total Total uptime of the psu
Dsg2042-mcu.rst52 uptime RO Seconds after the MCU is powered
/linux-6.12.1/include/uapi/linux/
Dsysinfo.h9 __kernel_long_t uptime; /* Seconds since boot */ member
/linux-6.12.1/tools/thermal/lib/
Duptimeofday.c20 __offset = __tv.tv_sec - info.uptime; in uptimeofday_init()
/linux-6.12.1/kernel/debug/kdb/
Dkdb_main.c2472 u64 uptime = ktime_get_mono_fast_ns(); in kdb_sysinfo() local
2475 val->uptime = div_u64(uptime, NSEC_PER_SEC); in kdb_sysinfo()
2507 if (val.uptime > (24*60*60)) { in kdb_summary()
2508 int days = val.uptime / (24*60*60); in kdb_summary()
2509 val.uptime %= (24*60*60); in kdb_summary()
2512 kdb_printf("%02ld:%02ld\n", val.uptime/(60*60), (val.uptime/60)%60); in kdb_summary()
/linux-6.12.1/Documentation/translations/zh_CN/admin-guide/
Dcpu-load.rst5 Linux通过``/proc/stat``和``/proc/uptime``导出各种信息,用户空间工具
/linux-6.12.1/Documentation/translations/zh_TW/admin-guide/
Dcpu-load.rst11 Linux通過``/proc/stat``和``/proc/uptime``導出各種信息,用戶空間工具
/linux-6.12.1/Documentation/ABI/removed/
Dsysfs-mce23 better uptime with the risk of a crash or even corruption
/linux-6.12.1/Documentation/admin-guide/
Dcpu-load.rst6 ``/proc/uptime`` that userland tools, such as top(1), use to calculate
/linux-6.12.1/tools/perf/tests/shell/base_probe/
Dtest_adding_kernel.sh88 …t -e probe:$TEST_PROBE\* -o $LOGS_DIR/adding_kernel_using_probe.log -- cat /proc/uptime > /dev/null
/linux-6.12.1/drivers/hwmon/
Dsg2042-mcu.c150 static DEVICE_ATTR_RO(uptime);
Dcorsair-psu.c698 DEFINE_SHOW_ATTRIBUTE(uptime);
/linux-6.12.1/drivers/char/
Drandom.c240 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-6.12.1/drivers/gpu/drm/i915/
Di915_gpu_error.h198 ktime_t uptime; member
Di915_gpu_error.c856 ts = ktime_to_timespec64(error->uptime); in __err_print_to_sgl()
2027 error->uptime = ktime_sub(ktime_get(), to_gt(i915)->last_init_time); in i915_gpu_coredump_alloc()
/linux-6.12.1/Documentation/ABI/testing/
Ddebugfs-cros-ec27 What: /sys/kernel/debug/<cros-ec-device>/uptime
/linux-6.12.1/Documentation/dev-tools/
Dkfence.rst14 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.12.1/kernel/
Dsys.c2821 info->uptime = tp.tv_sec + (tp.tv_nsec ? 1 : 0); in do_sysinfo()
2888 s32 uptime; member
2933 s_32.uptime = s.uptime; in COMPAT_SYSCALL_DEFINE1()
/linux-6.12.1/arch/powerpc/xmon/
Dxmon.c1012 struct timespec64 uptime; in show_uptime() local
1018 ktime_get_coarse_boottime_ts64(&uptime); in show_uptime()
1019 printf("Uptime: %lu.%.2lu seconds\n", (unsigned long)uptime.tv_sec, in show_uptime()
1020 ((unsigned long)uptime.tv_nsec / (NSEC_PER_SEC/100))); in show_uptime()

12