Lines Matching defs:h1
242 hscmp(struct hs *h1, struct hs *h2)
245 return (rflg * strcmp(h1->hs_wd->wd_hostname, h2->hs_wd->wd_hostname));
252 lcmp(struct hs *h1, struct hs *h2)
255 if (down(h1))
257 return (tcmp(h1, h2));
264 (h2->hs_wd->wd_loadav[0] - h1->hs_wd->wd_loadav[0]));
271 ucmp(struct hs *h1, struct hs *h2)
274 if (down(h1))
276 return (tcmp(h1, h2));
282 return (rflg * (h2->hs_nusers - h1->hs_nusers));
289 tcmp(struct hs *h1, struct hs *h2)
296 (down(h1) ? h1->hs_wd->wd_recvtime - now :
297 h1->hs_wd->wd_sendtime - h1->hs_wd->wd_boottime)));