Home
last modified time | relevance | path

Searched refs:P_KPROC (Results 1 – 14 of 14) sorted by relevance

/freebsd/usr.sbin/bsnmpd/modules/snmp_hostres/
H A Dhostres_snmp.h86 #define IS_KERNPROC(kp) (((kp)->ki_flag & P_KPROC) == P_KPROC)
/freebsd/usr.sbin/pmc/
H A Dcmd_pmc_summary.cc113 kerntidmap[ev.pl_u.pl_tc.pl_tid] = !!(ev.pl_u.pl_tc.pl_flags & P_KPROC); in pmc_summary_handler()
119 kernpidmap[ev.pl_u.pl_pc.pl_pid] = !!(ev.pl_u.pl_pc.pl_flags & P_KPROC); in pmc_summary_handler()
/freebsd/sys/kern/
H A Dkern_kthread.c196 if ((p->p_flag & P_KPROC) == 0) { in kproc_suspend()
214 if ((p->p_flag & P_KPROC) == 0) { in kproc_resume()
H A Dkern_fork.c528 p2->p_flag |= P_SYSTEM | P_KPROC; in do_fork()
1158 if (p->p_flag & P_KPROC) { in fork_exit()
H A Dinit_main.c513 p->p_flag = P_SYSTEM | P_INMEM | P_KPROC; in proc0_init()
H A Dkern_racct.c1130 if ((p->p_flag & (P_SYSTEM | P_KPROC)) != 0) in racct_proc_throttle()
H A Dkern_procctl.c293 if ((w->target->p_flag & (P_KPROC | P_SYSTEM | P_STOPPED)) == 0) in reap_kill_proc_locked()
H A Dkern_proc.c3514 if ((p->p_flag & (P_KPROC | P_SYSTEM | P_TOTAL_STOP | in stop_all_proc()
/freebsd/usr.bin/top/
H A Dmachine.c1189 kproc = (pp->ki_flag & P_KPROC) ? "k" : ""; in format_nice()
1214 rtpri = ((pp->ki_flag & P_KPROC) ? pp->ki_pri.pri_native : in format_nice()
1220 if (pp->ki_flag & P_KPROC) in format_nice()
1226 rtpri = ((pp->ki_flag & P_KPROC) ? pp->ki_pri.pri_native : in format_nice()
/freebsd/sys/security/mac_grantbylabel/
H A Dmac_grantbylabel.c216 if ((curproc->p_flag & (P_KPROC|P_SYSTEM))) in mac_grantbylabel_priv_grant()
/freebsd/sys/amd64/amd64/
H A Dvm_machdep.c200 if ((td1->td_proc->p_flag & P_KPROC) == 0) { in copy_thread()
/freebsd/bin/pkill/
H A Dpkill.c74 (!kthreads && ((kp)->ki_flag & P_KPROC) != 0))
/freebsd/sys/sys/
H A Dproc.h805 #define P_KPROC 0x00000004 /* Kernel process. */ macro
/freebsd/sys/dev/hwpmc/
H A Dhwpmc_mod.c1140 if (p->p_flag & P_KPROC) { in pmc_attach_one_process()
4700 (td->td_proc->p_flag & P_KPROC) == 0 && !TRAPF_USERMODE(tf)) { in pmc_process_interrupt()