/src/lib/librpcsvc/ |
rstat.x | 81 rstat_timeval boottime; 100 rstat_timeval boottime;
|
/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/sbin/dmesg/ |
dmesg.c | 155 struct timespec boottime; local in function:main 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/usr.bin/rup/ |
rup.c | 170 return d1->statstime.boottime.tv_sec 171 - d2->statstime.boottime.tv_sec; 247 host_stat->curtime.tv_sec -= host_stat->boottime.tv_sec;
|
/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/libexec/rpc.rstatd/ |
rstat_proc.c | 221 syslog(LOG_ERR, "can't sysctl kern.boottime"); 224 stats_all.s3.boottime.tv_sec = btm.tv_sec; 225 stats_all.s3.boottime.tv_usec = (suseconds_t)(btm.tv_nsec / 1000L);
|
/src/sys/kern/ |
kern_tc.c | 519 struct bintime boottime; local in function:bintime 523 getbinboottime(&boottime); 524 bintime_add(bt, &boottime); 599 struct bintime boottime; local in function:getbintime 610 getbinboottime(&boottime); 611 bintime_add(bt, &boottime);
|
/src/sys/external/bsd/drm2/dist/drm/i915/ |
i915_gpu_error.h | 157 ktime_t boottime; member in struct:i915_gpu_coredump
|
i915_gpu_error.c | 752 ts = ktime_to_timespec64(error->boottime); 753 err_printf(m, "Boottime: %lld s %ld us\n", 1762 error->boottime = ktime_get_boottime();
|
/src/usr.bin/vmstat/ |
vmstat.c | 634 static struct timespec boottime; local in function:getuptime 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/sbin/sysctl/ |
sysctl.c | 191 { "/kern/boottime", kern_boottime, NULL, NULL }, 2188 time_t boottime; local in function:kern_boottime 2201 boottime = timespec.tv_sec; 2207 printf("%s%s%s", sname, eq, ctime(&boottime)); 2209 printf("%lld\n", (long long)boottime);
|
/src/share/man/man9/ |
Makefile | 969 MLINKS+=time_second.9 boottime.9 time_second.9 time_uptime.9
|