| /netbsd-src/sbin/dmesg/ |
| H A D | dmesg.c | 155 struct timespec boottime; in main() local 164 size = sizeof(boottime); in main() 171 boottime.tv_sec = 0; in main() 172 boottime.tv_nsec = 0; in main() 177 (void)sysctl(bmib, 2, &boottime, &size, NULL, 0); in main() 356 t = boottime.tv_sec + sec; in main() 357 if (nsec + boottime.tv_nsec >= in main()
|
| /netbsd-src/lib/librpcsvc/ |
| H A D | rstat.x | 81 rstat_timeval boottime; member 100 rstat_timeval boottime; member
|
| /netbsd-src/usr.bin/rup/ |
| H A D | rup.c | 170 return d1->statstime.boottime.tv_sec in compare() 171 - d2->statstime.boottime.tv_sec; in compare() 247 host_stat->curtime.tv_sec -= host_stat->boottime.tv_sec; in print_rup_data()
|
| /netbsd-src/usr.bin/w/ |
| H A D | w.c | 89 struct timespec boottime; variable 483 size = sizeof(boottime); in pr_header() 484 if (sysctl(mib, 2, &boottime, &size, NULL, 0) != -1 && in pr_header() 485 boottime.tv_sec != 0) { in pr_header() 486 uptime = now - boottime.tv_sec; in pr_header()
|
| /netbsd-src/external/gpl3/gcc/dist/fixincludes/tests/base/rpcsvc/ |
| H A D | rstat.h | 14 int boottime; member
|
| /netbsd-src/external/gpl3/gcc.old/dist/fixincludes/tests/base/rpcsvc/ |
| H A D | rstat.h | 14 int boottime; member
|
| /netbsd-src/external/bsd/top/dist/machine/ |
| H A D | m_netbsd.c | 322 struct timespec boottime; local 414 size = sizeof(boottime); 415 if (sysctl(mib, 2, &boottime, &size, NULL, 0) != -1 && 416 boottime.tv_sec != 0) 417 statics->boottime = boottime.tv_sec; 419 statics->boottime = 0;
|
| H A D | m_linuxthr.c | 195 static time_t boottime = -1; variable 344 boottime = tv.tv_sec - uptime; in machine_init() 356 statics->boottime = boottime; in machine_init() 764 else if ((elapsed = (now - boottime)*HZ - proc->start_time) > 0) in get_process_info()
|
| H A D | m_freebsd.c | 877 struct timeval boottime; in machine_init() local 892 len = sizeof(boottime); in machine_init() 893 if (sysctlbyname("kern.boottime", &boottime, &len, NULL, 0) == -1) in machine_init() 896 boottime.tv_sec = -1; in machine_init() 928 statics->boottime = boottime.tv_sec; in machine_init()
|
| H A D | m_linux.c | 214 static time_t boottime = -1; variable 374 boottime = tv.tv_sec - uptime; in machine_init() 427 statics->boottime = boottime; in machine_init()
|
| /netbsd-src/sys/compat/common/ |
| H A D | compat_90_mod.c | 92 struct timespec boottime; /* For access by older vmstat */ variable
|
| H A D | kern_info_43.c | 161 struct timeval50 boottime; member 297 timeval_to_timeval50(&tv, &ksi.boottime); in compat_43_sys_getkerninfo()
|
| /netbsd-src/sys/kern/ |
| H A D | kern_tc.c | 519 struct bintime boottime; in bintime() local 523 getbinboottime(&boottime); in bintime() 524 bintime_add(bt, &boottime); in bintime() 599 struct bintime boottime; in getbintime() local 610 getbinboottime(&boottime); in getbintime() 611 bintime_add(bt, &boottime); in getbintime()
|
| /netbsd-src/sys/arch/evbarm/conf/ |
| H A D | NETWALKER_MD | 8 options MEMORY_DISK_HOOKS # boottime setup of ramdisk
|
| H A D | IMX31LITE | 90 #options MEMORY_DISK_HOOKS # boottime setup of ramdisk
|
| H A D | IXM1200 | 90 #options MEMORY_DISK_HOOKS # boottime setup of ramdisk
|
| H A D | VIPER | 86 #options MEMORY_DISK_HOOKS # boottime setup of ramdisk
|
| H A D | INTEGRATOR_CP | 91 #options MEMORY_DISK_HOOKS # boottime setup of ramdisk
|
| H A D | GENERIC.common | 94 #options MEMORY_DISK_HOOKS # boottime setup of ramdisk
|
| /netbsd-src/external/bsd/top/dist/ |
| H A D | machine.h | 57 time_t boottime; /* optional */ member
|
| H A D | top.c | 545 i_uptime(&(gstate->statics->boottime), &curr_time); in do_display() 578 u_uptime(&(gstate->statics->boottime), &curr_time); in do_display() 821 statics.boottime = -1; in main()
|
| /netbsd-src/libexec/rpc.rstatd/ |
| H A D | rstat_proc.c | 224 stats_all.s3.boottime.tv_sec = btm.tv_sec; in updatestat() 225 stats_all.s3.boottime.tv_usec = (suseconds_t)(btm.tv_nsec / 1000L); in updatestat()
|
| /netbsd-src/usr.bin/vmstat/ |
| H A D | vmstat.c | 634 static struct timespec boottime; in getuptime() local 639 if (boottime.tv_sec == 0) { in getuptime() 640 size_t buflen = sizeof(boottime); in getuptime() 642 &boottime, &buflen, NULL, 0) == -1) in getuptime() 647 if (boottime.tv_sec == 0) { in getuptime() 651 bintime2timespec(&bt, &boottime); in getuptime() 664 uptime = now.tv_sec - boottime.tv_sec; in getuptime()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/i915/ |
| H A D | i915_gpu_error.h | 157 ktime_t boottime; member
|
| /netbsd-src/sys/arch/shark/conf/ |
| H A D | OFWGENCFG | 80 #options MEMORY_DISK_HOOKS # boottime setup of ramdisk
|