/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/fixincludes/tests/base/rpcsvc/ |
H A D | rstat.h | 14 int boottime; member in struct:statswtch
|
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/fixincludes/tests/base/rpcsvc/ |
H A D | rstat.h | 14 int boottime; member in struct:statswtch
|
/netbsd-6-1-5-RELEASE/sys/sys/ |
H A D | kernel.h | 51 extern struct timespec boottime;
|
/netbsd-6-1-5-RELEASE/lib/librpcsvc/ |
H A D | rstat.x | 81 rstat_timeval boottime; 100 rstat_timeval boottime;
|
/netbsd-6-1-5-RELEASE/external/bsd/top/dist/ |
H A D | machine.h | 57 time_t boottime; /* optional */ member in struct:statics
|
H A D | top.c | 546 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 D | kern_info_43.c | 138 struct timeval50 boottime; member in struct:bsdi_si 262 TIMESPEC_TO_TIMEVAL(&tv, &boottime); 263 timeval_to_timeval50(&tv, &ksi.boottime);
|
H A D | kern_time_50.c | 730 TIMESPEC_TO_TIMEVAL(&tv, &boottime);
|
/netbsd-6-1-5-RELEASE/usr.bin/rup/ |
H A D | rup.c | 171 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 D | w.c | 90 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 D | m_netbsd.c | 308 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 D | m_linuxthr.c | 195 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 D | m_freebsd.c | 877 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 D | m_linux.c | 214 static time_t boottime = -1; variable 367 /* get a boottime */ 374 boottime = tv.tv_sec - uptime; 427 statics->boottime = boottime;
|
H A D | m_aix43.c | 269 statics->boottime = now - uptime;
|
/netbsd-6-1-5-RELEASE/libexec/rpc.rstatd/ |
H A D | rstat_proc.c | 255 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 D | kern_rndq.c | 924 if (boottime.tv_sec) { 925 rndpool_add_data(&rnd_pool, &boottime, 926 sizeof(boottime), 0);
|
H A D | init_main.c | 255 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 D | vmstat.c | 632 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 D | netbsd32_sysctl.c | 76 * 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 D | emul.c | 81 struct timeval boottime; variable in typeref:struct:timeval
|
H A D | rump.c | 269 boottime.tv_sec = sec; 270 boottime.tv_nsec = nsec;
|
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/bin/named/ |
H A D | statschannel.c | 782 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 D | sysctl.c | 189 { "/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 D | procfs_linux.c | 312 boottime.tv_sec);
|