Lines Matching refs:lproc
156 lprocess_t *lproc;
186 lproc = lcol->lcol_lprocess;
187 while (lproc != NULL) {
188 if (lproc->lpc_pid == pid) {
189 lproc->lpc_mark = 1;
190 if (unscannable != 0 && lproc->lpc_unscannable == 0) {
192 (int)lproc->lpc_pid);
193 lproc->lpc_unscannable = 1;
197 lproc = lproc->lpc_next;
204 if ((lproc = malloc(sizeof (*lproc))) == NULL)
207 (void) bzero(lproc, sizeof (*lproc));
208 lproc->lpc_pid = pid;
209 lproc->lpc_mark = 1;
210 lproc->lpc_collection = lcol;
211 lproc->lpc_psinfo_fd = -1;
212 lproc->lpc_pgdata_fd = -1;
213 lproc->lpc_xmap_fd = -1;
219 lproc->lpc_unscannable = unscannable || proc_issystem(pid);
226 if (lcollection_member(lcol, lproc)) {
231 (int)lproc->lpc_pid);
240 lproc->lpc_next = lcol->lcol_lprocess;
241 if (lproc->lpc_next != NULL)
242 lproc->lpc_next->lpc_prev = lproc;
243 lproc->lpc_prev = NULL;
244 lcol->lcol_lprocess = lproc;
250 (lproc->lpc_unscannable != 0) ? " (not scannable)" : "");