Home
last modified time | relevance | path

Searched refs:p_state (Results 1 – 25 of 35) sorted by relevance

12

/freebsd-14.2/lib/libnetmap/
H A Dnmreq.c257 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 Dnetmap_user.h681 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 Dtty_info.c206 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 Dkern_exit.c507 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 Dsys_procdesc.c376 if (p->p_state == PRS_ZOMBIE) { in procdesc_close()
536 if (pd->pd_proc->p_state != PRS_ZOMBIE) in procdesc_stat()
H A Dkern_fork.c392 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 Dkern_racct.c1261 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 Dkern_resource.c136 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 Dinit_main.c517 p->p_state = PRS_NORMAL; in proc0_init()
665 if (p->p_state == PRS_NEW) { in proc0_post()
H A Dkern_proc.c428 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 Dkern_procctl.c239 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 Dkern_rctl.c543 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 Dkern_kthread.c284 if (p->p_state == PRS_ZOMBIE || (p->p_flag2 & P2_WEXIT) != 0) { in kthread_add1()
H A Dkern_synch.c575 KASSERT(td->td_proc->p_state != PRS_ZOMBIE, in setrunnable()
H A Dkern_sig.c1806 (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 Dkern_clock.c268 if (p->p_state == PRS_NEW) { in deadlkres()
H A Dkern_prot.c2253 MPASS(p->p_state == PRS_ZOMBIE || p->p_state == PRS_NEW); in proc_unset_cred()
/freebsd-14.2/sys/vm/
H A Dvm_swapout.c419 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 Dvm_meter.c190 if (p->p_state != PRS_NEW) { in vmtotal()
/freebsd-14.2/sys/ddb/
H A Ddb_ps.c159 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 Dkvm_proc.c144 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 Dgdbinit.kernel208 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 Dif_wg.c163 } 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 Dlinux_misc.c2806 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 Dtmpfs_vfsops.c206 if (p->p_state != PRS_NORMAL || (p->p_flag & (P_INEXEC | in tmpfs_all_rw_maps()

12