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

/freebsd-12-stable/include/rpcsvc/
H A Drstat.x83 rstat_timeval boottime;
102 rstat_timeval boottime;
/freebsd-12-stable/usr.bin/top/
H A Dmachine.h52 struct timeval boottime; member in struct:system_info
H A Dmachine.c439 struct timeval boottime; local
568 * (Found by looking getting "boottime" from the kernel)
572 size = sizeof(boottime);
573 if (sysctl(mib, nitems(mib), &boottime, &size, NULL, 0) != -1 &&
574 boottime.tv_sec != 0) {
575 si->boottime = boottime;
577 si->boottime.tv_sec = -1;
H A Dtop.c619 i_uptime(&system_info.boottime, &curr_time);
/freebsd-12-stable/sys/fs/procfs/
H A Dprocfs_status.c75 struct timeval boottime; local
135 getboottime(&boottime);
136 timevaladd(&start, &boottime);
/freebsd-12-stable/sys/nfs/
H A Dnfs_lock.c246 struct timeval boottime; local
290 getboottime(&boottime);
291 timevaladd(&p->p_nlminfo->pid_start, &boottime);
/freebsd-12-stable/sys/kern/
H A Dsys_procdesc.c532 struct timeval pstart, boottime; local
548 getboottime(&boottime);
549 timevaladd(&pstart, &boottime);
H A Dkern_tc.c107 SYSCTL_PROC(_kern, KERN_BOOTTIME, boottime, CTLTYPE_STRUCT|CTLFLAG_RD,
108 NULL, 0, sysctl_kern_boottime, "S,timeval", "System boottime");
149 struct timeval boottime; local
151 getboottime(&boottime);
158 tv[0] = boottime.tv_sec;
159 tv[1] = boottime.tv_usec;
164 return (SYSCTL_OUT(req, &boottime, sizeof(boottime)));
467 getboottime(struct timeval *boottime) argument
472 bintime2timeval(&boottimebin, boottime);
[all...]
H A Dsubr_epoch.c647 goto boottime;
650 goto boottime;
659 boottime:
H A Dkern_proc.c953 struct timeval boottime; local
1032 getboottime(&boottime);
1033 timevaladd(&kp->ki_start, &boottime);
/freebsd-12-stable/usr.bin/rup/
H A Drup.c127 host_stat->curtime.tv_sec -= host_stat->boottime.tv_sec;
/freebsd-12-stable/sys/fs/fdescfs/
H A Dfdesc_vnops.c49 #include <sys/kernel.h> /* boottime */
434 struct timeval boottime; local
436 getboottime(&boottime);
442 vap->va_atime.tv_sec = boottime.tv_sec;
/freebsd-12-stable/sys/rpc/rpcsec_gss/
H A Dsvc_rpcsec_gss.c528 struct timeval boottime; local
534 getboottime(&boottime);
535 if (id->ci_hostid != hostid || id->ci_boottime != boottime.tv_sec)
563 struct timeval boottime; local
579 getboottime(&boottime);
580 client->cl_id.ci_boottime = boottime.tv_sec;
/freebsd-12-stable/libexec/rpc.rstatd/
H A Drstat_proc.c219 syslog(LOG_ERR, "sysctl(kern.boottime): %m");
223 stats_all.s2.boottime.tv_sec = btm.tv_sec;
224 stats_all.s2.boottime.tv_usec = btm.tv_usec;
/freebsd-12-stable/sys/compat/linprocfs/
H A Dlinprocfs.c561 struct timeval boottime; local
581 getboottime(&boottime);
625 (long long)boottime.tv_sec);
798 struct timeval boottime; local
804 getboottime(&boottime);
850 PS_ADD("starttime", "%lu", TV2J(&kp.ki_start) - TV2J(&boottime));
/freebsd-12-stable/contrib/wpa/src/drivers/
H A Ddriver_nl80211_scan.c780 u64 boottime; local
787 /* Use more accurate boottime information to update the
790 boottime = nla_get_u64(
793 ts.tv_nsec - boottime) / 1000000;
/freebsd-12-stable/sys/fs/devfs/
H A Ddevfs_vnops.c679 struct timeval boottime; local
710 getboottime(&boottime);
714 (aa).tv_sec = boottime.tv_sec; \
715 (aa).tv_nsec = boottime.tv_usec * 1000; \
/freebsd-12-stable/sys/netpfil/ipfw/
H A Dip_fw_sockopt.c406 struct timeval boottime; local
416 getboottime(&boottime);
417 cntr->timestamp += boottime.tv_sec;
424 struct timeval boottime; local
432 getboottime(&boottime);
433 cntr->timestamp += boottime.tv_sec;
2153 struct timeval boottime; local
2159 getboottime(&boottime);
2160 boot_seconds = boottime.tv_sec;
/freebsd-12-stable/sys/sys/
H A Dtime.h573 void getboottime(struct timeval *boottime);
/freebsd-12-stable/sys/net/altq/
H A Daltq_subr.c1020 struct timeval tv, boottime; local
1023 getboottime(&boottime);
1024 val = (((u_int64_t)(tv.tv_sec - boottime.tv_sec) * 1000000
/freebsd-12-stable/share/man/man9/
H A DMakefile2095 MLINKS+=time.9 boottime.9 \

Completed in 487 milliseconds