Home
last modified time | relevance | path

Searched refs:boottime (Results 1 – 25 of 26) sorted by relevance

12

/freebsd-14.2/sys/fs/procfs/
H A Dprocfs_status.c73 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 Drstat.x81 rstat_timeval boottime; member
100 rstat_timeval boottime; member
/freebsd-14.2/sys/kern/
H A Dsys_timerfd.c135 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 Dsys_procdesc.c514 struct timeval pstart, boottime; in procdesc_stat() local
530 getboottime(&boottime); in procdesc_stat()
531 timevaladd(&pstart, &boottime); in procdesc_stat()
H A Dkern_tc.c114 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 Dsubr_epoch.c788 goto boottime; in epoch_call()
791 goto boottime; in epoch_call()
800 boottime: in epoch_call()
H A Dkern_proc.c1088 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 Dmachine.h52 struct timeval boottime; member
H A Dmachine.c457 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 Dtop.c627 i_uptime(&system_info.boottime, &curr_time); in main()
/freebsd-14.2/sys/fs/fdescfs/
H A Dfdesc_vnops.c436 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 Dsvc_rpcsec_gss.c597 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 Drstat_proc.c221 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 Dlinprocfs.c718 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 Drup.c124 host_stat->curtime.tv_sec -= host_stat->boottime.tv_sec; in rstat_reply()
/freebsd-14.2/sys/contrib/dev/iwlwifi/mvm/
H A Dutils.c1150 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 Dmvm.h1635 u64 *boottime, ktime_t *realtime);
/freebsd-14.2/sys/netpfil/ipfw/
H A Dip_fw_sockopt.c400 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 Ddriver_nl80211_scan.c816 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 Daltq_subr.c987 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 Ddevfs_vnops.c807 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 Dtime.h574 void getboottime(struct timeval *boottime);
/freebsd-14.2/tools/tools/sysdoc/
H A Dtunables.mdoc556 kern.boottime
/freebsd-14.2/share/man/man9/
H A DMakefile2260 MLINKS+=time.9 boottime.9 \
/freebsd-14.2/sys/conf/
H A DNOTES494 # The size of the pool can be adjusted both at boottime and runtime via

12