Searched refs:p_flag (Results 1 - 25 of 47) sorted by relevance

12

/macosx-10.10.1/ksh-23/ksh/src/cmd/ksh93/sh/
H A Djobs.c210 if((pw->p_flag&(P_BG|P_DONE)) != (P_BG|P_DONE))
212 pw->p_flag &= ~P_BG;
217 if(pw->p_flag&P_SIGNALLED)
314 if(pw->p_flag&P_DONE)
353 if(pw->p_cojob && !(pw->p_flag&P_DONE))
447 pw->p_flag = 0;
460 pw->p_flag &= ~(P_NOTIFY|P_SIGNALLED|P_STOPPED);
463 pw->p_flag |= (P_NOTIFY|P_SIGNALLED|P_STOPPED);
490 pw->p_flag &= ~(P_STOPPED|P_SIGNALLED);
493 pw->p_flag |
[all...]
H A Djobs.c.orig210 if((pw->p_flag&(P_BG|P_DONE)) != (P_BG|P_DONE))
212 pw->p_flag &= ~P_BG;
217 if(pw->p_flag&P_SIGNALLED)
314 if(pw->p_flag&P_DONE)
353 if(pw->p_cojob && !(pw->p_flag&P_DONE))
447 pw->p_flag = 0;
460 pw->p_flag &= ~(P_NOTIFY|P_SIGNALLED|P_STOPPED);
463 pw->p_flag |= (P_NOTIFY|P_SIGNALLED|P_STOPPED);
490 pw->p_flag &= ~(P_STOPPED|P_SIGNALLED);
493 pw->p_flag |
[all...]
/macosx-10.10.1/xnu-2782.1.97/bsd/kern/
H A Dkern_clock.c341 if ((p->p_flag & P_PROFIL) == 0)
342 OSBitOrAtomic(P_PROFIL, &p->p_flag);
351 if (p->p_flag & P_PROFIL)
352 OSBitAndAtomic(~((uint32_t)P_PROFIL), &p->p_flag);
366 if ( !(p->p_flag & P_PROFIL))
390 if ( !(p->p_flag & P_PROFIL))
H A Dkern_xxx.c116 OSBitOrAtomic(P_REBOOT, &p->p_flag); /* No more signals for this proc */
H A Dkern_prot.c611 if (targp->p_flag & P_EXEC) {
687 *retval = (p->p_flag & P_SUGID) ? 1 : 0;
801 OSBitOrAtomic(P_SUGID, &p->p_flag);
890 OSBitOrAtomic(P_SUGID, &p->p_flag);
992 OSBitOrAtomic(P_SUGID, &p->p_flag);
1000 OSBitOrAtomic(P_SUGID, &p->p_flag);
1011 OSBitOrAtomic(P_SUGID, &p->p_flag);
1037 OSBitOrAtomic(P_SUGID, &p->p_flag); /* XXX redundant? */
1141 OSBitOrAtomic(P_SUGID, &p->p_flag);
1231 OSBitOrAtomic(P_SUGID, &p->p_flag);
[all...]
H A Dkern_fork.c982 child_thread = fork_create_child(parent_task, parent_coalition, child_proc, inherit_memory, (parent_task == TASK_NULL) ? FALSE : (parent_proc->p_flag & P_LP64));
994 if (parent_proc->p_flag & P_LP64) {
996 OSBitOrAtomic(P_LP64, (UInt32 *)&child_proc->p_flag);
999 OSBitAndAtomic(~((uint32_t)P_LP64), (UInt32 *)&child_proc->p_flag);
1235 child_proc->p_flag = (parent_proc->p_flag & (P_LP64 | P_TRANSLATED | P_AFFINITY | P_DISABLE_ASLR | P_DELAYIDLESLEEP));
1236 if (parent_proc->p_flag & P_PROFIL)
1317 if (sessp->s_ttyvp != NULL && parent_proc->p_flag & P_CONTROLT)
1318 OSBitOrAtomic(P_CONTROLT, &child_proc->p_flag);
H A Dkern_sig.c396 if ((signum == SIGCHLD) && (p->p_flag & P_NOCLDSTOP))
398 if ((signum == SIGCHLD) && (p->p_flag & P_NOCLDWAIT))
617 OSBitOrAtomic(P_NOCLDSTOP, &p->p_flag);
619 OSBitAndAtomic(~((uint32_t)P_NOCLDSTOP), &p->p_flag);
621 OSBitOrAtomic(P_NOCLDWAIT, &p->p_flag);
623 OSBitAndAtomic(~((uint32_t)P_NOCLDWAIT), &p->p_flag);
1437 if (p->p_pid <= 1 || p->p_flag & P_SYSTEM ||
1448 if (p->p_pid <= 1 || p->p_flag & P_SYSTEM ||
1582 if ((checkctty == 0) || p->p_flag & P_CONTROLT)
1765 if (ISSET(sig_proc->p_flag, P_REBOO
[all...]
H A Dtty_tty.c216 OSBitAndAtomic(~((uint32_t)P_CONTROLT), &p->p_flag);
265 vp = (p->p_flag & P_CONTROLT ? sessp->s_ttyvp : NULLVP);
H A Dproc_info.c306 if ((p->p_flag & P_CONTROLT) == 0 ||
577 if ((p->p_flag & P_SYSTEM) == P_SYSTEM)
585 if ((p->p_flag & P_LP64) == P_LP64)
587 if ((p->p_flag & P_CONTROLT) == P_CONTROLT)
589 if ((p->p_flag & P_THCWD) == P_THCWD)
591 if ((p->p_flag & P_SUGID) == P_SUGID)
593 if ((p->p_flag & P_EXEC) == P_EXEC)
603 if ((p->p_flag & P_DELAYIDLESLEEP) == P_DELAYIDLESLEEP)
638 if ((p->p_flag & P_CONTROLT) && (sessionp != SESSION_NULL) && (tp = SESSION_TP(sessionp))) {
664 if ((p->p_flag
[all...]
H A Dkern_sysctl.c612 if ((p->p_flag & P_CONTROLT) == 0 ||
936 if ((p->p_flag & P_CONTROLT) && (sessp != SESSION_NULL) &&
996 if ((p->p_flag & P_CONTROLT) && (sessp != SESSION_NULL) &&
1021 exp->p_flag = p->p_flag;
1023 exp->p_flag |= P_TRACED;
1025 exp->p_flag |= P_PPWAIT;
1027 exp->p_flag |= P_WEXIT;
1071 exp->p_flag = p->p_flag;
[all...]
H A Dmach_process.c149 OSBitOrAtomic(P_FORCEQUOTA, &t->p_flag);
462 ISSET(traced_procp->p_flag, P_SUGID)) &&
H A Dsubr_prf.c168 if (p->p_flag & P_CONTROLT && sessp != SESSION_NULL && sessp->s_ttyvp) {
190 if (p->p_flag & P_CONTROLT && sessp->s_ttyvp) {
H A Dbsd_init.c543 kernproc->p_flag = P_SYSTEM;
549 kernproc->p_flag |= P_DISABLE_ASLR;
977 kernproc->p_flag |= P_LP64;
H A Dkern_shutdown.c284 if (((p->p_flag&P_SYSTEM) != 0) || (p->p_ppid == 0)
331 if (((p->p_flag&P_SYSTEM) != 0) || (p->p_ppid == 0)
H A Dkern_acct.c303 if ((p->p_flag & P_CONTROLT) && (sessp != SESSION_NULL) && ((tp = SESSION_TP(sessp)) != TTY_NULL)) {
H A Dkern_exit.c892 if (pp->p_flag & P_NOCLDWAIT) {
1110 if (!(parent->p_flag & P_NOCLDWAIT))
1365 (p->p_flag & P_CONTINUED)) {
1373 OSBitAndAtomic(~((uint32_t)P_CONTINUED), &p->p_flag);
1603 if ((p->p_flag & P_CONTINUED) == 0)
1624 &p->p_flag);
H A Dsubr_prof.c377 if ((p->p_flag & P_PROFIL) == 0 || ticks == 0)
/macosx-10.10.1/ksh-23/ksh/src/cmd/ksh93/include/
H A Djobs.h89 unsigned short p_flag; /* flags - see below */ member in struct:process
/macosx-10.10.1/dtrace-147/scripts/
H A Dprocfs.d284 ((T->t_procp->p_flag & 0x02000000) ? PR_MSACCT : 0) |
285 ((T->t_procp->p_flag & 0x40000000) ? PR_MSFORK : 0) |
286 ((T->t_procp->p_flag & 0x00080000) ? PR_VFORKP : 0) |
287 (((T->t_procp->p_flag & 0x00000001) ||
/macosx-10.10.1/Heimdal-398.1.2/appl/login/
H A Dlogin.c239 static int p_flag; variable
255 { NULL, 'p', arg_flag, &p_flag, "don't purge environment" },
609 if(p_flag)
/macosx-10.10.1/libutil-38/
H A Dreexec_to_match_kernel.c147 if (kp.kp_proc.p_flag & P_LP64) {
/macosx-10.10.1/xnu-2782.1.97/bsd/sys/
H A Dproc_internal.h254 unsigned int p_flag; /* P_* flags. (atomic bit ops) */ member in struct:proc
539 int p_flag; /* P_* flags. */ member in struct:user32_extern_proc
591 int p_flag; /* P_* flags. */ member in struct:user64_extern_proc
H A Dproc.h105 int p_flag; /* P_* flags. */ member in struct:extern_proc
155 /* These flags are kept in extern_proc.p_flag. */
/macosx-10.10.1/adv_cmds-158/ps/
H A Dprint.c450 flag = p->p_flag;
931 if (p->p_swtime == 0 || (p->p_flag & P_INMEM) == 0)
978 if ((p->p_flag & P_INMEM) == 0)
/macosx-10.10.1/less-25/less/
H A Dcharset.c34 int *p_flag; member in struct:charset
216 if (p->p_flag != NULL)
217 *(p->p_flag) = 1;

Completed in 418 milliseconds

12