| /src/external/gpl3/gcc/dist/fixincludes/tests/base/rpcsvc/ |
| rstat.h | 14 int boottime; member in struct:statswtch
|
| /src/external/gpl3/gcc.old/dist/fixincludes/tests/base/rpcsvc/ |
| rstat.h | 14 int boottime; member in struct:statswtch
|
| /src/sys/compat/common/ |
| compat_90_mod.c | 92 struct timespec boottime; /* For access by older vmstat */ variable in typeref:struct:timespec
|
| kern_info_43.c | 161 struct timeval50 boottime; member in struct:bsdi_si 297 timeval_to_timeval50(&tv, &ksi.boottime);
|
| /src/external/bsd/top/dist/ |
| machine.h | 57 time_t boottime; /* optional */ member in struct:statics
|
| /src/sbin/dmesg/ |
| dmesg.c | 155 struct timespec boottime; local 164 size = sizeof(boottime); 171 boottime.tv_sec = 0; 172 boottime.tv_nsec = 0; 177 (void)sysctl(bmib, 2, &boottime, &size, NULL, 0); 356 t = boottime.tv_sec + sec; 357 if (nsec + boottime.tv_nsec >=
|
| /src/external/bsd/wpa/dist/src/drivers/ |
| driver_nl80211_scan.c | 816 u64 boottime; local 823 /* Use more accurate boottime information to update the 826 boottime = nla_get_u64( 829 ts.tv_nsec - boottime) / 1000000;
|
| /src/usr.bin/w/ |
| w.c | 89 struct timespec boottime; variable in typeref:struct:timespec 479 * (Found by looking getting "boottime" from the kernel) 483 size = sizeof(boottime); 484 if (sysctl(mib, 2, &boottime, &size, NULL, 0) != -1 && 485 boottime.tv_sec != 0) { 486 uptime = now - boottime.tv_sec;
|
| /src/sys/external/bsd/drm2/dist/drm/i915/ |
| i915_gpu_error.h | 157 ktime_t boottime; member in struct:i915_gpu_coredump
|
| /src/sys/kern/ |
| kern_tc.c | 520 struct bintime boottime; local 524 getbinboottime(&boottime); 525 bintime_add(bt, &boottime); 600 struct bintime boottime; local 611 getbinboottime(&boottime); 612 bintime_add(bt, &boottime);
|
| /src/external/bsd/top/dist/machine/ |
| m_linux.c | 214 static time_t boottime = -1; variable 367 /* get a boottime */ 374 boottime = tv.tv_sec - uptime; 427 statics->boottime = boottime;
|
| 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)
|
| 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;
|
| 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;
|
| /src/sbin/sysctl/ |
| sysctl.c | 191 { "/kern/boottime", kern_boottime, NULL, NULL }, 2188 time_t boottime; local 2201 boottime = timespec.tv_sec; 2207 printf("%s%s%s", sname, eq, ctime(&boottime)); 2209 printf("%lld\n", (long long)boottime);
|
| /src/usr.bin/vmstat/ |
| vmstat.c | 634 static struct timespec boottime; local 639 if (boottime.tv_sec == 0) { 640 size_t buflen = sizeof(boottime); 642 &boottime, &buflen, NULL, 0) == -1) 643 warn("Can't get boottime"); 647 if (boottime.tv_sec == 0) { 651 bintime2timespec(&bt, &boottime); 664 uptime = now.tv_sec - boottime.tv_sec;
|
| /src/external/mpl/bind/dist/bin/named/ |
| statschannel.c | 1740 char boottime[sizeof "yyyy-mm-ddThh:mm:ss.sssZ"]; local 1764 isc_time_formatISO8601ms(&named_g_boottime, boottime, sizeof boottime); 1788 TRY0(xmlTextWriterWriteString(writer, ISC_XMLCHAR boottime)); 2822 char boottime[sizeof "yyyy-mm-ddThh:mm:ss.sssZ"]; local 2844 isc_time_formatISO8601ms(&named_g_boottime, boottime, sizeof(boottime)); 2849 obj = json_object_new_string(boottime);
|
| server.c | 12627 char boottime[ISC_FORMATHTTPTIMESTAMP_SIZE]; local 12655 isc_time_formathttptimestamp(&named_g_boottime, boottime, 12656 sizeof(boottime)); 12672 snprintf(line, sizeof(line), "boot time: %s\n", boottime);
|