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

/freebsd-current/include/rpcsvc/
H A Drstat.x74 rstat_timeval boottime;
93 rstat_timeval boottime;
/freebsd-current/usr.bin/top/
H A Dmachine.h52 struct timeval boottime; member in struct:system_info
H A Dmachine.c457 struct timeval boottime; local
586 * (Found by looking getting "boottime" from the kernel)
590 size = sizeof(boottime);
591 if (sysctl(mib, nitems(mib), &boottime, &size, NULL, 0) != -1 &&
592 boottime.tv_sec != 0) {
593 si->boottime = boottime;
595 si->boottime.tv_sec = -1;
H A Dtop.c627 i_uptime(&system_info.boottime, &curr_time);
/freebsd-current/sys/fs/procfs/
H A Dprocfs_status.c71 struct timeval boottime; local
131 getboottime(&boottime);
132 timevaladd(&start, &boottime);
/freebsd-current/sys/kern/
H A Dsys_timerfd.c93 struct timespec tfd_boottim; /* (t) cached boottime */
123 * update timerfd's cached boottime. A jump can be triggered using
135 struct timespec boottime, diff; local
140 timerfd_getboottime(&boottime);
146 timespeccmp(&boottime, &tfd->tfd_boottim, ==)) {
154 else if (timespeccmp(&boottime, &tfd->tfd_boottim, <))
162 timespecsub(&boottime,
174 tfd->tfd_boottim = boottime;
H A Dsys_procdesc.c511 struct timeval pstart, boottime; local
527 getboottime(&boottime);
528 timevaladd(&pstart, &boottime);
H A Dkern_tc.c114 SYSCTL_PROC(_kern, KERN_BOOTTIME, boottime,
117 "Estimated system boottime");
162 struct timeval boottime; local
164 getboottime(&boottime);
172 tv[0] = boottime.tv_sec;
173 tv[1] = boottime.tv_usec;
178 return (SYSCTL_OUT(req, &boottime, sizeof(boottime)));
486 getboottime(struct timeval *boottime) argument
491 bintime2timeval(&boottimebin, boottime);
[all...]
H A Dsubr_epoch.c787 goto boottime;
790 goto boottime;
799 boottime:
H A Dkern_proc.c1083 struct timeval boottime; local
1163 getboottime(&boottime);
1164 timevaladd(&kp->ki_start, &boottime);
/freebsd-current/usr.bin/rup/
H A Drup.c124 host_stat->curtime.tv_sec -= host_stat->boottime.tv_sec;
/freebsd-current/sys/fs/fdescfs/
H A Dfdesc_vnops.c45 #include <sys/kernel.h> /* boottime */
434 struct timeval boottime; local
436 getboottime(&boottime);
442 vap->va_atime.tv_sec = boottime.tv_sec;
/freebsd-current/sys/rpc/rpcsec_gss/
H A Dsvc_rpcsec_gss.c596 struct timeval boottime; local
602 getboottime(&boottime);
603 if (id->ci_hostid != hostid || id->ci_boottime != boottime.tv_sec)
633 struct timeval boottime; local
649 getboottime(&boottime);
650 client->cl_id.ci_boottime = boottime.tv_sec;
/freebsd-current/libexec/rpc.rstatd/
H A Drstat_proc.c210 syslog(LOG_ERR, "sysctl(kern.boottime): %m");
214 stats_all.s2.boottime.tv_sec = btm.tv_sec;
215 stats_all.s2.boottime.tv_usec = btm.tv_usec;
/freebsd-current/sys/compat/linprocfs/
H A Dlinprocfs.c716 struct timeval boottime; local
736 getboottime(&boottime);
780 (long long)boottime.tv_sec);
953 struct timeval boottime; local
959 getboottime(&boottime);
1005 PS_ADD("starttime", "%lu", TV2J(&kp.ki_start) - TV2J(&boottime));
/freebsd-current/sys/contrib/dev/iwlwifi/mvm/
H A Dutils.c1150 u32 *gp2, u64 *boottime, ktime_t *realtime)
1165 if (clock_type == CLOCK_BOOTTIME && boottime)
1166 *boottime = ktime_get_boottime_ns();
1149 iwl_mvm_get_sync_time(struct iwl_mvm *mvm, int clock_type, u32 *gp2, u64 *boottime, ktime_t *realtime) argument
H A Dmvm.h1635 u64 *boottime, ktime_t *realtime);
/freebsd-current/contrib/wpa/src/drivers/
H A Ddriver_nl80211_scan.c783 u64 boottime; local
790 /* Use more accurate boottime information to update the
793 boottime = nla_get_u64(
796 ts.tv_nsec - boottime) / 1000000;
/freebsd-current/sys/netpfil/ipfw/
H A Dip_fw_sockopt.c400 struct timeval boottime; local
410 getboottime(&boottime);
411 cntr->timestamp += boottime.tv_sec;
418 struct timeval boottime; local
426 getboottime(&boottime);
427 cntr->timestamp += boottime.tv_sec;
2155 struct timeval boottime; local
2161 getboottime(&boottime);
2162 boot_seconds = boottime.tv_sec;
/freebsd-current/sys/net/altq/
H A Daltq_subr.c987 struct timeval tv, boottime; local
990 getboottime(&boottime);
991 val = (((u_int64_t)(tv.tv_sec - boottime.tv_sec) * 1000000
/freebsd-current/sys/sys/
H A Dtime.h572 void getboottime(struct timeval *boottime);
/freebsd-current/sys/fs/devfs/
H A Ddevfs_vnops.c805 struct timeval boottime; local
836 getboottime(&boottime);
840 (aa).tv_sec = boottime.tv_sec; \
841 (aa).tv_nsec = boottime.tv_usec * 1000; \
/freebsd-current/share/man/man9/
H A DMakefile2263 MLINKS+=time.9 boottime.9 \

Completed in 322 milliseconds