Home
last modified time | relevance | path

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

/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()
/kernel/
Dsys.c2674 info->uptime = tp.tv_sec + (tp.tv_nsec ? 1 : 0); in do_sysinfo()
2741 s32 uptime; member
2785 __put_user(s.uptime, &info->uptime) || in COMPAT_SYSCALL_DEFINE1()