| /freebsd-12.1/sys/fs/procfs/ |
| H A D | procfs_status.c | 75 struct timeval boottime; in procfs_doprocstatus() local 135 getboottime(&boottime); in procfs_doprocstatus() 136 timevaladd(&start, &boottime); in procfs_doprocstatus()
|
| /freebsd-12.1/include/rpcsvc/ |
| H A D | rstat.x | 83 rstat_timeval boottime; member 102 rstat_timeval boottime; member
|
| /freebsd-12.1/sys/nfs/ |
| H A D | nfs_lock.c | 246 struct timeval boottime; in nfs_dolock() local 290 getboottime(&boottime); in nfs_dolock() 291 timevaladd(&p->p_nlminfo->pid_start, &boottime); in nfs_dolock()
|
| /freebsd-12.1/sys/kern/ |
| H A D | sys_procdesc.c | 532 struct timeval pstart, boottime; in procdesc_stat() local 548 getboottime(&boottime); in procdesc_stat() 549 timevaladd(&pstart, &boottime); in procdesc_stat()
|
| H A D | kern_tc.c | 105 SYSCTL_PROC(_kern, KERN_BOOTTIME, boottime, CTLTYPE_STRUCT|CTLFLAG_RD, 146 struct timeval boottime; in sysctl_kern_boottime() local 148 getboottime(&boottime); in sysctl_kern_boottime() 155 tv[0] = boottime.tv_sec; in sysctl_kern_boottime() 156 tv[1] = boottime.tv_usec; in sysctl_kern_boottime() 161 return (SYSCTL_OUT(req, &boottime, sizeof(boottime))); in sysctl_kern_boottime() 507 getboottime(struct timeval *boottime) in getboottime() argument 512 bintime2timeval(&boottimebin, boottime); in getboottime()
|
| H A D | subr_epoch.c | 566 goto boottime; in epoch_call() 569 goto boottime; in epoch_call() 578 boottime: in epoch_call()
|
| H A D | kern_proc.c | 910 struct timeval boottime; in fill_kinfo_proc_only() local 990 getboottime(&boottime); in fill_kinfo_proc_only() 991 timevaladd(&kp->ki_start, &boottime); in fill_kinfo_proc_only()
|
| /freebsd-12.1/usr.bin/top/ |
| H A D | machine.h | 52 struct timeval boottime; member
|
| H A D | machine.c | 433 struct timeval boottime; in get_system_info() local 566 size = sizeof(boottime); in get_system_info() 567 if (sysctl(mib, nitems(mib), &boottime, &size, NULL, 0) != -1 && in get_system_info() 568 boottime.tv_sec != 0) { in get_system_info() 569 si->boottime = boottime; in get_system_info() 571 si->boottime.tv_sec = -1; in get_system_info()
|
| H A D | top.c | 613 i_uptime(&system_info.boottime, &curr_time); in main()
|
| /freebsd-12.1/sys/rpc/rpcsec_gss/ |
| H A D | svc_rpcsec_gss.c | 523 struct timeval boottime; in svc_rpc_gss_find_client() local 529 getboottime(&boottime); in svc_rpc_gss_find_client() 530 if (id->ci_hostid != hostid || id->ci_boottime != boottime.tv_sec) in svc_rpc_gss_find_client() 558 struct timeval boottime; in svc_rpc_gss_create_client() local 574 getboottime(&boottime); in svc_rpc_gss_create_client() 575 client->cl_id.ci_boottime = boottime.tv_sec; in svc_rpc_gss_create_client()
|
| /freebsd-12.1/sys/fs/fdescfs/ |
| H A D | fdesc_vnops.c | 434 struct timeval boottime; in fdesc_getattr() local 436 getboottime(&boottime); in fdesc_getattr() 442 vap->va_atime.tv_sec = boottime.tv_sec; in fdesc_getattr()
|
| /freebsd-12.1/sys/compat/linprocfs/ |
| H A D | linprocfs.c | 494 struct timeval boottime; in linprocfs_dostat() local 514 getboottime(&boottime); in linprocfs_dostat() 558 (long long)boottime.tv_sec); in linprocfs_dostat() 705 struct timeval boottime; in linprocfs_doprocstat() local 710 getboottime(&boottime); in linprocfs_doprocstat() 755 PS_ADD("starttime", "%lu", TV2J(&kp.ki_start) - TV2J(&boottime)); in linprocfs_doprocstat()
|
| /freebsd-12.1/libexec/rpc.rstatd/ |
| H A D | rstat_proc.c | 223 stats_all.s2.boottime.tv_sec = btm.tv_sec; in updatestat() 224 stats_all.s2.boottime.tv_usec = btm.tv_usec; in updatestat()
|
| /freebsd-12.1/usr.bin/rup/ |
| H A D | rup.c | 127 host_stat->curtime.tv_sec -= host_stat->boottime.tv_sec; in rstat_reply()
|
| /freebsd-12.1/sys/netpfil/ipfw/ |
| H A D | ip_fw_sockopt.c | 406 struct timeval boottime; in export_cntr1_base() local 416 getboottime(&boottime); in export_cntr1_base() 417 cntr->timestamp += boottime.tv_sec; in export_cntr1_base() 424 struct timeval boottime; in export_cntr0_base() local 432 getboottime(&boottime); in export_cntr0_base() 433 cntr->timestamp += boottime.tv_sec; in export_cntr0_base() 2153 struct timeval boottime; in ipfw_getrules() local 2159 getboottime(&boottime); in ipfw_getrules() 2160 boot_seconds = boottime.tv_sec; in ipfw_getrules()
|
| /freebsd-12.1/contrib/wpa/src/drivers/ |
| H A D | driver_nl80211_scan.c | 780 u64 boottime; in nl80211_parse_bss_info() local 790 boottime = nla_get_u64( in nl80211_parse_bss_info() 793 ts.tv_nsec - boottime) / 1000000; in nl80211_parse_bss_info()
|
| /freebsd-12.1/sys/fs/devfs/ |
| H A D | devfs_vnops.c | 690 struct timeval boottime; in devfs_getattr() local 721 getboottime(&boottime); in devfs_getattr() 725 (aa).tv_sec = boottime.tv_sec; \ in devfs_getattr() 726 (aa).tv_nsec = boottime.tv_usec * 1000; \ in devfs_getattr()
|
| /freebsd-12.1/sys/net/altq/ |
| H A D | altq_subr.c | 1020 struct timeval tv, boottime; in read_machclk() local 1023 getboottime(&boottime); in read_machclk() 1024 val = (((u_int64_t)(tv.tv_sec - boottime.tv_sec) * 1000000 in read_machclk()
|
| /freebsd-12.1/sys/sys/ |
| H A D | time.h | 510 void getboottime(struct timeval *boottime);
|
| /freebsd-12.1/share/man/man9/ |
| H A D | Makefile | 2084 MLINKS+=time.9 boottime.9 \
|
| /freebsd-12.1/tools/tools/sysdoc/ |
| H A D | tunables.mdoc | 557 kern.boottime
|
| /freebsd-12.1/sys/conf/ |
| H A D | NOTES | 493 # The size of the pool can be adjusted both at boottime and runtime via
|