Lines Matching refs:NO_PID
51 * Ugly thing: PID_MAX, NO_PID defined only in kernel
53 #define NO_PID 100000
375 * NO_PID + 1; NO_PID is PID_MAX + 1 thus it will be no risk to
376 * overlap with real PIDs which are in range of 1 .. NO_PID
378 entry = swrun_entry_find_by_index(NO_PID + 1 + stat.id);
381 entry = swrun_entry_create(NO_PID + 1 + stat.id);
436 if (entry->index >= NO_PID + 1) {
439 * starting with NO_PID + 1; NO_PID is PID_MAX + 1
441 * which are in range of 1 .. NO_PID
444 if (kldstat(entry->index - NO_PID - 1, &stat) == -1) {
450 entry->index - NO_PID - 1);
480 if (entry->index >= NO_PID + 1) {
483 entry->index - NO_PID - 1);
491 if (kldstat(entry->index - NO_PID - 1, &stat) == -1) {
498 entry->index - NO_PID - 1);