/freebsd-13-stable/include/rpcsvc/ |
H A D | rstat.x | 83 rstat_timeval boottime; 102 rstat_timeval boottime;
|
/freebsd-13-stable/usr.bin/top/ |
H A D | machine.h | 53 struct timeval boottime; member in struct:system_info
|
H A D | machine.c | 449 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 D | top.c | 628 i_uptime(&system_info.boottime, &curr_time);
|
/freebsd-13-stable/sys/fs/procfs/ |
H A D | procfs_status.c | 75 struct timeval boottime; local 135 getboottime(&boottime); 136 timevaladd(&start, &boottime);
|
/freebsd-13-stable/sys/kern/ |
H A D | sys_procdesc.c | 515 struct timeval pstart, boottime; local 531 getboottime(&boottime); 532 timevaladd(&pstart, &boottime);
|
H A D | kern_tc.c | 107 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 D | subr_epoch.c | 765 goto boottime; 768 goto boottime; 777 boottime:
|
H A D | kern_proc.c | 1054 struct timeval boottime; local 1134 getboottime(&boottime); 1135 timevaladd(&kp->ki_start, &boottime);
|
/freebsd-13-stable/usr.bin/rup/ |
H A D | rup.c | 127 host_stat->curtime.tv_sec -= host_stat->boottime.tv_sec;
|
/freebsd-13-stable/sys/fs/fdescfs/ |
H A D | fdesc_vnops.c | 49 #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 D | svc_rpcsec_gss.c | 536 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 D | rstat_proc.c | 219 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 D | linprocfs.c | 679 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 D | driver_nl80211_scan.c | 780 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 D | ip_fw_sockopt.c | 402 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 D | altq_subr.c | 989 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 D | devfs_vnops.c | 799 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 D | time.h | 584 void getboottime(struct timeval *boottime);
|
/freebsd-13-stable/share/man/man9/ |
H A D | Makefile | 2195 MLINKS+=time.9 boottime.9 \
|