/macosx-10.5.8/xnu-1228.15.4/bsd/vm/ |
H A D | vm_unix.c | 124 current_proc()->p_comm, current_proc()->p_pid, vaddr, prot_values[prot & VM_PROT_ALL]); 759 current_thread(), p->p_pid, p->p_comm, 780 current_thread(), p->p_pid, p->p_comm, 793 current_thread(), p->p_pid, p->p_comm, 834 current_thread(), p->p_pid, p->p_comm)); 852 current_thread(), p->p_pid, p->p_comm, fd, error)); 861 current_thread(), p->p_pid, p->p_comm, 872 current_thread(), p->p_pid, p->p_comm, fd)); 883 current_thread(), p->p_pid, p->p_comm, fd, error)); 893 current_thread(), p->p_pid, [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | kern_prot.c | 179 *retval = p->p_pid; 528 if (p->p_pgrpid == p->p_pid || (pg = pgfind(p->p_pid)) || p->p_lflag & P_LINVFORK) { 534 (void)enterpgrp(p, p->p_pid, 1); 535 *retval = p->p_pid; 591 if (uap->pid != 0 && uap->pid != curp->p_pid) { 627 uap->pgid = targp->p_pid; 628 else if (uap->pgid != targp->p_pid) { 720 DEBUG_CRED_ENTER("setuid (%d/%d): %p %d\n", p->p_pid, (p->p_pptr ? p->p_pptr->p_pid [all...] |
H A D | kern_proc.c | 275 if (p->p_pid == 0) 302 if ((p->p_pid == 0) || (p->p_pptr == start) || (nchecked >= nprocs)) 576 return(p->p_pid); 589 return(p->p_pid); 814 if (p->p_pid == pid) { 817 if ((p !=q) && (q->p_pid == pid)) 818 panic("two procs with same pid %x:%x:%d:%d\n", (unsigned int)p, (unsigned int)q, p->p_pid, q->p_pid); 839 if (p->p_pid == pid) 937 child->p_ppid = parent->p_pid; [all...] |
H A D | kern_exit.c | 220 vfork_return(p , retval, p->p_pid); 306 (void)sys_perf_notify(self, p->p_pid); 735 pp->si_pid = p->p_pid; 844 trace_parent->si_pid = child->p_pid; 990 p->p_pid != uap->pid && 1011 retval[0] = p->p_pid; 1063 retval[0] = p->p_pid; 1087 retval[0] = p->p_pid; 1201 if (p->p_pid != (pid_t)uap->id) 1451 child->p_ppid = parent->p_pid; [all...] |
H A D | kern_fork.c | 270 AUDIT_ARG(pid, child->p_pid); 292 thread_set_child(cur_act, child->p_pid); 309 retval[0] = child->p_pid; 617 AUDIT_ARG(pid, child->p_pid); 619 thread_set_child(newth, child->p_pid); 684 proc_knote(parent, NOTE_FORK | child->p_pid); 686 retval[0] = child->p_pid; 928 child->p_pid = nextpid; 931 if (child->p_pid != 0) { 932 if (pfind_locked(child->p_pid) ! [all...] |
H A D | mach_process.c | 405 if (traced_procp->p_pid == cur_procp->p_pid) {
|
H A D | kern_core.c | 245 core_proc->p_pid, alloced_name, MAXPATHLEN)) { 247 "/cores/core.%d", core_proc->p_pid);
|
H A D | kern_sig.c | 1244 if (p->p_pid <= 1 || p->p_flag & P_SYSTEM || 1255 if (p->p_pid <= 1 || p->p_flag & P_SYSTEM || 1327 if (p->p_pid <= 1 || p->p_flag & P_SYSTEM || 1729 sig_proc->p_contproc = current_proc()->p_pid; 1772 sig_proc->si_pid = current_proc()->p_pid; 1820 pp->si_pid = sig_proc->p_pid; 1876 sig_proc->p_contproc = sig_proc->p_pid; 2077 pp->si_pid = p->p_pid; 2195 p->p_pid, signum); 2236 pp->si_pid = p->p_pid; [all...] |
H A D | kern_pcsamples.c | 245 curpid = curproc->p_pid;
|
H A D | tty.c | 2391 pickpid = p->p_pid; 2393 pickpid = pick->p_pid; 2439 pick->p_pid, 2490 return (p2->p_pid > p1->p_pid); /* tie - return highest pid */ 2501 return (p2->p_pid > p1->p_pid); /* tie - return highest pid */ 2513 return (p2->p_pid > p1->p_pid); /* tie - return highest pid */
|
H A D | kern_shutdown.c | 392 printf("%s[%d]: didn't act on SIGTERM\n", p->p_comm, p->p_pid);
|
H A D | subr_log.c | 139 logsoftc.sc_pgid = p->p_pid; /* signal process only */
|
H A D | kdebug.c | 164 pid_t pid; /* from procs p_pid */ 483 *arg_pid = proc->p_pid; 625 tts_mapptr[i].pid = p->p_pid; 1133 curpid = curproc->p_pid;
|
H A D | kern_lockf.c | 1147 printf("proc %ld", (long)((struct proc *)lock->lf_id)->p_pid); 1196 (long)((struct proc *)lf->lf_id)->p_pid); 1208 (long)((struct proc *)blk->lf_id)->p_pid);
|
H A D | kern_exec.c | 1077 p->p_pid ,0,0,0, (unsigned int)thread); 1082 p->p_pid ,0,0,0,0); 1710 spga.pid = p->p_pid; 1825 (void)suword(pid, p->p_pid); 2021 vfork_return(p, retval, p->p_pid);
|
H A D | kern_sysctl.c | 1050 if (p->p_pid != (pid_t)arg) 1456 exp->p_pid = p->p_pid ; 1521 exp->p_pid = p->p_pid ; 2092 if (!(new_value < securelevel && req->p->p_pid != 1)) {
|
H A D | uipc_syscalls.c | 956 if (p->p_pid > last_pid_4056224) { 957 last_pid_4056224 = p->p_pid; 960 "on a pipe\n", p->p_comm, p->p_pid); 1309 if (p->p_pid > last_pid_4056224) { 1310 last_pid_4056224 = p->p_pid; 1313 "a pipe\n", p->p_comm, p->p_pid);
|
H A D | proc_info.c | 248 *ptr++ = p->p_pid; 257 *ptr++ = p->p_pid; 347 pbsd->pbi_pid = p->p_pid;
|
H A D | sysv_sem.c | 824 semakptr->u.sem_base[semnum].sempid = p->p_pid; 841 semakptr->u.sem_base[i].sempid = p->p_pid; 1304 semptr->sempid = p->p_pid;
|
H A D | kern_time.c | 456 r = proc_find(p->p_pid);
|
H A D | tty_compat.c | 474 *(int *) data = tp->t_session->s_leader->p_pid;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/ |
H A D | proc.h | 114 pid_t p_pid; /* Process identifier. */ member in struct:extern_proc
|
H A D | proc_internal.h | 186 pid_t p_pid; /* Process identifier. (static)*/ member in struct:proc 431 pid_t p_pid; /* Process identifier. */ member in struct:user_extern_proc
|
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/dtrace/ |
H A D | fasttrap.c | 460 pid_t ppid = p->p_pid; 482 if (cp != sprlock(cp->p_pid)) { 483 printf("fasttrap_fork: sprlock(%d) returned a differt proc\n", cp->p_pid); 544 fasttrap_provider_retire(p->p_pid, FASTTRAP_PID_NAME, 0); 551 fasttrap_provider_retire(p->p_pid, FASTTRAP_OBJC_NAME, 0); 552 fasttrap_provider_retire(p->p_pid, FASTTRAP_ONESHOT_NAME, 0);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/ppc/ |
H A D | fasttrap_isa.c | 441 pid = p->p_pid; 642 fasttrap_return_common(sv, pc, p->p_pid, npc);
|