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

/freebsd-13-stable/include/rpcsvc/
H A Drstat.x83 rstat_timeval boottime;
102 rstat_timeval boottime;
/freebsd-13-stable/usr.bin/top/
H A Dmachine.h53 struct timeval boottime; member in struct:system_info
H A Dmachine.c449 struct timeval boottime; local
578 * (Found by looking getting "boottime" from the kernel)
582 size = sizeof(boottime);
583 if (sysctl(mib, nitems(mib), &boottime, &size, NULL, 0) != -1 &&
584 boottime.tv_sec != 0) {
585 si->boottime = boottime;
587 si->boottime.tv_sec = -1;
H A Dtop.c628 i_uptime(&system_info.boottime, &curr_time);
/freebsd-13-stable/sys/fs/procfs/
H A Dprocfs_status.c75 struct timeval boottime; local
135 getboottime(&boottime);
136 timevaladd(&start, &boottime);
/freebsd-13-stable/sys/kern/
H A Dsys_procdesc.c515 struct timeval pstart, boottime; local
531 getboottime(&boottime);
532 timevaladd(&pstart, &boottime);
H A Dkern_tc.c107 SYSCTL_PROC(_kern, KERN_BOOTTIME, boottime,
110 "System boottime");
155 struct timeval boottime; local
157 getboottime(&boottime);
165 tv[0] = boottime.tv_sec;
166 tv[1] = boottime.tv_usec;
171 return (SYSCTL_OUT(req, &boottime, sizeof(boottime)));
470 getboottime(struct timeval *boottime) argument
475 bintime2timeval(&boottimebin, boottime);
[all...]
H A Dsubr_epoch.c765 goto boottime;
768 goto boottime;
777 boottime:
H A Dkern_proc.c1054 struct timeval boottime; local
1134 getboottime(&boottime);
1135 timevaladd(&kp->ki_start, &boottime);
/freebsd-13-stable/usr.bin/rup/
H A Drup.c127 host_stat->curtime.tv_sec -= host_stat->boottime.tv_sec;
/freebsd-13-stable/sys/fs/fdescfs/
H A Dfdesc_vnops.c49 #include <sys/kernel.h> /* boottime */
444 struct timeval boottime; local
446 getboottime(&boottime);
452 vap->va_atime.tv_sec = boottime.tv_sec;
/freebsd-13-stable/sys/rpc/rpcsec_gss/
H A Dsvc_rpcsec_gss.c536 struct timeval boottime; local
542 getboottime(&boottime);
543 if (id->ci_hostid != hostid || id->ci_boottime != boottime.tv_sec)
571 struct timeval boottime; local
587 getboottime(&boottime);
588 client->cl_id.ci_boottime = boottime.tv_sec;
/freebsd-13-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-13-stable/sys/compat/linprocfs/
H A Dlinprocfs.c679 struct timeval boottime; local
699 getboottime(&boottime);
743 (long long)boottime.tv_sec);
916 struct timeval boottime; local
922 getboottime(&boottime);
968 PS_ADD("starttime", "%lu", TV2J(&kp.ki_start) - TV2J(&boottime));
/freebsd-13-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-13-stable/sys/netpfil/ipfw/
H A Dip_fw_sockopt.c402 struct timeval boottime; local
412 getboottime(&boottime);
413 cntr->timestamp += boottime.tv_sec;
420 struct timeval boottime; local
428 getboottime(&boottime);
429 cntr->timestamp += boottime.tv_sec;
2141 struct timeval boottime; local
2147 getboottime(&boottime);
2148 boot_seconds = boottime.tv_sec;
/freebsd-13-stable/sys/net/altq/
H A Daltq_subr.c989 struct timeval tv, boottime; local
992 getboottime(&boottime);
993 val = (((u_int64_t)(tv.tv_sec - boottime.tv_sec) * 1000000
/freebsd-13-stable/sys/fs/devfs/
H A Ddevfs_vnops.c799 struct timeval boottime; local
830 getboottime(&boottime);
834 (aa).tv_sec = boottime.tv_sec; \
835 (aa).tv_nsec = boottime.tv_usec * 1000; \
/freebsd-13-stable/sys/sys/
H A Dtime.h584 void getboottime(struct timeval *boottime);
/freebsd-13-stable/share/man/man9/
H A DMakefile2195 MLINKS+=time.9 boottime.9 \

Completed in 373 milliseconds