| /freebsd-13.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-13.1/include/rpcsvc/ |
| H A D | rstat.x | 83 rstat_timeval boottime; member 102 rstat_timeval boottime; member
|
| /freebsd-13.1/sys/kern/ |
| H A D | sys_procdesc.c | 515 struct timeval pstart, boottime; in procdesc_stat() local 531 getboottime(&boottime); in procdesc_stat() 532 timevaladd(&pstart, &boottime); in procdesc_stat()
|
| H A D | kern_tc.c | 109 SYSCTL_PROC(_kern, KERN_BOOTTIME, boottime, 157 struct timeval boottime; in sysctl_kern_boottime() local 159 getboottime(&boottime); in sysctl_kern_boottime() 167 tv[0] = boottime.tv_sec; in sysctl_kern_boottime() 168 tv[1] = boottime.tv_usec; in sysctl_kern_boottime() 173 return (SYSCTL_OUT(req, &boottime, sizeof(boottime))); in sysctl_kern_boottime() 481 getboottime(struct timeval *boottime) in getboottime() argument 486 bintime2timeval(&boottimebin, boottime); in getboottime()
|
| H A D | subr_epoch.c | 765 goto boottime; in epoch_call() 768 goto boottime; in epoch_call() 777 boottime: in epoch_call()
|
| H A D | kern_proc.c | 1055 struct timeval boottime; in fill_kinfo_proc_only() local 1135 getboottime(&boottime); in fill_kinfo_proc_only() 1136 timevaladd(&kp->ki_start, &boottime); in fill_kinfo_proc_only()
|
| /freebsd-13.1/usr.bin/top/ |
| H A D | machine.h | 53 struct timeval boottime; member
|
| H A D | machine.c | 450 struct timeval boottime; in get_system_info() local 583 size = sizeof(boottime); in get_system_info() 584 if (sysctl(mib, nitems(mib), &boottime, &size, NULL, 0) != -1 && in get_system_info() 585 boottime.tv_sec != 0) { in get_system_info() 586 si->boottime = boottime; in get_system_info() 588 si->boottime.tv_sec = -1; in get_system_info()
|
| H A D | top.c | 629 i_uptime(&system_info.boottime, &curr_time); in main()
|
| /freebsd-13.1/sys/rpc/rpcsec_gss/ |
| H A D | svc_rpcsec_gss.c | 536 struct timeval boottime; in svc_rpc_gss_find_client() local 542 getboottime(&boottime); in svc_rpc_gss_find_client() 543 if (id->ci_hostid != hostid || id->ci_boottime != boottime.tv_sec) in svc_rpc_gss_find_client() 571 struct timeval boottime; in svc_rpc_gss_create_client() local 587 getboottime(&boottime); in svc_rpc_gss_create_client() 588 client->cl_id.ci_boottime = boottime.tv_sec; in svc_rpc_gss_create_client()
|
| /freebsd-13.1/sys/fs/fdescfs/ |
| H A D | fdesc_vnops.c | 444 struct timeval boottime; in fdesc_getattr() local 446 getboottime(&boottime); in fdesc_getattr() 452 vap->va_atime.tv_sec = boottime.tv_sec; in fdesc_getattr()
|
| /freebsd-13.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-13.1/sys/compat/linprocfs/ |
| H A D | linprocfs.c | 679 struct timeval boottime; in linprocfs_dostat() local 699 getboottime(&boottime); in linprocfs_dostat() 743 (long long)boottime.tv_sec); in linprocfs_dostat() 916 struct timeval boottime; in linprocfs_doprocstat() local 922 getboottime(&boottime); in linprocfs_doprocstat() 968 PS_ADD("starttime", "%lu", TV2J(&kp.ki_start) - TV2J(&boottime)); in linprocfs_doprocstat()
|
| /freebsd-13.1/usr.bin/rup/ |
| H A D | rup.c | 127 host_stat->curtime.tv_sec -= host_stat->boottime.tv_sec; in rstat_reply()
|
| /freebsd-13.1/sys/contrib/dev/iwlwifi/mvm/ |
| H A D | utils.c | 1118 u32 *gp2, u64 *boottime, ktime_t *realtime) in iwl_mvm_get_sync_time() argument 1133 if (clock_type == CLOCK_BOOTTIME && boottime) in iwl_mvm_get_sync_time() 1134 *boottime = ktime_get_boottime_ns(); in iwl_mvm_get_sync_time()
|
| H A D | mvm.h | 1503 u64 *boottime, ktime_t *realtime);
|
| /freebsd-13.1/sys/netpfil/ipfw/ |
| H A D | ip_fw_sockopt.c | 402 struct timeval boottime; in export_cntr1_base() local 412 getboottime(&boottime); in export_cntr1_base() 413 cntr->timestamp += boottime.tv_sec; in export_cntr1_base() 420 struct timeval boottime; in export_cntr0_base() local 428 getboottime(&boottime); in export_cntr0_base() 429 cntr->timestamp += boottime.tv_sec; in export_cntr0_base() 2141 struct timeval boottime; in ipfw_getrules() local 2147 getboottime(&boottime); in ipfw_getrules() 2148 boot_seconds = boottime.tv_sec; in ipfw_getrules()
|
| /freebsd-13.1/contrib/wpa/src/drivers/ |
| H A D | driver_nl80211_scan.c | 783 u64 boottime; in nl80211_parse_bss_info() local 793 boottime = nla_get_u64( in nl80211_parse_bss_info() 796 ts.tv_nsec - boottime) / 1000000; in nl80211_parse_bss_info()
|
| /freebsd-13.1/sys/net/altq/ |
| H A D | altq_subr.c | 1021 struct timeval tv, boottime; in read_machclk() local 1024 getboottime(&boottime); in read_machclk() 1025 val = (((u_int64_t)(tv.tv_sec - boottime.tv_sec) * 1000000 in read_machclk()
|
| /freebsd-13.1/sys/fs/devfs/ |
| H A D | devfs_vnops.c | 799 struct timeval boottime; in devfs_getattr() local 830 getboottime(&boottime); in devfs_getattr() 834 (aa).tv_sec = boottime.tv_sec; \ in devfs_getattr() 835 (aa).tv_nsec = boottime.tv_usec * 1000; \ in devfs_getattr()
|
| /freebsd-13.1/sys/sys/ |
| H A D | time.h | 558 void getboottime(struct timeval *boottime);
|
| /freebsd-13.1/share/man/man9/ |
| H A D | Makefile | 2209 MLINKS+=time.9 boottime.9 \
|
| /freebsd-13.1/tools/tools/sysdoc/ |
| H A D | tunables.mdoc | 557 kern.boottime
|
| /freebsd-13.1/sys/conf/ |
| H A D | NOTES | 493 # The size of the pool can be adjusted both at boottime and runtime via
|