| /freebsd-14.2/sys/fs/procfs/ |
| H A D | procfs_status.c | 73 struct timeval boottime; in procfs_doprocstatus() local 133 getboottime(&boottime); in procfs_doprocstatus() 134 timevaladd(&start, &boottime); in procfs_doprocstatus()
|
| /freebsd-14.2/include/rpcsvc/ |
| H A D | rstat.x | 81 rstat_timeval boottime; member 100 rstat_timeval boottime; member
|
| /freebsd-14.2/sys/kern/ |
| H A D | sys_timerfd.c | 135 struct timespec boottime, diff; in timerfd_jumped() local 140 timerfd_getboottime(&boottime); in timerfd_jumped() 146 timespeccmp(&boottime, &tfd->tfd_boottim, ==)) { in timerfd_jumped() 154 else if (timespeccmp(&boottime, &tfd->tfd_boottim, <)) in timerfd_jumped() 162 timespecsub(&boottime, in timerfd_jumped() 174 tfd->tfd_boottim = boottime; in timerfd_jumped()
|
| H A D | sys_procdesc.c | 514 struct timeval pstart, boottime; in procdesc_stat() local 530 getboottime(&boottime); in procdesc_stat() 531 timevaladd(&pstart, &boottime); in procdesc_stat()
|
| H A D | kern_tc.c | 114 SYSCTL_PROC(_kern, KERN_BOOTTIME, boottime, 162 struct timeval boottime; in sysctl_kern_boottime() local 164 getboottime(&boottime); in sysctl_kern_boottime() 172 tv[0] = boottime.tv_sec; in sysctl_kern_boottime() 173 tv[1] = boottime.tv_usec; in sysctl_kern_boottime() 178 return (SYSCTL_OUT(req, &boottime, sizeof(boottime))); in sysctl_kern_boottime() 486 getboottime(struct timeval *boottime) in getboottime() argument 491 bintime2timeval(&boottimebin, boottime); in getboottime()
|
| H A D | subr_epoch.c | 788 goto boottime; in epoch_call() 791 goto boottime; in epoch_call() 800 boottime: in epoch_call()
|
| H A D | kern_proc.c | 1088 struct timeval boottime; in fill_kinfo_proc_only() local 1168 getboottime(&boottime); in fill_kinfo_proc_only() 1169 timevaladd(&kp->ki_start, &boottime); in fill_kinfo_proc_only()
|
| /freebsd-14.2/usr.bin/top/ |
| H A D | machine.h | 52 struct timeval boottime; member
|
| H A D | machine.c | 457 struct timeval boottime; in get_system_info() local 590 size = sizeof(boottime); in get_system_info() 591 if (sysctl(mib, nitems(mib), &boottime, &size, NULL, 0) != -1 && in get_system_info() 592 boottime.tv_sec != 0) { in get_system_info() 593 si->boottime = boottime; in get_system_info() 595 si->boottime.tv_sec = -1; in get_system_info()
|
| H A D | top.c | 627 i_uptime(&system_info.boottime, &curr_time); in main()
|
| /freebsd-14.2/sys/fs/fdescfs/ |
| H A D | fdesc_vnops.c | 436 struct timeval boottime; in fdesc_getattr() local 438 getboottime(&boottime); in fdesc_getattr() 444 vap->va_atime.tv_sec = boottime.tv_sec; in fdesc_getattr()
|
| /freebsd-14.2/sys/rpc/rpcsec_gss/ |
| H A D | svc_rpcsec_gss.c | 597 struct timeval boottime; in svc_rpc_gss_find_client() local 603 getboottime(&boottime); in svc_rpc_gss_find_client() 604 if (id->ci_hostid != hostid || id->ci_boottime != boottime.tv_sec) in svc_rpc_gss_find_client() 634 struct timeval boottime; in svc_rpc_gss_create_client() local 650 getboottime(&boottime); in svc_rpc_gss_create_client() 651 client->cl_id.ci_boottime = boottime.tv_sec; in svc_rpc_gss_create_client()
|
| /freebsd-14.2/libexec/rpc.rstatd/ |
| H A D | rstat_proc.c | 221 stats_all.s2.boottime.tv_sec = btm.tv_sec; in updatestat() 222 stats_all.s2.boottime.tv_usec = btm.tv_usec; in updatestat()
|
| /freebsd-14.2/sys/compat/linprocfs/ |
| H A D | linprocfs.c | 718 struct timeval boottime; in linprocfs_dostat() local 738 getboottime(&boottime); in linprocfs_dostat() 782 (long long)boottime.tv_sec); in linprocfs_dostat() 955 struct timeval boottime; in linprocfs_doprocstat() local 961 getboottime(&boottime); in linprocfs_doprocstat() 1007 PS_ADD("starttime", "%lu", TV2J(&kp.ki_start) - TV2J(&boottime)); in linprocfs_doprocstat()
|
| /freebsd-14.2/usr.bin/rup/ |
| H A D | rup.c | 124 host_stat->curtime.tv_sec -= host_stat->boottime.tv_sec; in rstat_reply()
|
| /freebsd-14.2/sys/contrib/dev/iwlwifi/mvm/ |
| H A D | utils.c | 1150 u32 *gp2, u64 *boottime, ktime_t *realtime) in iwl_mvm_get_sync_time() argument 1165 if (clock_type == CLOCK_BOOTTIME && boottime) in iwl_mvm_get_sync_time() 1166 *boottime = ktime_get_boottime_ns(); in iwl_mvm_get_sync_time()
|
| H A D | mvm.h | 1635 u64 *boottime, ktime_t *realtime);
|
| /freebsd-14.2/sys/netpfil/ipfw/ |
| H A D | ip_fw_sockopt.c | 400 struct timeval boottime; in export_cntr1_base() local 410 getboottime(&boottime); in export_cntr1_base() 411 cntr->timestamp += boottime.tv_sec; in export_cntr1_base() 418 struct timeval boottime; in export_cntr0_base() local 426 getboottime(&boottime); in export_cntr0_base() 427 cntr->timestamp += boottime.tv_sec; in export_cntr0_base() 2155 struct timeval boottime; in ipfw_getrules() local 2161 getboottime(&boottime); in ipfw_getrules() 2162 boot_seconds = boottime.tv_sec; in ipfw_getrules()
|
| /freebsd-14.2/contrib/wpa/src/drivers/ |
| H A D | driver_nl80211_scan.c | 816 u64 boottime; in nl80211_parse_bss_info() local 826 boottime = nla_get_u64( in nl80211_parse_bss_info() 829 ts.tv_nsec - boottime) / 1000000; in nl80211_parse_bss_info()
|
| /freebsd-14.2/sys/net/altq/ |
| H A D | altq_subr.c | 987 struct timeval tv, boottime; in read_machclk() local 990 getboottime(&boottime); in read_machclk() 991 val = (((u_int64_t)(tv.tv_sec - boottime.tv_sec) * 1000000 in read_machclk()
|
| /freebsd-14.2/sys/fs/devfs/ |
| H A D | devfs_vnops.c | 807 struct timeval boottime; in devfs_getattr() local 838 getboottime(&boottime); in devfs_getattr() 842 (aa).tv_sec = boottime.tv_sec; \ in devfs_getattr() 843 (aa).tv_nsec = boottime.tv_usec * 1000; \ in devfs_getattr()
|
| /freebsd-14.2/sys/sys/ |
| H A D | time.h | 574 void getboottime(struct timeval *boottime);
|
| /freebsd-14.2/tools/tools/sysdoc/ |
| H A D | tunables.mdoc | 556 kern.boottime
|
| /freebsd-14.2/share/man/man9/ |
| H A D | Makefile | 2260 MLINKS+=time.9 boottime.9 \
|
| /freebsd-14.2/sys/conf/ |
| H A D | NOTES | 494 # The size of the pool can be adjusted both at boottime and runtime via
|