Searched refs:boottime (Results 1 - 25 of 32) sorted by relevance

12

/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/fixincludes/tests/base/rpcsvc/
H A Drstat.h14 int boottime; member in struct:statswtch
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/fixincludes/tests/base/rpcsvc/
H A Drstat.h14 int boottime; member in struct:statswtch
/netbsd-6-1-5-RELEASE/sys/sys/
H A Dkernel.h51 extern struct timespec boottime;
/netbsd-6-1-5-RELEASE/lib/librpcsvc/
H A Drstat.x81 rstat_timeval boottime;
100 rstat_timeval boottime;
/netbsd-6-1-5-RELEASE/external/bsd/top/dist/
H A Dmachine.h57 time_t boottime; /* optional */ member in struct:statics
H A Dtop.c546 i_uptime(&(gstate->statics->boottime), &curr_time);
579 u_uptime(&(gstate->statics->boottime), &curr_time);
822 statics.boottime = -1;
/netbsd-6-1-5-RELEASE/sys/compat/common/
H A Dkern_info_43.c138 struct timeval50 boottime; member in struct:bsdi_si
262 TIMESPEC_TO_TIMEVAL(&tv, &boottime);
263 timeval_to_timeval50(&tv, &ksi.boottime);
H A Dkern_time_50.c730 TIMESPEC_TO_TIMEVAL(&tv, &boottime);
/netbsd-6-1-5-RELEASE/usr.bin/rup/
H A Drup.c171 return d1->statstime.boottime.tv_sec
172 - d2->statstime.boottime.tv_sec;
248 host_stat->curtime.tv_sec -= host_stat->boottime.tv_sec;
/netbsd-6-1-5-RELEASE/usr.bin/w/
H A Dw.c90 struct timeval boottime; variable in typeref:struct:timeval
499 * (Found by looking getting "boottime" from the kernel)
503 size = sizeof(boottime);
504 if (sysctl(mib, 2, &boottime, &size, NULL, 0) != -1 &&
505 boottime.tv_sec != 0) {
506 uptime = now - boottime.tv_sec;
/netbsd-6-1-5-RELEASE/external/bsd/top/dist/machine/
H A Dm_netbsd.c308 struct timeval boottime; local
400 size = sizeof(boottime);
401 if (sysctl(mib, 2, &boottime, &size, NULL, 0) != -1 &&
402 boottime.tv_sec != 0)
403 statics->boottime = boottime.tv_sec;
405 statics->boottime = 0;
H A Dm_linuxthr.c195 static time_t boottime = -1; variable
330 /* get a boottime */
344 boottime = tv.tv_sec - uptime;
356 statics->boottime = boottime;
764 else if ((elapsed = (now - boottime)*HZ - proc->start_time) > 0)
H A Dm_freebsd.c877 struct timeval boottime; local
892 len = sizeof(boottime);
893 if (sysctlbyname("kern.boottime", &boottime, &len, NULL, 0) == -1)
895 /* we have no boottime to report */
896 boottime.tv_sec = -1;
928 statics->boottime = boottime.tv_sec;
H A Dm_linux.c214 static time_t boottime = -1; variable
367 /* get a boottime */
374 boottime = tv.tv_sec - uptime;
427 statics->boottime = boottime;
H A Dm_aix43.c269 statics->boottime = now - uptime;
/netbsd-6-1-5-RELEASE/libexec/rpc.rstatd/
H A Drstat_proc.c255 syslog(LOG_ERR, "can't sysctl kern.boottime");
258 stats_all.s3.boottime.tv_sec = btm.tv_sec;
259 stats_all.s3.boottime.tv_usec = btm.tv_usec;
/netbsd-6-1-5-RELEASE/sys/kern/
H A Dkern_rndq.c924 if (boottime.tv_sec) {
925 rndpool_add_data(&rnd_pool, &boottime,
926 sizeof(boottime), 0);
H A Dinit_main.c255 struct timespec boottime; /* time at system startup - will only follow settime deltas */ variable in typeref:struct:timespec
668 boottime = time;
/netbsd-6-1-5-RELEASE/usr.bin/vmstat/
H A Dvmstat.c632 static struct timespec boottime; local
637 if (boottime.tv_sec == 0) {
638 size_t buflen = sizeof(boottime);
640 &boottime, &buflen, NULL, 0) == -1)
641 warn("Can't get boottime");
645 if (boottime.tv_sec == 0)
646 kread(namelist, X_BOOTTIME, &boottime,
647 sizeof(boottime));
659 uptime = now.tv_sec - boottime.tv_sec;
/netbsd-6-1-5-RELEASE/sys/compat/netbsd32/
H A Dnetbsd32_sysctl.c76 * sysctl helper routine for netbsd32's kern.boottime node
84 netbsd32_from_timespec(&boottime, &bt32);
121 CTLTYPE_STRUCT, "boottime", NULL,
/netbsd-6-1-5-RELEASE/sys/rump/librump/rumpkern/
H A Demul.c81 struct timeval boottime; variable in typeref:struct:timeval
H A Drump.c269 boottime.tv_sec = sec;
270 boottime.tv_nsec = nsec;
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/bin/named/
H A Dstatschannel.c782 char boottime[sizeof "yyyy-mm-ddThh:mm:ssZ"]; local
798 isc_time_formatISO8601(&ns_g_boottime, boottime, sizeof boottime);
891 TRY0(xmlTextWriterWriteString(writer, ISC_XMLCHAR boottime));
/netbsd-6-1-5-RELEASE/sbin/sysctl/
H A Dsysctl.c189 { "/kern/boottime", kern_boottime, NULL, NULL },
2152 time_t boottime; local
2165 boottime = timeval.tv_sec;
2171 printf("%s%s%s", sname, eq, ctime(&boottime));
2173 printf("%ld\n", (long)boottime);
/netbsd-6-1-5-RELEASE/sys/miscfs/procfs/
H A Dprocfs_linux.c312 boottime.tv_sec);

Completed in 313 milliseconds

12