Lines Matching defs:pids
63 Hash_table_t* pids; /* Pid_t hash */
67 unsigned long active; /* number of active pids */
82 if (!(state->pids = hashalloc(NiL, HASH_set, HASH_ALLOCATE, HASH_namesize, sizeof(pid_t), HASH_name, "pids", 0)))
83 error(3, "out of space [pids]");
136 if (pos = hashscan(state->pids, 0))
163 else if (pp = (Pid_t*)hashlook(state->pids, (char*)&pid, HASH_LOOKUP, NiL))
176 hashlook(state->pids, NiL, HASH_DELETE, NiL);
192 else if (pp = (Pid_t*)hashlook(state->pids, NiL, HASH_CREATE|HASH_SIZE(sizeof(Pid_t)), NiL))
213 * poll expired pids
230 if (pos = hashscan(state->pids, 0))
247 hashlook(state->pids, (char*)&pp->pid, HASH_DELETE, NiL);