Home
last modified time | relevance | path

Searched refs:boottime (Results 1 – 25 of 75) sorted by relevance

123

/netbsd-src/sbin/dmesg/
H A Ddmesg.c155 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 Drstat.x81 rstat_timeval boottime; member
100 rstat_timeval boottime; member
/netbsd-src/usr.bin/rup/
H A Drup.c170 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 Dw.c89 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 Drstat.h14 int boottime; member
/netbsd-src/external/gpl3/gcc.old/dist/fixincludes/tests/base/rpcsvc/
H A Drstat.h14 int boottime; member
/netbsd-src/external/bsd/top/dist/machine/
H A Dm_netbsd.c322 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 Dm_linuxthr.c195 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 Dm_freebsd.c877 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 Dm_linux.c214 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 Dcompat_90_mod.c92 struct timespec boottime; /* For access by older vmstat */ variable
H A Dkern_info_43.c161 struct timeval50 boottime; member
297 timeval_to_timeval50(&tv, &ksi.boottime); in compat_43_sys_getkerninfo()
/netbsd-src/sys/kern/
H A Dkern_tc.c519 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 DNETWALKER_MD8 options MEMORY_DISK_HOOKS # boottime setup of ramdisk
H A DIMX31LITE90 #options MEMORY_DISK_HOOKS # boottime setup of ramdisk
H A DIXM120090 #options MEMORY_DISK_HOOKS # boottime setup of ramdisk
H A DVIPER86 #options MEMORY_DISK_HOOKS # boottime setup of ramdisk
H A DINTEGRATOR_CP91 #options MEMORY_DISK_HOOKS # boottime setup of ramdisk
H A DGENERIC.common94 #options MEMORY_DISK_HOOKS # boottime setup of ramdisk
/netbsd-src/external/bsd/top/dist/
H A Dmachine.h57 time_t boottime; /* optional */ member
H A Dtop.c545 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 Drstat_proc.c224 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 Dvmstat.c634 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 Di915_gpu_error.h157 ktime_t boottime; member
/netbsd-src/sys/arch/shark/conf/
H A DOFWGENCFG80 #options MEMORY_DISK_HOOKS # boottime setup of ramdisk

123