/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 | 505 if (q->p_state == PRS_ZOMBIE) { in exit1() 712 p->p_state = PRS_ZOMBIE; in exit1() 920 KASSERT(p->p_state == PRS_ZOMBIE, ("proc_reap: !PRS_ZOMBIE")); in proc_reap() 1116 if (((options & WEXITED) == 0) && (p->p_state == PRS_ZOMBIE)) { in proc_to_reap() 1190 if (p->p_state == PRS_ZOMBIE && !check_only) { in proc_to_reap()
|
H A D | sys_procdesc.c | 373 if (p->p_state == PRS_ZOMBIE) { in procdesc_close() 533 if (pd->pd_proc->p_state != PRS_ZOMBIE) in procdesc_stat()
|
H A D | kern_racct.c | 1255 if (p->p_state != PRS_NORMAL) { in racctd() 1256 if (p->p_state == PRS_ZOMBIE) in racctd() 1308 if (p->p_state != PRS_NORMAL) { in racctd()
|
H A D | kern_fork.c | 389 p2->p_state = PRS_NEW; /* protect against others */ in do_fork() 713 p2->p_state = PRS_NORMAL; in do_fork() 1128 KASSERT(p->p_state == PRS_NORMAL, ("executing process is still new")); in fork_exit()
|
H A D | kern_resource.c | 133 if (p->p_state == PRS_NORMAL && in kern_getpriority() 149 if (p->p_state == PRS_NORMAL && in kern_getpriority() 225 if (p->p_state == PRS_NORMAL && in kern_setpriority() 241 if (p->p_state == PRS_NORMAL && in kern_setpriority()
|
H A D | kern_proc.c | 426 if (p->p_state == PRS_NEW) { in pfind_any_locked() 456 if (p->p_state == PRS_NEW || in _pfind() 457 (!zombie && p->p_state == PRS_ZOMBIE)) { in _pfind() 1139 if (p->p_state != PRS_NEW && in fill_kinfo_proc_only() 1140 p->p_state != PRS_ZOMBIE && in fill_kinfo_proc_only() 1152 } else if (p->p_state == PRS_ZOMBIE) in fill_kinfo_proc_only() 1278 if (p->p_state == PRS_NORMAL) { /* approximate. */ in fill_kinfo_thread() 1292 } else if (p->p_state == PRS_ZOMBIE) { in fill_kinfo_thread() 1611 if (p->p_state == PRS_NEW) in proc_iterate()
|
H A D | init_main.c | 515 p->p_state = PRS_NORMAL; in proc0_init() 663 if (p->p_state == PRS_NEW) { in proc0_post()
|
H A D | kern_procctl.c | 239 if (p2->p_state == PRS_ZOMBIE) in reap_getpids() 1273 if (p->p_state == PRS_NEW || in kern_procctl() 1274 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 | 283 if (p->p_state == PRS_ZOMBIE || (p->p_flag2 & P2_WEXIT) != 0) { in kthread_add1()
|
H A D | kern_synch.c | 553 KASSERT(td->td_proc->p_state != PRS_ZOMBIE, in mi_switch()
|
H A D | kern_sig.c | 1814 (notself && p == arg->td->td_proc) || p->p_state == PRS_NEW) in killpg1_sendsig() 1828 (p == ctx->td->td_proc) || p->p_state == PRS_NEW) in kill_processes_prison_cb() 2083 if (p->p_state == PRS_NORMAL && in pgsignal() 2303 if (p->p_state == PRS_ZOMBIE) { in tdsendsignal() 2506 } else if (p->p_state == PRS_NORMAL) { in tdsendsignal() 4283 if (p->p_state == PRS_NORMAL && in pgsigio()
|
H A D | kern_clock.c | 266 if (p->p_state == PRS_NEW) { in deadlkres()
|
H A D | kern_prot.c | 2713 MPASS(p->p_state == PRS_ZOMBIE || p->p_state == PRS_NEW); in proc_unset_cred()
|
/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() 448 switch (p->p_state) { in DB_SHOW_COMMAND() 459 db_printf("??? (%#x)\n", p->p_state); in DB_SHOW_COMMAND()
|
/freebsd/lib/libkvm/ |
H A D | kvm_proc.c | 142 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/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 1517 atomic_store_rel_int(&pkt->p_state, state); in wg_encrypt() 1589 atomic_store_rel_int(&pkt->p_state, state); in wg_decrypt() 1645 if (atomic_load_acq_int(&pkt->p_state) != WG_PACKET_CRYPTED) in wg_deliver_out() 1713 if (atomic_load_acq_int(&pkt->p_state) != WG_PACKET_CRYPTED) in wg_deliver_in() 1894 pkt->p_state = WG_PACKET_UNCRYPTED; in wg_queue_both() 1913 pkt->p_state = WG_PACKET_DEAD; in wg_queue_both() 1926 if (serial->q_len > 0 && STAILQ_FIRST(&serial->q_queue)->p_state != WG_PACKET_UNCRYPTED) { in wg_queue_dequeue_serial()
|
/freebsd/sys/vm/ |
H A D | vm_meter.c | 188 if (p->p_state != PRS_NEW) { in vmtotal()
|
/freebsd/sys/compat/linux/ |
H A D | linux_misc.c | 2832 if (p->p_state == PRS_NORMAL && in linux_ioprio_get() 2849 if (p->p_state == PRS_NORMAL && in linux_ioprio_get() 2936 if (p->p_state == PRS_NORMAL && in linux_ioprio_set() 2955 if (p->p_state == PRS_NORMAL && in linux_ioprio_set()
|
/freebsd/sys/fs/tmpfs/ |
H A D | tmpfs_vfsops.c | 205 if (p->p_state != PRS_NORMAL || (p->p_flag & (P_INEXEC | in tmpfs_all_rw_maps()
|
/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()
|