Home
last modified time | relevance | path

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

/f-stack/freebsd/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.c107 SYSCTL_PROC(_kern, KERN_BOOTTIME, boottime,
154 struct timeval boottime; in sysctl_kern_boottime() local
156 getboottime(&boottime); in sysctl_kern_boottime()
164 tv[0] = boottime.tv_sec; in sysctl_kern_boottime()
165 tv[1] = boottime.tv_usec; in sysctl_kern_boottime()
170 return (SYSCTL_OUT(req, &boottime, sizeof(boottime))); in sysctl_kern_boottime()
462 getboottime(struct timeval *boottime) in getboottime() argument
467 bintime2timeval(&boottimebin, boottime); in getboottime()
H A Dsubr_epoch.c764 goto boottime; in epoch_call()
767 goto boottime; in epoch_call()
776 boottime: in epoch_call()
H A Dkern_proc.c1051 struct timeval boottime; in fill_kinfo_proc_only() local
1131 getboottime(&boottime); in fill_kinfo_proc_only()
1132 timevaladd(&kp->ki_start, &boottime); in fill_kinfo_proc_only()
/f-stack/freebsd/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()
/f-stack/freebsd/net/altq/
H A Daltq_subr.c989 struct timeval tv, boottime; in read_machclk() local
992 getboottime(&boottime); in read_machclk()
993 val = (((u_int64_t)(tv.tv_sec - boottime.tv_sec) * 1000000 in read_machclk()
/f-stack/freebsd/sys/
H A Dtime.h573 void getboottime(struct timeval *boottime);