Lines Matching refs:host_stat
93 rstat_reply(statstime *host_stat, struct sockaddr_in *raddrp) in rstat_reply() argument
120 tmp_time_t = host_stat->curtime.tv_sec; in rstat_reply()
124 host_stat->curtime.tv_sec -= host_stat->boottime.tv_sec; in rstat_reply()
126 tmp_time_t = host_stat->curtime.tv_sec; in rstat_reply()
130 #define updays (host_stat->curtime.tv_sec / 86400) in rstat_reply()
143 else if (host_stat->curtime.tv_sec < 60) in rstat_reply()
154 (double)host_stat->avenrun[0]/FSCALE, in rstat_reply()
155 (double)host_stat->avenrun[1]/FSCALE, in rstat_reply()
156 (double)host_stat->avenrun[2]/FSCALE); in rstat_reply()
166 statstime host_stat; in onehost() local
183 bzero((char *)&host_stat, sizeof(host_stat)); in onehost()
188 (xdrproc_t)xdr_statstime, &host_stat, tv) != RPC_SUCCESS) { in onehost()
195 rstat_reply(&host_stat, &addr); in onehost()
203 statstime host_stat; in allhosts() local
208 (xdrproc_t)xdr_statstime, &host_stat, in allhosts()