| /f-stack/freebsd/contrib/openzfs/lib/libspl/include/sys/ |
| H A D | vtoc.h | 101 ushort_t p_flag; /* permission flags */ member 121 ushort_t p_flag; /* permission flags */ member 158 v.v_part[i].p_flag = extv.v_part[i].p_flag; \ 181 extv.v_part[i].p_flag = v.v_part[i].p_flag; \ 195 uint16_t p_flag; /* permission flags */ member 229 v.v_part[i].p_flag = (ushort_t)v32.v_part[i].p_flag; \ 254 extv.v_part[i].p_flag = (ushort_t)v32.v_part[i].p_flag; \ 279 v32.v_part[i].p_flag = (ushort_t)v.v_part[i].p_flag; \ 308 v32.v_part[i].p_flag = (ushort_t)extv.v_part[i].p_flag; \
|
| H A D | dklabel.h | 105 uint16_t p_flag; /* permission flag */ member 110 uint16_t p_flag; /* permission flags */ member
|
| /f-stack/freebsd/vm/ |
| H A D | vm_swapout.c | 456 if ((p->p_flag & P_INMEM) == 0) in vm_daemon() 603 if (p->p_flag & P_SWAPPINGIN) { in faultin() 604 while (p->p_flag & P_SWAPPINGIN) in faultin() 609 if ((p->p_flag & P_INMEM) == 0) { in faultin() 618 p->p_flag |= P_SWAPPINGIN; in faultin() 647 wakeup(&p->p_flag); in faultin() 892 p->p_flag &= ~(P_SWAPPINGIN | P_SWAPPINGOUT); in swapclear() 893 p->p_flag |= P_INMEM; in swapclear() 919 p->p_flag &= ~P_INMEM; in swapout() 920 p->p_flag |= P_SWAPPINGOUT; in swapout() [all …]
|
| H A D | vm_swapout_dummy.c | 114 if ((p->p_flag & P_INMEM) == 0) in faultin()
|
| /f-stack/freebsd/ddb/ |
| H A D | db_ps.c | 218 if (!(p->p_flag & P_INMEM)) in db_ps_proc() 220 if (p->p_flag & P_TRACED) in db_ps_proc() 224 if (p->p_flag & P_PPWAIT) in db_ps_proc() 226 if (p->p_flag & P_SYSTEM || p->p_lock > 0) in db_ps_proc() 232 if (p->p_flag & P_CONTROLT) in db_ps_proc() 237 if (p->p_flag & P_HADTHREADS) { in db_ps_proc() 243 if (p->p_flag & P_SYSTEM) in db_ps_proc() 246 if (p->p_flag & P_SYSTEM) in db_ps_proc() 331 if (p->p_flag & P_SYSTEM) in dumpthread() 337 if (p->p_flag & P_SYSTEM) in dumpthread() [all …]
|
| H A D | db_thread.c | 93 if (thr->td_proc->p_flag & P_INMEM) { in db_show_threads()
|
| /f-stack/freebsd/kern/ |
| H A D | kern_exit.c | 242 while (p->p_flag & P_HADTHREADS) { in exit1() 287 p->p_flag &= ~P_STOPPED_SIG; in exit1() 291 p->p_flag |= P_WEXIT; in exit1() 475 if ((q->p_flag & P_TRACED) == 0) { in exit1() 998 (p->p_flag & P_TRACED) != 0)) { in proc_to_reap() 1191 p->p_flag &= ~P_CONTINUED; in report_alive_proc() 1193 p->p_flag |= P_WAITED; in report_alive_proc() 1246 if (q->p_flag & P_STATCHILD) { in kern_wait6() 1248 q->p_flag &= ~P_STATCHILD; in kern_wait6() 1344 if (q->p_flag & P_STATCHILD) { in kern_wait6() [all …]
|
| H A D | kern_thread.c | 95 _Static_assert(offsetof(struct proc, p_flag) == 0xb8, 886 if (p->p_flag & P_HADTHREADS) { in thread_exit() 1174 p->p_flag |= P_SINGLE_EXIT; in thread_single() 1175 p->p_flag &= ~P_SINGLE_BOUNDARY; in thread_single() 1177 p->p_flag &= ~P_SINGLE_EXIT; in thread_single() 1179 p->p_flag |= P_SINGLE_BOUNDARY; in thread_single() 1181 p->p_flag &= ~P_SINGLE_BOUNDARY; in thread_single() 1184 p->p_flag |= P_TOTAL_STOP; in thread_single() 1185 p->p_flag |= P_STOPPED_SINGLE; in thread_single() 1446 if (p->p_flag & P_SINGLE_EXIT) in thread_check_susp() [all …]
|
| H A D | kern_fork.c | 316 if (((p1->p_flag & (P_HADTHREADS|P_SYSTEM)) == P_HADTHREADS) && in fork_norfproc() 486 p2->p_flag = P_INMEM; in do_fork() 492 if (p1->p_flag & P_PROFIL) in do_fork() 520 p2->p_flag |= P_PROTECTED; in do_fork() 550 if ((p1->p_leader->p_flag & P_WEXIT) != 0) { in do_fork() 584 p2->p_flag |= p1->p_flag & P_SUGID; in do_fork() 589 p2->p_flag |= P_CONTROLT; in do_fork() 592 p2->p_flag |= P_PPWAIT; in do_fork() 799 while (p2->p_flag & P_PPWAIT) { in fork_rfppwait() 1075 if (p->p_flag & P_KPROC) { in fork_exit() [all …]
|
| H A D | sys_process.c | 598 p->p_flag |= P_TRACED; in proc_set_traced() 669 if ((p->p_flag & P_WEXIT) != 0) { in kern_ptrace() 682 if ((p->p_flag & P_SYSTEM) != 0) { in kern_ptrace() 717 if ((p->p_flag & P_TRACED) != 0) { in kern_ptrace() 735 if (p->p_flag & P_TRACED) { in kern_ptrace() 741 if (curp->p_flag & P_TRACED) { in kern_ptrace() 761 if ((p->p_flag & P_TRACED) == 0) { in kern_ptrace() 775 (p->p_flag & P_WAITED) == 0) { in kern_ptrace() 804 if (p->p_flag & P_PPWAIT) in kern_ptrace() 805 p->p_flag |= P_PPTRACE; in kern_ptrace() [all …]
|
| H A D | subr_trap.c | 103 KASSERT((p->p_flag & P_WEXIT) == 0, in userret() 118 if ((p->p_flag & P_PPWAIT) == 0 && in userret() 137 if (__predict_false(p->p_flag & P_PROFIL)) in userret() 237 if (td->td_pflags & TDP_OWEUPC && p->p_flag & P_PROFIL) { in ast() 296 if ((p->p_flag & P_PPWAIT) == 0 && in ast()
|
| H A D | kern_clock.c | 596 if (p->p_flag & P_STOPPROF) in startprofclock() 598 if ((p->p_flag & P_PROFIL) == 0) { in startprofclock() 599 p->p_flag |= P_PROFIL; in startprofclock() 615 if (p->p_flag & P_PROFIL) { in stopprofclock() 618 p->p_flag |= P_STOPPROF; in stopprofclock() 623 if ((p->p_flag & P_PROFIL) == 0) in stopprofclock() 625 p->p_flag &= ~P_PROFIL; in stopprofclock() 740 if (td->td_proc->p_flag & P_PROFIL) in profclock()
|
| H A D | kern_sig.c | 2245 p->p_flag &= ~P_CONTINUED; in tdsendsignal() 2282 if (p->p_flag & P_TRACED) in tdsendsignal() 2289 p->p_flag &= ~P_STOPPED_SIG; in tdsendsignal() 2298 if (p->p_flag & P_TRACED) in tdsendsignal() 2314 p->p_flag |= P_CONTINUED; in tdsendsignal() 2348 if (p->p_flag & P_TRACED) in tdsendsignal() 2355 p->p_flag |= P_STOPPED_SIG; in tdsendsignal() 2391 p->p_flag |= P_STOPPED_SIG; in tdsendsignal() 2715 if (p->p_flag & P_TRACED || in reschedule_signals() 3066 p->p_flag &= ~P_WAITED; in thread_stopped() [all …]
|
| H A D | kern_kthread.c | 111 p2->p_flag |= P_SYSTEM | P_KPROC; in kproc_create() 196 if ((p->p_flag & P_KPROC) == 0) { in kproc_suspend() 213 if ((p->p_flag & P_KPROC) == 0) { in kproc_resume() 307 p->p_flag |= P_HADTHREADS; in kthread_add()
|
| H A D | kern_procctl.c | 57 if (p->p_flag & P_SYSTEM || p_cansched(td, p) != 0) in protect_setchild() 60 p->p_flag |= P_PROTECTED; in protect_setchild() 64 p->p_flag &= ~P_PROTECTED; in protect_setchild() 349 if ((p->p_flag & P_TRACED) != 0 || p->p_traceflag != 0) in trace_ctl() 383 KASSERT((p->p_flag & P_TRACED) == 0, in trace_status() 386 } else if ((p->p_flag & P_TRACED) != 0) { in trace_status() 508 if ((p->p_flag & P_WEXIT) == 0) { in aslr_status()
|
| H A D | kern_exec.c | 303 if ((p->p_flag & P_HADTHREADS) != 0) { in pre_execve() 322 if ((p->p_flag & P_HADTHREADS) != 0) { in post_execve() 401 KASSERT((p->p_flag & P_INEXEC) == 0, in do_execve() 403 p->p_flag |= P_INEXEC; in do_execve() 529 (p->p_flag & P_TRACED) == 0) { in do_execve() 759 p->p_flag |= P_EXEC; in do_execve() 764 if (p->p_flag & P_PPWAIT) { in do_execve() 765 p->p_flag &= ~(P_PPWAIT | P_PPTRACE); in do_execve() 811 p->p_flag &= ~P_SUGID; in do_execve() 843 p->p_flag &= ~P_INEXEC; in do_execve() [all …]
|
| H A D | tty_tty.c | 75 if (!(p->p_flag & P_CONTROLT)) in ctty_clone()
|
| H A D | subr_syscall.c | 73 traced = (p->p_flag & P_TRACED) != 0; in syscallenter() 249 if (__predict_false(p->p_flag & P_TRACED)) { in syscallret()
|
| H A D | subr_prof.c | 501 if (!(p->p_flag & P_PROFIL)) { in addupc_task() 529 if (p->p_flag & P_STOPPROF) { in addupc_task() 531 p->p_flag &= ~P_STOPPROF; in addupc_task()
|
| H A D | kern_proc.c | 590 p->p_flag &= ~P_CONTROLT; in enterpgrp() 881 MPASS(p->p_flag & P_WEXIT); in killjobc() 1067 kp->ki_flag = p->p_flag; in fill_kinfo_proc_only() 1157 if (p->p_flag & P_TRACED) in fill_kinfo_proc_only() 1197 if ((p->p_flag & P_CONTROLT) && tp != NULL) { in fill_kinfo_proc_pgrp() 1653 if ((p->p_flag & P_CONTROLT) == 0 || in sysctl_kern_proc_iterate() 2178 if ((p->p_flag & P_SYSTEM) != 0) { in sysctl_kern_proc_env() 2211 if ((p->p_flag & P_SYSTEM) != 0) { in sysctl_kern_proc_auxv() 3263 if ((p->p_flag & P_WEXIT) != 0) { in stop_all_proc() 3318 if ((p->p_flag & P_TOTAL_STOP) != 0) { in resume_all_proc() [all …]
|
| H A D | kern_prot.c | 417 if (targp->p_flag & P_EXEC) { in sys_setpgid() 1238 td->td_retval[0] = (p->p_flag & P_SUGID) ? 1 : 0; in sys_issetugid() 1252 p->p_flag &= ~P_SUGID; in sys___setugid() 1257 p->p_flag |= P_SUGID; in sys___setugid() 1519 if (conservative_signals && (proc->p_flag & P_SUGID)) { in cr_cansignal() 1727 credentialchanged = (p->p_flag & P_SUGID); in p_candebug() 1760 if ((p->p_flag & P_INEXEC) != 0) in p_candebug() 2398 p->p_flag |= P_SUGID; in setsugid()
|
| /f-stack/freebsd/i386/linux/ |
| H A D | linux_ptrace.c | 220 if (cpu_fxsr == 0 || (td->td_proc->p_flag & P_INMEM) == 0) in linux_proc_read_fpxregs() 231 if (cpu_fxsr == 0 || (td->td_proc->p_flag & P_INMEM) == 0) in linux_proc_write_fpxregs() 351 if ((p->p_flag & P_WEXIT) != 0) { in linux_ptrace() 360 if ((p->p_flag & P_SYSTEM) != 0) { in linux_ptrace() 366 if ((p->p_flag & P_TRACED) == 0) { in linux_ptrace() 378 if (!P_SHOULDSTOP(p) || (p->p_flag & P_WAITED) == 0) { in linux_ptrace()
|
| /f-stack/freebsd/sys/ |
| H A D | proc.h | 609 int p_flag; /* (c) P_* flags. */ member 789 #define P_SHOULDSTOP(p) ((p)->p_flag & P_STOPPED) 790 #define P_KILLED(p) ((p)->p_flag & P_WKILLED) 940 KASSERT(!((p)->p_flag & P_WEXIT) || (p) == curproc, \ 943 if (((p)->p_flag & P_INMEM) == 0) \ 948 KASSERT(!((p)->p_flag & P_WEXIT) || (p) == curproc, \ 965 if (((p)->p_flag & P_WEXIT) && (p)->p_lock == 0) \
|
| /f-stack/freebsd/contrib/openzfs/include/sys/ |
| H A D | efi_partition.h | 306 ushort_t p_flag; /* attributes */ member
|
| /f-stack/freebsd/arm/arm/ |
| H A D | genassym.c | 101 ASSYM(P_FLAG, offsetof(struct proc, p_flag));
|