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

123

/freebsd-current/sys/vm/
H A Dvm_swapout.c418 p->p_flag & (P_INEXEC | P_SYSTEM | P_WEXIT)) {
455 if ((p->p_flag & P_INMEM) == 0)
607 if (p->p_flag & P_SWAPPINGIN) {
608 while (p->p_flag & P_SWAPPINGIN)
609 msleep(&p->p_flag, &p->p_mtx, PVM, "faultin", 0);
613 if ((p->p_flag & P_INMEM) == 0) {
614 oom_alloc = (p->p_flag & P_WKILLED) != 0 ? VM_ALLOC_SYSTEM :
622 p->p_flag |= P_SWAPPINGIN;
651 wakeup(&p->p_flag);
676 if (p->p_state == PRS_NEW || (p->p_flag
[all...]
H A Dvm_swapout_dummy.c109 if ((p->p_flag & P_INMEM) == 0)
/freebsd-current/sys/ddb/
H A Ddb_ps.c218 if (!(p->p_flag & P_INMEM))
220 if (p->p_flag & P_TRACED)
222 if (p->p_flag & P_WEXIT && p->p_state != PRS_ZOMBIE)
224 if (p->p_flag & P_PPWAIT)
226 if (p->p_flag & P_SYSTEM || p->p_lock > 0)
232 if (p->p_flag & P_CONTROLT)
237 if (p->p_flag & P_HADTHREADS) {
243 if (p->p_flag & P_SYSTEM)
246 if (p->p_flag & P_SYSTEM)
255 dumpthread(p, td, p->p_flag
[all...]
H A Ddb_thread.c90 if (thr->td_proc->p_flag & P_INMEM) {
/freebsd-current/sys/kern/
H A Dkern_thread.c93 _Static_assert(offsetof(struct proc, p_flag) == 0xb8,
94 "struct proc KBI p_flag");
113 _Static_assert(offsetof(struct proc, p_flag) == 0x6c,
114 "struct proc KBI p_flag");
969 if (p->p_flag & P_HADTHREADS) {
1250 while ((p->p_flag & P_STOPPED_SINGLE) != 0) {
1253 msleep(&p->p_flag, &p->p_mtx, PCATCH, "thrsgl", 0);
1255 if ((p->p_flag & (P_STOPPED_SIG | P_TRACED)) != 0 ||
1258 } else if ((p->p_flag & P_HADTHREADS) == 0)
1264 p->p_flag |
[all...]
H A Dsubr_prof.c149 if (!(p->p_flag & P_PROFIL)) {
177 if (p->p_flag & P_STOPPROF) {
179 p->p_flag &= ~P_STOPPROF;
H A Dkern_exit.c269 while (p->p_flag & P_HADTHREADS) {
313 p->p_flag &= ~P_STOPPED_SIG;
317 p->p_flag |= P_WEXIT;
477 if ((p->p_flag & (P_TRACED | P_PPWAIT | P_PPTRACE)) != 0) {
479 p->p_flag &= ~(P_TRACED | P_PPWAIT | P_PPTRACE);
503 if ((q->p_flag & P_TRACED) == 0) {
554 q->p_flag &= ~P_TRACED;
564 q->p_flag &= ~P_STOPPED_TRACE;
566 } else if ((q->p_flag & (P_STOPPED_TRACE |
1063 (p->p_flag
[all...]
H A Dtty_tty.c70 if (!(p->p_flag & P_CONTROLT))
H A Dkern_fork.c318 if ((p1->p_flag & (P_HADTHREADS | P_SYSTEM)) == P_HADTHREADS &&
356 if ((p1->p_flag & (P_HADTHREADS | P_SYSTEM)) == P_HADTHREADS &&
494 p2->p_flag = P_INMEM;
501 if (p1->p_flag & P_PROFIL)
527 p2->p_flag |= P_SYSTEM | P_KPROC;
538 p2->p_flag |= P_PROTECTED;
575 if ((p1->p_leader->p_flag & P_WEXIT) != 0) {
609 p2->p_flag |= p1->p_flag & P_SUGID;
612 if (p1->p_session->s_ttyvp != NULL && p1->p_flag
[all...]
H A Dkern_clock.c383 if ((td->td_proc->p_flag & P_PROFIL) == 0)
639 if (p->p_flag & P_STOPPROF)
641 if ((p->p_flag & P_PROFIL) == 0) {
642 p->p_flag |= P_PROFIL;
658 if (p->p_flag & P_PROFIL) {
661 p->p_flag |= P_STOPPROF;
666 if ((p->p_flag & P_PROFIL) == 0)
668 p->p_flag &= ~P_PROFIL;
779 if (td->td_proc->p_flag & P_PROFIL)
H A Dkern_procctl.c59 if (p->p_flag & P_SYSTEM || p_cansched(td, p) != 0)
62 p->p_flag |= P_PROTECTED;
66 p->p_flag &= ~P_PROTECTED;
237 if ((p2->p_flag & P_STOPPED) != 0)
241 else if ((p2->p_flag & P_WEXIT) != 0)
293 if ((w->target->p_flag & (P_KPROC | P_SYSTEM | P_STOPPED)) == 0)
436 if ((p2->p_flag & P_HADTHREADS) != 0 &&
606 if ((p->p_flag & P_TRACED) != 0 || p->p_traceflag != 0)
642 KASSERT((p->p_flag & P_TRACED) == 0,
645 } else if ((p->p_flag
[all...]
H A Dkern_sig.c301 if ((p->p_flag & P_PPWAIT) == 0 &&
1803 if (p->p_pid <= 1 || (p->p_flag & P_SYSTEM) != 0 ||
1817 if (p->p_pid <= 1 || (p->p_flag & P_SYSTEM) != 0 ||
2074 (checkctty == 0 || p->p_flag & P_CONTROLT))
2127 if ((p->p_flag & P_TRACED) == 0 && SIGISMEMBER(ps->ps_sigcatch, sig) &&
2366 if (p->p_flag & P_CONTINUED) {
2367 p->p_flag &= ~P_CONTINUED;
2383 !((prop & SIGPROP_CONT) && (p->p_flag & P_STOPPED_SIG)))
2397 KASSERT(!(p->p_flag & P_WEXIT),
2404 if (p->p_flag
[all...]
H A Dsys_process.c103 if ((td->td_proc->p_flag & P_INMEM) == 0) \
779 p->p_flag |= P_TRACED;
791 p->p_flag &= ~(P_STOPPED_TRACE | P_STOPPED_SIG | P_WAITED);
805 if ((p->p_flag & P_WEXIT) != 0)
814 if ((p->p_flag & P_TRACED) == 0)
822 if ((p->p_flag & P_STOPPED_TRACE) == 0 ||
824 (p->p_flag & P_WAITED) == 0)
836 MPASS((p->p_flag & P_STOPPED_TRACE) != 0);
917 if ((p->p_flag & P_WEXIT) != 0) {
930 if ((p->p_flag
[all...]
H A Dsubr_trap.c92 KASSERT((p->p_flag & P_WEXIT) == 0,
107 if ((p->p_flag & P_PPWAIT) == 0 &&
125 if (__predict_false(p->p_flag & P_PROFIL))
H A Dsubr_syscall.c68 traced = (p->p_flag & P_TRACED) != 0;
248 if (__predict_false(p->p_flag & P_TRACED)) {
H A Dkern_kthread.c196 if ((p->p_flag & P_KPROC) == 0) {
214 if ((p->p_flag & P_KPROC) == 0) {
318 p->p_flag |= P_HADTHREADS;
H A Dkern_exec.c306 if ((p->p_flag & P_HADTHREADS) != 0) {
325 if ((p->p_flag & P_HADTHREADS) != 0) {
429 KASSERT((p->p_flag & P_INEXEC) == 0,
431 p->p_flag |= P_INEXEC;
602 (p->p_flag & P_TRACED) == 0) {
805 p->p_flag |= P_EXEC;
812 if (p->p_flag & P_PPWAIT) {
813 p->p_flag &= ~(P_PPWAIT | P_PPTRACE);
861 p->p_flag &= ~P_SUGID;
899 p->p_flag
[all...]
/freebsd-current/sys/fs/procfs/
H A Dprocfs_status.c95 if ((p->p_flag & P_CONTROLT) && (tp = sess->s_ttyp))
124 if (p->p_flag & P_INMEM) {
189 if ((p->p_flag & P_SYSTEM) != 0) {
H A Dprocfs.c98 if ((p->p_flag & P_SUGID) && pn->pn_type != pfstype_procdir)
134 return ((p->p_flag & P_SYSTEM) == 0);
145 return ((p->p_flag & P_SYSTEM) == 0 && p_candebug(td, p) == 0);
/freebsd-current/sys/i386/linux/
H A Dlinux_ptrace_machdep.c216 if (cpu_fxsr == 0 || (td->td_proc->p_flag & P_INMEM) == 0)
227 if (cpu_fxsr == 0 || (td->td_proc->p_flag & P_INMEM) == 0)
347 if ((p->p_flag & P_WEXIT) != 0) {
356 if ((p->p_flag & P_SYSTEM) != 0) {
362 if ((p->p_flag & P_TRACED) == 0) {
374 if (!P_SHOULDSTOP(p) || (p->p_flag & P_WAITED) == 0) {
/freebsd-current/sys/contrib/openzfs/lib/libspl/include/sys/
H A Ddklabel.h104 uint16_t p_flag; /* permission flag */ member in struct:dk_map2
109 uint16_t p_flag; /* permission flags */ member in struct:dkl_partition
/freebsd-current/usr.bin/logins/
H A Dlogins.c69 static int p_flag; variable
263 if (p_flag)
374 p_flag = 1;
/freebsd-current/contrib/llvm-project/lldb/source/Host/netbsd/
H A DHostNetBSD.cpp218 proc_kinfo[i].p_flag & P_TRACED || // Being debugged?
219 proc_kinfo[i].p_flag & P_WEXIT) // Working on exiting
/freebsd-current/crypto/heimdal/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)
/freebsd-current/contrib/less/
H A Dcharset.c41 int *p_flag; member in struct:charset
324 if (p->p_flag != NULL)
327 *(p->p_flag) = 1 + (GetConsoleOutputCP() != CP_UTF8);
329 *(p->p_flag) = 1;

Completed in 310 milliseconds

123