Searched refs:boottime (Results 1 - 22 of 22) sorted by relevance

/freebsd-10.0-release/contrib/top/
H A Dmachine.h48 struct timeval boottime; member in struct:system_info
H A Dtop.c625 i_uptime(&system_info.boottime, &curr_time);
/freebsd-10.0-release/include/rpcsvc/
H A Drstat.x81 rstat_timeval boottime;
100 rstat_timeval boottime;
/freebsd-10.0-release/usr.bin/rup/
H A Drup.c126 host_stat->curtime.tv_sec -= host_stat->boottime.tv_sec;
136 host_stat->curtime.tv_sec -= host_stat->boottime.tv_sec;
/freebsd-10.0-release/sys/fs/procfs/
H A Dprocfs_status.c132 timevaladd(&start, &boottime);
/freebsd-10.0-release/usr.bin/top/
H A Dmachine.c435 struct timeval boottime; local
552 * (Found by looking getting "boottime" from the kernel)
556 size = sizeof(boottime);
557 if (sysctl(mib, 2, &boottime, &size, NULL, 0) != -1 &&
558 boottime.tv_sec != 0) {
559 si->boottime = boottime;
561 si->boottime.tv_sec = -1;
/freebsd-10.0-release/libexec/rpc.rstatd/
H A Drstat_proc.c220 syslog(LOG_ERR, "sysctl(kern.boottime): %m");
224 stats_all.s2.boottime.tv_sec = btm.tv_sec;
225 stats_all.s2.boottime.tv_usec = btm.tv_usec;
/freebsd-10.0-release/sys/kern/
H A Dkern_tc.c111 struct timeval boottime; variable in typeref:struct:timeval
113 SYSCTL_PROC(_kern, KERN_BOOTTIME, boottime, CTLTYPE_STRUCT|CTLFLAG_RD,
114 NULL, 0, sysctl_kern_boottime, "S,timeval", "System boottime");
151 tv[0] = boottime.tv_sec;
152 tv[1] = boottime.tv_usec;
157 return SYSCTL_OUT(req, &boottime, sizeof(boottime));
1227 bintime2timeval(&bt, &boottime);
H A Dkern_acct.c392 tmp = boottime;
H A Dsys_procdesc.c492 timevaladd(&pstart, &boottime);
H A Dkern_proc.c868 timevaladd(&kp->ki_start, &boottime);
/freebsd-10.0-release/sys/nfs/
H A Dnfs_lock.c287 timevaladd(&p->p_nlminfo->pid_start, &boottime);
/freebsd-10.0-release/sys/fs/fdescfs/
H A Dfdesc_vnops.c47 #include <sys/kernel.h> /* boottime */
402 vap->va_atime.tv_sec = boottime.tv_sec;
/freebsd-10.0-release/sys/sys/
H A Dtime.h375 extern struct timeval boottime;
/freebsd-10.0-release/sys/compat/linprocfs/
H A Dlinprocfs.c493 (long long)boottime.tv_sec);
688 PS_ADD("starttime", "%lu", TV2J(&kp.ki_start) - TV2J(&boottime));
/freebsd-10.0-release/sys/rpc/rpcsec_gss/
H A Dsvc_rpcsec_gss.c515 if (id->ci_hostid != hostid || id->ci_boottime != boottime.tv_sec)
553 client->cl_id.ci_boottime = boottime.tv_sec;
/freebsd-10.0-release/sys/fs/devfs/
H A Ddevfs_vnops.c690 (aa).tv_sec = boottime.tv_sec; \
691 (aa).tv_nsec = boottime.tv_usec * 1000; \
/freebsd-10.0-release/sys/fs/nfs/
H A Dnfsport.h486 time_t *nsf_bootvals; /* Previous boottime values */
865 * Set boottime.
867 #define NFSSETBOOTTIME(b) ((b) = boottime)
/freebsd-10.0-release/sys/netpfil/ipfw/
H A Dip_fw_sockopt.c885 boot_seconds = boottime.tv_sec;
/freebsd-10.0-release/share/man/man9/
H A DMakefile1352 MLINKS+=time.9 boottime.9 \
/freebsd-10.0-release/sys/contrib/altq/altq/
H A Daltq_subr.c1025 val = (((u_int64_t)(tv.tv_sec - boottime.tv_sec) * 1000000
/freebsd-10.0-release/sys/nfsserver/
H A Dnfs_serv.c1156 nfsver = boottime;
3422 nfsver = boottime;

Completed in 169 milliseconds