Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/utmpd/
H A Dutmpd.c139 static int pidcnt = 0; /* Number of procs being watched */ variable
350 for (i = 0; i < pidcnt; i++) in load_tables()
353 pidcnt = 0; in load_tables()
402 while ((ret_val = poll(fdtable, pidcnt, WTMPX_ufreq*1000)) < 0) in wait_for_pids()
450 for (i = pidcnt - 1; i > 0; i--) { in wait_for_pids()
714 if (pidcnt != 0 && (find_pid(pid, &j) == 1 || pid == 0)) in add_pid()
717 if (pidcnt >= Max_fds) { in add_pid()
742 if (pidcnt != 0) { in add_pid()
743 for (i = 0; i < pidcnt; i++) { in add_pid()
752 if (i != pidcnt && pid != pidtable[i].pl_pid) { in add_pid()
[all …]