Searched refs:global_state_pid (Results 1 - 2 of 2) sorted by relevance

/xnu-2782.1.97/bsd/kern/
H A Dkern_pcsamples.c57 static pid_t global_state_pid = -1; /* Used to control exclusive use of pc_buffer */ variable
209 global_state_pid = -1;
245 if (global_state_pid == -1)
246 global_state_pid = curpid;
247 else if (global_state_pid != curpid)
249 if((p = proc_find(global_state_pid)) == NULL)
252 global_state_pid = curpid;
H A Dkdebug.c282 pid_t global_state_pid = -1; /* Used to control exclusive use of kd_buffer */ variable
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))
[all...]

Completed in 24 milliseconds