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

/darwin-on-arm/xnu/bsd/kern/
H A Dkern_pcsamples.c57 static pid_t global_state_pid = -1; /* Used to control exclusive use of pc_buffer */ variable
213 global_state_pid = -1;
249 if (global_state_pid == -1)
250 global_state_pid = curpid;
251 else if (global_state_pid != curpid)
253 if((p = proc_find(global_state_pid)) == NULL)
256 global_state_pid = curpid;
H A Dkdebug.c246 pid_t global_state_pid = -1; /* Used to control exclusive use of kd_buffer */ variable
1228 global_state_pid = -1;
1822 * Does not alter the global_state_pid
1845 kd_bufinfo.bufid = global_state_pid;
1892 if (global_state_pid == -1)
1893 global_state_pid = curpid;
1894 else if (global_state_pid != curpid) {
1895 if ((p = proc_find(global_state_pid)) == NULL) {
1899 global_state_pid = curpid;
2496 if (global_state_pid !
[all...]

Completed in 80 milliseconds