Lines Matching refs:global_state_pid
282 pid_t global_state_pid = -1; /* Used to control exclusive use of kd_buffer */
353 if (old_pid == global_state_pid)
354 global_state_pid = new_pid;
1622 global_state_pid = -1;
2199 * Does not alter the global_state_pid
2222 kd_bufinfo.bufid = global_state_pid;
2267 if (global_state_pid == -1)
2268 global_state_pid = curpid;
2269 else if (global_state_pid != curpid) {
2270 if ((p = proc_find(global_state_pid)) == NULL) {
2274 global_state_pid = curpid;
3132 if (global_state_pid != -1) {
3133 if ((proc_find(global_state_pid)) != NULL) {