Lines Matching refs:pid

225 stack_snapshot2(pid_t pid, user_addr_t tracebuf, uint32_t tracebuf_size, uint32_t flags, uint32_t dispatch_offset, int32_t *retval);
228 kdp_snapshot_preflight(int pid, void *tracebuf, uint32_t tracebuf_size, uint32_t flags, uint32_t dispatch_offset);
273 pid_t pid; /* from procs p_pid */
1098 * Some kernel threads have no associated pid.
1101 if (t->atts->pid)
1102 mapptr->valid = t->atts->pid;
1181 tts_mapptr[i].pid = p->p_pid;
1254 pid_t pid;
1258 pid = (pid_t)kdr->value1;
1261 if (pid > 0) {
1262 if ((p = proc_find(pid)) == NULL)
1267 * turn on pid check for this and all pids
1276 * turn off pid check for this pid value
1277 * Don't turn off all pid checking though
1292 /* This is for pid exclusion in the trace buffer */
1296 pid_t pid;
1300 pid = (pid_t)kdr->value1;
1303 if (pid > 0) {
1304 if ((p = proc_find(pid)) == NULL)
1309 * turn on pid exclusion
1319 * turn off pid exclusion for this pid value
1320 * Don't turn off all pid exclusion though
1383 /* Turn off slow checks unless pid checks are using them */
1897 * The global pid no longer exists
1902 * The global pid exists, deny this request
2367 * Inputs: uap->pid - process id of process to be traced, or -1
2378 * ENOENT if the target pid isn't found
2391 return stack_snapshot2(uap->pid, uap->tracebuf, uap->tracebuf_size,
2396 stack_snapshot2(pid_t pid, user_addr_t tracebuf, uint32_t tracebuf_size, uint32_t flags, uint32_t dispatch_offset, int32_t *retval)
2424 kdp_snapshot_preflight(pid, stackshot_snapbuf, tracebuf_size, flags, dispatch_offset);
2499 * The global pid exists, we're running