/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | kern_clock.c | 316 if ((p->p_flag & P_PROFIL) == 0) 317 OSBitOrAtomic(P_PROFIL, (UInt32 *)&p->p_flag); 326 if (p->p_flag & P_PROFIL) 327 OSBitAndAtomic(~((uint32_t)P_PROFIL), (UInt32 *)&p->p_flag); 341 if ( !(p->p_flag & P_PROFIL)) 365 if ( !(p->p_flag & P_PROFIL))
|
H A D | kern_xxx.c | 120 OSBitOrAtomic(P_REBOOT, (UInt32 *)&p->p_flag); /* No more signals for this proc */
|
H A D | tty_tty.c | 161 OSBitAndAtomic(~((uint32_t)P_CONTROLT), (UInt32 *)&p->p_flag); 210 vp = (p->p_flag & P_CONTROLT ? sessp->s_ttyvp : NULLVP);
|
H A D | kern_prot.c | 604 if (targp->p_flag & P_EXEC) { 680 *retval = (p->p_flag & P_SUGID) ? 1 : 0; 789 OSBitOrAtomic(P_SUGID, (UInt32 *)&p->p_flag); 874 OSBitOrAtomic(P_SUGID, (UInt32 *)&p->p_flag); 973 OSBitOrAtomic(P_SUGID, (UInt32 *)&p->p_flag); 981 OSBitOrAtomic(P_SUGID, (UInt32 *)&p->p_flag); 992 OSBitOrAtomic(P_SUGID, (UInt32 *)&p->p_flag); 1016 OSBitOrAtomic(P_SUGID, (UInt32 *)&p->p_flag); /* XXX redundant? */ 1116 OSBitOrAtomic(P_SUGID, (UInt32 *)&p->p_flag); 1202 OSBitOrAtomic(P_SUGID, (UInt32 *)&p->p_flag); [all...] |
H A D | kern_sysctl.c | 424 (cur_proc->p_flag & P_AFFINITY) ? 1 : 0); 427 OSBitAndAtomic(~((uint32_t)P_AFFINITY), (UInt32 *)&cur_proc->p_flag); 429 OSBitOrAtomic(P_AFFINITY, (UInt32 *)&cur_proc->p_flag); 467 istranslated = (p->p_flag & P_TRANSLATED); 1074 if ((p->p_flag & P_CONTROLT) == 0 || 1338 if ((p->p_flag & P_CONTROLT) && (sessp != SESSION_NULL) && 1419 if ((p->p_flag & P_CONTROLT) && (sessp != SESSION_NULL) && 1448 exp->p_flag = p->p_flag; 1450 exp->p_flag | [all...] |
H A D | kern_fork.c | 502 child_thread = fork_create_child(parent->task, child, TRUE, (parent->p_flag & P_LP64)); 506 if (parent->p_flag & P_LP64) { 508 OSBitOrAtomic(P_LP64, (UInt32 *)&child->p_flag); 520 OSBitAndAtomic(~((uint32_t)P_LP64), (UInt32 *)&child->p_flag); 962 child->p_flag = (parent->p_flag & (P_LP64 | P_TRANSLATED | P_AFFINITY)); 963 if (parent->p_flag & P_PROFIL) 1022 if (sessp->s_ttyvp != NULL && parent->p_flag & P_CONTROLT) 1023 OSBitOrAtomic(P_CONTROLT, (UInt32 *)&child->p_flag);
|
H A D | kern_sig.c | 356 if ((signum == SIGCHLD) && (p->p_flag & P_NOCLDSTOP)) 358 if ((signum == SIGCHLD) && (p->p_flag & P_NOCLDWAIT)) 556 OSBitOrAtomic(P_NOCLDSTOP, (UInt32 *)&p->p_flag); 558 OSBitAndAtomic(~((uint32_t)P_NOCLDSTOP), (UInt32 *)&p->p_flag); 560 OSBitOrAtomic(P_NOCLDWAIT, (UInt32 *)&p->p_flag); 562 OSBitAndAtomic(~((uint32_t)P_NOCLDWAIT), (UInt32 *)&p->p_flag); 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 || 1390 if ((checkctty == 0) || p->p_flag [all...] |
H A D | bsd_stubs.c | 327 OSBitOrAtomic(P_TBE, (UInt32 *)&p->p_flag);
|
H A D | kern_shutdown.c | 204 if (((p->p_flag&P_SYSTEM) != 0) || (p->p_ppid == 0) 242 if (((p->p_flag&P_SYSTEM) != 0) || (p->p_ppid == 0)
|
H A D | mach_process.c | 143 OSBitOrAtomic(P_FORCEQUOTA, (UInt32 *)&t->p_flag); 423 ISSET(traced_procp->p_flag, P_SUGID)) &&
|
H A D | subr_prf.c | 177 if (p->p_flag & P_CONTROLT && sessp->s_ttyvp) { 193 if (p->p_flag & P_CONTROLT && sessp->s_ttyvp) {
|
H A D | kern_exit.c | 704 if (pp->p_flag & P_NOCLDWAIT) { 876 if (!(parent->p_flag & P_NOCLDWAIT)) 1078 (p->p_flag & P_CONTINUED)) { 1086 OSBitAndAtomic(~((uint32_t)P_CONTINUED), (UInt32 *)&p->p_flag); 1346 if ((p->p_flag & P_CONTINUED) == 0) 1381 OSBitAndAtomic(~((uint32_t)P_CONTINUED), (UInt32 *)&p->p_flag); 1479 OSBitOrAtomic(P_SYSTEM, (UInt32 *)&p->p_flag);
|
H A D | kern_exec.c | 654 (p->p_flag & P_AFFINITY)); 842 OSBitOrAtomic(P_LP64, (UInt32 *)&p->p_flag); 845 OSBitAndAtomic(~((uint32_t)P_LP64), (UInt32 *)&p->p_flag); 1095 OSBitOrAtomic(P_TRANSLATED, (UInt32 *)&p->p_flag); 1098 OSBitAndAtomic(~((uint32_t)P_TRANSLATED), (UInt32 *)&p->p_flag); 1099 OSBitAndAtomic(~((uint32_t)P_AFFINITY), (UInt32 *)&p->p_flag); 1119 OSBitOrAtomic(P_EXEC, (UInt32 *)&p->p_flag); 2568 OSBitAndAtomic(~((uint32_t)P_SUGID), (UInt32 *)&p->p_flag); 2671 OSBitOrAtomic(P_SUGID, (UInt32 *)&p->p_flag);
|
H A D | proc_info.c | 203 if ((p->p_flag & P_CONTROLT) == 0 || 363 if ((p->p_flag & P_SYSTEM) == P_SYSTEM) 371 if ((p->p_flag & P_LP64) == P_LP64) 373 if ((p->p_flag & P_CONTROLT) == P_CONTROLT) 375 if ((p->p_flag & P_THCWD) == P_THCWD) 387 if ((p->p_flag & P_CONTROLT) && (sessionp != SESSION_NULL) && (tp = sessionp->s_ttyp)) {
|
H A D | kern_acct.c | 280 if ((p->p_flag & P_CONTROLT) && (sessp != SESSION_NULL) && (sessp->s_ttyp != TTY_NULL)) {
|
H A D | kern_proc.c | 686 retval = p->p_flag & P_NOREMOTEHANG; 707 retval = p->p_flag & P_FORCEQUOTA; 718 retval = p->p_flag & P_TBE; 784 OSBitOrAtomic(P_DEPENDENCY_CAPABLE, (UInt32 *)&p->p_flag); 793 if (p && (p->p_flag & P_LP64)) 1024 OSBitAndAtomic(~((uint32_t)P_CONTROLT), (UInt32 *)&p->p_flag); 1340 return (p->p_flag & P_TRANSLATED) ? 1 : 0;
|
H A D | sys_generic.c | 1128 OSBitOrAtomic(P_SELECT, (UInt32 *)&p->p_flag); 1175 if ((sel_pass == SEL_SECONDPASS) || ((p->p_flag & P_SELECT) == 0)) { 1180 OSBitAndAtomic(~((uint32_t)P_SELECT), (UInt32 *)&p->p_flag); 1209 OSBitAndAtomic(~((uint32_t)P_SELECT), (UInt32 *)&p->p_flag); 1449 OSBitOrAtomic(P_SELECT, (UInt32 *)&p->p_flag); 1518 OSBitAndAtomic(~((uint32_t)P_SELECT), (UInt32 *)&p->p_flag);
|
H A D | subr_prof.c | 519 if ((p->p_flag & P_PROFIL) == 0 || ticks == 0)
|
H A D | bsd_init.c | 460 p->p_flag = P_SYSTEM;
|
H A D | tty.c | 288 OSBitOrAtomic(P_CONTROLT, (UInt32 *)&p->p_flag); 1163 OSBitOrAtomic(P_CONTROLT, (UInt32 *)&p->p_flag); 2600 retval = (sessp == tp->t_session && p->p_flag & P_CONTROLT); 2608 return(sessp == tp->t_session && p->p_flag & P_CONTROLT);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/ |
H A D | proc.h | 112 int p_flag; /* P_* flags. */ member in struct:extern_proc 162 /* These flags are kept in extern_proc.p_flag. */
|
H A D | proc_internal.h | 221 unsigned int p_flag; /* P_* flags. (atomic bit ops) */ member in struct:proc 429 int p_flag; /* P_* flags. */ member in struct:user_extern_proc
|
/macosx-10.5.8/xnu-1228.15.4/bsd/vm/ |
H A D | vm_unix.c | 456 if (target->p_flag & P_SUGID) { 1049 if (p->p_flag & P_NOSHLIB) { 1051 OSBitAndAtomic(~((uint32_t)P_NOSHLIB), (UInt32 *)&p->p_flag);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/ |
H A D | vfs_vnops.c | 401 if ((vp->v_flag & VOPENEVT) && (current_proc()->p_flag & P_CHECKOPENEVT)) {
|
H A D | vfs_subr.c | 3220 out = !((p->p_flag & P_NOREMOTEHANG) == 0); 3233 OSBitAndAtomic(~((uint32_t)P_NOREMOTEHANG), (UInt32 *)&p->p_flag); 3235 OSBitOrAtomic(P_NOREMOTEHANG, (UInt32 *)&p->p_flag); 3319 if ((curproc->p_flag & P_DEPENDENCY_CAPABLE) == 0 || vp->v_mount == NULL || vp->v_mount->mnt_dependent_process == NULL) { 3343 if ((curproc->p_flag & P_DEPENDENCY_CAPABLE) == 0 || vp->v_mount == NULL || vp->v_mount->mnt_dependent_process == NULL) {
|