HomeSort by: relevance | last modified time | path
    Searched defs:boottime (Results 1 - 8 of 8) sorted by relevancy

  /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/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 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/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/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;

Completed in 17 milliseconds