Lines Matching refs:utmpx
549 struct utmpx *utmpx; in scan_utmps() local
557 while ((utmpx = getutxent()) != NULL) { in scan_utmps()
558 if (utmpx->ut_type == USER_PROCESS) { in scan_utmps()
562 if (proc_is_alive(utmpx->ut_pid)) { in scan_utmps()
567 if (find_pid(utmpx->ut_pid, &i) == 0) in scan_utmps()
568 add_pid(utmpx->ut_pid); /* No, add it */ in scan_utmps()
574 if (find_pid(utmpx->ut_pid, &i) == 1) in scan_utmps()
575 rem_pid(utmpx->ut_pid, i, CLEANIT); in scan_utmps()
577 clean_utmpx_ent(utmpx); in scan_utmps()
931 struct utmpx *u; in clean_entry()
968 clean_utmpx_ent(struct utmpx *u) in clean_utmpx_ent()