Home
last modified time | relevance | path

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

/freebsd-13.1/sys/fs/procfs/
H A Dprocfs_status.c75 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 Drstat.x83 rstat_timeval boottime; member
102 rstat_timeval boottime; member
/freebsd-13.1/sys/kern/
H A Dsys_procdesc.c515 struct timeval pstart, boottime; in procdesc_stat() local
531 getboottime(&boottime); in procdesc_stat()
532 timevaladd(&pstart, &boottime); in procdesc_stat()
H A Dkern_tc.c109 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 Dsubr_epoch.c765 goto boottime; in epoch_call()
768 goto boottime; in epoch_call()
777 boottime: in epoch_call()
H A Dkern_proc.c1055 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 Dmachine.h53 struct timeval boottime; member
H A Dmachine.c450 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 Dtop.c629 i_uptime(&system_info.boottime, &curr_time); in main()
/freebsd-13.1/sys/rpc/rpcsec_gss/
H A Dsvc_rpcsec_gss.c536 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 Dfdesc_vnops.c444 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 Drstat_proc.c223 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 Dlinprocfs.c679 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 Drup.c127 host_stat->curtime.tv_sec -= host_stat->boottime.tv_sec; in rstat_reply()
/freebsd-13.1/sys/contrib/dev/iwlwifi/mvm/
H A Dutils.c1118 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 Dmvm.h1503 u64 *boottime, ktime_t *realtime);
/freebsd-13.1/sys/netpfil/ipfw/
H A Dip_fw_sockopt.c402 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 Ddriver_nl80211_scan.c783 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 Daltq_subr.c1021 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 Ddevfs_vnops.c799 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 Dtime.h558 void getboottime(struct timeval *boottime);
/freebsd-13.1/share/man/man9/
H A DMakefile2209 MLINKS+=time.9 boottime.9 \
/freebsd-13.1/tools/tools/sysdoc/
H A Dtunables.mdoc557 kern.boottime
/freebsd-13.1/sys/conf/
H A DNOTES493 # The size of the pool can be adjusted both at boottime and runtime via