| /freebsd-14.2/lib/libnetmap/ |
| H A D | nmreq.c | 257 p_state = P_START; in nmreq_register_decode() 264 switch (p_state) { in nmreq_register_decode() 269 p_state = P_ONESW; in nmreq_register_decode() 277 p_state = P_GETNUM; in nmreq_register_decode() 280 p_state = P_FLAGS; in nmreq_register_decode() 283 p_state = P_MEMID; in nmreq_register_decode() 294 p_state = P_FLAGS; in nmreq_register_decode() 297 p_state = P_MEMID; in nmreq_register_decode() 323 p_state = P_MEMID; in nmreq_register_decode() 382 if (p_state != P_START && p_state != P_RNGSFXOK && in nmreq_register_decode() [all …]
|
| /freebsd-14.2/sys/net/ |
| H A D | netmap_user.h | 681 p_state = P_START; in nm_parse() 684 switch (p_state) { in nm_parse() 697 p_state = P_GETNUM; in nm_parse() 701 p_state = P_GETNUM; in nm_parse() 705 p_state = P_GETNUM; in nm_parse() 708 p_state = P_FLAGS; in nm_parse() 711 p_state = P_MEMID; in nm_parse() 722 p_state = P_FLAGS; in nm_parse() 725 p_state = P_MEMID; in nm_parse() 748 p_state = P_MEMID; in nm_parse() [all …]
|
| /freebsd-14.2/sys/kern/ |
| H A D | tty_info.c | 206 switch (TESTAB(p1->p_state == PRS_ZOMBIE, p2->p_state == PRS_ZOMBIE)) { in proc_compare() 363 else if (p->p_state == PRS_ZOMBIE) in tty_info() 380 if (p->p_state == PRS_NEW || p->p_state == PRS_ZOMBIE) in tty_info()
|
| H A D | kern_exit.c | 507 if (q->p_state == PRS_ZOMBIE) { in exit1() 714 p->p_state = PRS_ZOMBIE; in exit1() 922 KASSERT(p->p_state == PRS_ZOMBIE, ("proc_reap: !PRS_ZOMBIE")); in proc_reap() 1122 if (((options & WEXITED) == 0) && (p->p_state == PRS_ZOMBIE)) { in proc_to_reap() 1196 if (p->p_state == PRS_ZOMBIE && !check_only) { in proc_to_reap()
|
| H A D | sys_procdesc.c | 376 if (p->p_state == PRS_ZOMBIE) { in procdesc_close() 536 if (pd->pd_proc->p_state != PRS_ZOMBIE) in procdesc_stat()
|
| H A D | kern_fork.c | 392 p2->p_state = PRS_NEW; /* protect against others */ in do_fork() 715 p2->p_state = PRS_NORMAL; in do_fork() 1140 KASSERT(p->p_state == PRS_NORMAL, ("executing process is still new")); in fork_exit()
|
| H A D | kern_racct.c | 1261 if (p->p_state != PRS_NORMAL) { in racctd() 1262 if (p->p_state == PRS_ZOMBIE) in racctd() 1314 if (p->p_state != PRS_NORMAL) { in racctd()
|
| H A D | kern_resource.c | 136 if (p->p_state == PRS_NORMAL && in kern_getpriority() 152 if (p->p_state == PRS_NORMAL && in kern_getpriority() 228 if (p->p_state == PRS_NORMAL && in kern_setpriority() 244 if (p->p_state == PRS_NORMAL && in kern_setpriority()
|
| H A D | init_main.c | 517 p->p_state = PRS_NORMAL; in proc0_init() 665 if (p->p_state == PRS_NEW) { in proc0_post()
|
| H A D | kern_proc.c | 428 if (p->p_state == PRS_NEW) { in pfind_any_locked() 458 if (p->p_state == PRS_NEW || in _pfind() 459 (!zombie && p->p_state == PRS_ZOMBIE)) { in _pfind() 1141 if (p->p_state != PRS_NEW && in fill_kinfo_proc_only() 1142 p->p_state != PRS_ZOMBIE && in fill_kinfo_proc_only() 1156 } else if (p->p_state == PRS_ZOMBIE) in fill_kinfo_proc_only() 1285 if (p->p_state == PRS_NORMAL) { /* approximate. */ in fill_kinfo_thread() 1299 } else if (p->p_state == PRS_ZOMBIE) { in fill_kinfo_thread() 1618 if (p->p_state == PRS_NEW) in proc_iterate()
|
| H A D | kern_procctl.c | 239 if (p2->p_state == PRS_ZOMBIE) in reap_getpids() 1231 if (p->p_state == PRS_NEW || in kern_procctl() 1232 p->p_state == PRS_ZOMBIE || in kern_procctl()
|
| H A D | kern_rctl.c | 543 if (p->p_state != PRS_NORMAL) in rctl_enforce() 570 if (p->p_state != PRS_NORMAL) in rctl_enforce() 596 if (p->p_state != PRS_NORMAL) in rctl_enforce() 668 if (p->p_state != PRS_NORMAL) in rctl_enforce()
|
| H A D | kern_kthread.c | 284 if (p->p_state == PRS_ZOMBIE || (p->p_flag2 & P2_WEXIT) != 0) { in kthread_add1()
|
| H A D | kern_synch.c | 575 KASSERT(td->td_proc->p_state != PRS_ZOMBIE, in setrunnable()
|
| H A D | kern_sig.c | 1806 (notself && p == arg->td->td_proc) || p->p_state == PRS_NEW) in killpg1_sendsig() 1820 (p == ctx->td->td_proc) || p->p_state == PRS_NEW) in kill_processes_prison_cb() 2075 if (p->p_state == PRS_NORMAL && in pgsignal() 2299 if (p->p_state == PRS_ZOMBIE) { in tdsendsignal() 2504 } else if (p->p_state == PRS_NORMAL) { in tdsendsignal() 4295 if (p->p_state == PRS_NORMAL && in pgsigio()
|
| H A D | kern_clock.c | 268 if (p->p_state == PRS_NEW) { in deadlkres()
|
| H A D | kern_prot.c | 2253 MPASS(p->p_state == PRS_ZOMBIE || p->p_state == PRS_NEW); in proc_unset_cred()
|
| /freebsd-14.2/sys/vm/ |
| H A D | vm_swapout.c | 419 if (p->p_state != PRS_NORMAL || in vm_daemon() 478 if (p->p_state == PRS_NORMAL) in vm_daemon() 505 if (p->p_state == PRS_NORMAL) in vm_daemon() 673 if (p->p_state == PRS_NEW || (p->p_flag & (P_SWAPPINGOUT | in swapper_selector() 678 if (p->p_state == PRS_NORMAL && (p->p_flag & P_WKILLED) != 0) { in swapper_selector() 764 if (p->p_state == PRS_NORMAL && (p->p_flag & (P_INMEM | in swapper() 801 if (p->p_state != PRS_NORMAL || p->p_lock != 0 || (p->p_flag & in swapout_procs()
|
| H A D | vm_meter.c | 190 if (p->p_state != PRS_NEW) { in vmtotal()
|
| /freebsd-14.2/sys/ddb/ |
| H A D | db_ps.c | 159 switch (p->p_state) { in db_ps_proc() 222 if (p->p_flag & P_WEXIT && p->p_state != PRS_ZOMBIE) in db_ps_proc() 458 switch (p->p_state) { in DB_SHOW_COMMAND() 469 db_printf("??? (%#x)\n", p->p_state); in DB_SHOW_COMMAND()
|
| /freebsd-14.2/lib/libkvm/ |
| H A D | kvm_proc.c | 144 if (proc.p_state == PRS_NEW) in kvm_proclist() 374 if (proc.p_state != PRS_ZOMBIE) { in kvm_proclist() 384 if ((proc.p_state != PRS_ZOMBIE) && mtd.td_wmesg) in kvm_proclist() 396 if ((proc.p_state != PRS_ZOMBIE) && in kvm_proclist() 410 if (proc.p_state != PRS_ZOMBIE) { in kvm_proclist() 418 if (proc.p_state == PRS_NORMAL) { in kvm_proclist()
|
| /freebsd-14.2/tools/debugscripts/ |
| H A D | gdbinit.kernel | 208 if ($proc.p_state) 212 $proc.p_pgrp->pg_id, $proc.p_flag, $proc.p_state, \ 250 if ($proc.p_state) 256 $proc.p_pgrp->pg_id, $proc.p_flag, $proc.p_state, \
|
| /freebsd-14.2/sys/dev/wg/ |
| H A D | if_wg.c | 163 } p_state; member 1515 atomic_store_rel_int(&pkt->p_state, state); in wg_encrypt() 1587 atomic_store_rel_int(&pkt->p_state, state); in wg_decrypt() 1643 if (atomic_load_acq_int(&pkt->p_state) != WG_PACKET_CRYPTED) in wg_deliver_out() 1711 if (atomic_load_acq_int(&pkt->p_state) != WG_PACKET_CRYPTED) in wg_deliver_in() 1892 pkt->p_state = WG_PACKET_UNCRYPTED; in wg_queue_both() 1911 pkt->p_state = WG_PACKET_DEAD; in wg_queue_both() 1924 if (serial->q_len > 0 && STAILQ_FIRST(&serial->q_queue)->p_state != WG_PACKET_UNCRYPTED) { in wg_queue_dequeue_serial()
|
| /freebsd-14.2/sys/compat/linux/ |
| H A D | linux_misc.c | 2806 if (p->p_state == PRS_NORMAL && in linux_ioprio_get() 2823 if (p->p_state == PRS_NORMAL && in linux_ioprio_get() 2910 if (p->p_state == PRS_NORMAL && in linux_ioprio_set() 2929 if (p->p_state == PRS_NORMAL && in linux_ioprio_set()
|
| /freebsd-14.2/sys/fs/tmpfs/ |
| H A D | tmpfs_vfsops.c | 206 if (p->p_state != PRS_NORMAL || (p->p_flag & (P_INEXEC | in tmpfs_all_rw_maps()
|