/freebsd-current/include/rpcsvc/ |
H A D | rstat.x | 74 rstat_timeval boottime; 93 rstat_timeval boottime;
|
/freebsd-current/usr.bin/top/ |
H A D | machine.h | 52 struct timeval boottime; member in struct:system_info
|
H A D | machine.c | 457 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 D | top.c | 627 i_uptime(&system_info.boottime, &curr_time);
|
/freebsd-current/sys/fs/procfs/ |
H A D | procfs_status.c | 71 struct timeval boottime; local 131 getboottime(&boottime); 132 timevaladd(&start, &boottime);
|
/freebsd-current/sys/kern/ |
H A D | sys_timerfd.c | 93 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 D | sys_procdesc.c | 511 struct timeval pstart, boottime; local 527 getboottime(&boottime); 528 timevaladd(&pstart, &boottime);
|
H A D | kern_tc.c | 114 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 D | subr_epoch.c | 787 goto boottime; 790 goto boottime; 799 boottime:
|
H A D | kern_proc.c | 1083 struct timeval boottime; local 1163 getboottime(&boottime); 1164 timevaladd(&kp->ki_start, &boottime);
|
/freebsd-current/usr.bin/rup/ |
H A D | rup.c | 124 host_stat->curtime.tv_sec -= host_stat->boottime.tv_sec;
|
/freebsd-current/sys/fs/fdescfs/ |
H A D | fdesc_vnops.c | 45 #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 D | svc_rpcsec_gss.c | 596 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 D | rstat_proc.c | 210 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 D | linprocfs.c | 716 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 D | utils.c | 1150 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 D | mvm.h | 1635 u64 *boottime, ktime_t *realtime);
|
/freebsd-current/contrib/wpa/src/drivers/ |
H A D | driver_nl80211_scan.c | 783 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 D | ip_fw_sockopt.c | 400 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 D | altq_subr.c | 987 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 D | time.h | 572 void getboottime(struct timeval *boottime);
|
/freebsd-current/sys/fs/devfs/ |
H A D | devfs_vnops.c | 805 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 D | Makefile | 2263 MLINKS+=time.9 boottime.9 \
|