| /freebsd/lib/libnetmap/ |
| H A D | nmreq.c | 245 enum { P_START, P_RNGSFXOK, P_GETNUM, P_FLAGS, P_FLAGSOK, P_MEMID, P_ONESW } p_state; in nmreq_register_decode() local 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() 273 p_state = P_RNGSFXOK; 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() [all …]
|
| /freebsd/sys/net/ |
| H A D | netmap_user.h | 640 enum { P_START, P_RNGSFXOK, P_GETNUM, P_FLAGS, P_FLAGSOK, P_MEMID } p_state; in nm_parse() local 681 p_state = P_START; in nm_parse() 684 switch (p_state) { in nm_parse() 689 p_state = P_RNGSFXOK; in nm_parse() 693 p_state = P_RNGSFXOK; 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() [all …]
|
| /freebsd/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() 376 if (p->p_state == PRS_NEW || p->p_state == PRS_ZOMBIE) in tty_info()
|
| H A D | kern_exit.c | 552 if (q->p_state == PRS_ZOMBIE) { in exit1() 759 p->p_state = PRS_ZOMBIE; in exit1() 995 KASSERT(p->p_state == PRS_ZOMBIE, ("proc_reap: !PRS_ZOMBIE")); in proc_reap() 1256 ((options & WEXITED) == 0 && p->p_state == PRS_ZOMBIE) || in proc_to_reap() 1291 if (p->p_state == PRS_ZOMBIE) { in proc_to_reap() 1601 MPASS(p->p_state != PRS_ZOMBIE); in kern_pdwait()
|
| H A D | kern_fork.c | 454 p2->p_state = PRS_NEW; /* protect against others */ in do_fork() 793 p2->p_state = PRS_NORMAL; in do_fork() 1216 KASSERT(p->p_state == PRS_NORMAL, ("executing process is still new")); in fork_exit()
|
| H A D | kern_resource.c | 142 if (p->p_state == PRS_NORMAL && in kern_getpriority() 158 if (p->p_state == PRS_NORMAL && in kern_getpriority() 242 if (p->p_state == PRS_NORMAL && in kern_setpriority() 258 if (p->p_state == PRS_NORMAL && in kern_setpriority()
|
| 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() 1142 if (p->p_state != PRS_NEW && in fill_kinfo_proc_only() 1143 p->p_state != PRS_ZOMBIE && in fill_kinfo_proc_only() 1155 } else if (p->p_state == PRS_ZOMBIE) in fill_kinfo_proc_only() 1283 if (p->p_state == PRS_NORMAL) { /* approximate. */ in fill_kinfo_thread() 1297 } else if (p->p_state == PRS_ZOMBIE) { in fill_kinfo_thread() 1623 if (p->p_state == PRS_NEW) in proc_iterate()
|
| H A D | sys_procdesc.c | 437 if (p->p_state == PRS_ZOMBIE) { in procdesc_close() 615 if (pd->pd_proc->p_state != PRS_ZOMBIE) in procdesc_stat()
|
| H A D | init_main.c | 518 p->p_state = PRS_NORMAL; in proc0_init() 666 if (p->p_state == PRS_NEW) { in proc0_post()
|
| H A D | kern_procctl.c | 265 if (p2->p_state == PRS_ZOMBIE) in reap_getpids() 1293 if (p->p_state == PRS_NEW || in kern_procctl() 1294 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 | 282 if (p->p_state == PRS_ZOMBIE || (p->p_flag2 & P2_WEXIT) != 0) { in kthread_add1()
|
| H A D | kern_sig.c | 1811 (notself && p == arg->td->td_proc) || p->p_state == PRS_NEW) in killpg1_sendsig() 1825 (p == ctx->td->td_proc) || p->p_state == PRS_NEW) in kill_processes_prison_cb() 2097 if (p->p_state == PRS_NORMAL && in pgsignal() 2317 if (p->p_state == PRS_ZOMBIE) { in tdsendsignal() 2528 } else if (p->p_state == PRS_NORMAL) { in tdsendsignal() 3673 if (p->p_pptr->p_state != PRS_ZOMBIE) in sigparent() 3813 if (p->p_state == PRS_NORMAL && in pgsigio()
|
| H A D | kern_synch.c | 549 KASSERT(td->td_proc->p_state != PRS_ZOMBIE, in setrunnable()
|
| H A D | kern_clock.c | 266 if (p->p_state == PRS_NEW) { in deadlkres()
|
| H A D | kern_racct.c | 1112 return (p->p_state != PRS_NORMAL || (p->p_flag & P_IDLEPROC) != 0); in racct_proc_to_skip()
|
| /freebsd/sys/vm/ |
| H A D | vm_swapout.c | 313 if (p->p_state != PRS_NORMAL || in vm_daemon() 364 if (p->p_state == PRS_NORMAL) in vm_daemon() 391 if (p->p_state == PRS_NORMAL) in vm_daemon()
|
| H A D | vm_meter.c | 188 if (p->p_state != PRS_NEW) { in vmtotal()
|
| /freebsd/sys/ddb/ |
| H A D | db_ps.c | 159 switch (p->p_state) { in db_ps_proc() 220 if (p->p_flag & P_WEXIT && p->p_state != PRS_ZOMBIE) in db_ps_proc() 447 switch (p->p_state) { in DB_SHOW_COMMAND() 458 db_printf("??? (%#x)\n", p->p_state); in DB_SHOW_COMMAND()
|
| /freebsd/lib/libkvm/ |
| H A D | kvm_proc.c | 143 if (proc.p_state == PRS_NEW) in kvm_proclist() 383 if (proc.p_state != PRS_ZOMBIE) { in kvm_proclist() 393 if ((proc.p_state != PRS_ZOMBIE) && mtd.td_wmesg) in kvm_proclist() 405 if ((proc.p_state != PRS_ZOMBIE) && in kvm_proclist() 419 if (proc.p_state != PRS_ZOMBIE) { in kvm_proclist() 427 if (proc.p_state == PRS_NORMAL) { in kvm_proclist()
|
| /freebsd/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/sys/dev/wg/ |
| H A D | if_wg.c | 163 } p_state; member 1606 atomic_store_rel_int(&pkt->p_state, state); in wg_encrypt() 1678 atomic_store_rel_int(&pkt->p_state, state); in wg_decrypt() 1734 if (atomic_load_acq_int(&pkt->p_state) != WG_PACKET_CRYPTED) in wg_deliver_out() 1802 if (atomic_load_acq_int(&pkt->p_state) != WG_PACKET_CRYPTED) in wg_deliver_in() 1983 pkt->p_state = WG_PACKET_UNCRYPTED; in wg_queue_both() 2002 pkt->p_state = WG_PACKET_DEAD; in wg_queue_both() 2015 if (serial->q_len > 0 && STAILQ_FIRST(&serial->q_queue)->p_state != WG_PACKET_UNCRYPTED) { in wg_queue_dequeue_serial()
|
| /freebsd/sys/fs/tmpfs/ |
| H A D | tmpfs_vfsops.c | 201 if (p->p_state != PRS_NORMAL || (p->p_flag & (P_INEXEC | in tmpfs_all_rw_maps()
|
| /freebsd/sys/compat/linux/ |
| H A D | linux_misc.c | 2891 if (p->p_state == PRS_NORMAL && in linux_ioprio_get() 2908 if (p->p_state == PRS_NORMAL && in linux_ioprio_get() 2995 if (p->p_state == PRS_NORMAL && in linux_ioprio_set() 3014 if (p->p_state == PRS_NORMAL && in linux_ioprio_set()
|
| /freebsd/contrib/ofed/opensm/include/iba/ |
| H A D | ib_types.h | 7728 OUT uint8_t * const p_state) in ib_member_get_scope_state() argument 7732 if (p_state) in ib_member_get_scope_state() 7733 *p_state = (uint8_t) (scope_state & 0x0f); in ib_member_get_scope_state()
|