/freebsd-12-stable/include/rpcsvc/ |
H A D | rstat.x | 83 rstat_timeval boottime; 102 rstat_timeval boottime;
|
/freebsd-12-stable/usr.bin/top/ |
H A D | machine.h | 52 struct timeval boottime; member in struct:system_info
|
H A D | machine.c | 439 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 D | top.c | 619 i_uptime(&system_info.boottime, &curr_time);
|
/freebsd-12-stable/sys/fs/procfs/ |
H A D | procfs_status.c | 75 struct timeval boottime; local 135 getboottime(&boottime); 136 timevaladd(&start, &boottime);
|
/freebsd-12-stable/sys/nfs/ |
H A D | nfs_lock.c | 246 struct timeval boottime; local 290 getboottime(&boottime); 291 timevaladd(&p->p_nlminfo->pid_start, &boottime);
|
/freebsd-12-stable/sys/kern/ |
H A D | sys_procdesc.c | 532 struct timeval pstart, boottime; local 548 getboottime(&boottime); 549 timevaladd(&pstart, &boottime);
|
H A D | kern_tc.c | 107 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 D | subr_epoch.c | 647 goto boottime; 650 goto boottime; 659 boottime:
|
H A D | kern_proc.c | 953 struct timeval boottime; local 1032 getboottime(&boottime); 1033 timevaladd(&kp->ki_start, &boottime);
|
/freebsd-12-stable/usr.bin/rup/ |
H A D | rup.c | 127 host_stat->curtime.tv_sec -= host_stat->boottime.tv_sec;
|
/freebsd-12-stable/sys/fs/fdescfs/ |
H A D | fdesc_vnops.c | 49 #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 D | svc_rpcsec_gss.c | 528 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 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-12-stable/sys/compat/linprocfs/ |
H A D | linprocfs.c | 561 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 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-12-stable/sys/fs/devfs/ |
H A D | devfs_vnops.c | 679 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 D | ip_fw_sockopt.c | 406 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 D | time.h | 573 void getboottime(struct timeval *boottime);
|
/freebsd-12-stable/sys/net/altq/ |
H A D | altq_subr.c | 1020 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 D | Makefile | 2095 MLINKS+=time.9 boottime.9 \
|