Lines Matching refs:proc
388 struct proc * p;
583 panic("proc being freed and still in hash %p: %u\n", p, p->p_listflag);
585 panic("proc being freed and pending children cnt %p:%d\n", p, p->p_childrencnt);
587 panic("proc being freed and pending refcount %p:%d\n", p, p->p_refcount);
589 panic("proc being freed and pending parentrefs %p:%d\n", p, p->p_parentref);
756 proc_task(proc_t proc)
758 return (task_t)proc->task;
770 proc_thread(proc_t proc)
772 uthread_t uth = TAILQ_FIRST(&proc->p_uthlist);
1004 /* mark the completion of proc creation */
1569 * Call with proc protected (either by being invisible
1790 /* verify the audit token pid/idversion matches with proc */
2149 struct proc * parent;
2153 register struct proc *p;
2318 pgrp_add(struct pgrp * pgrp, struct proc * parent, struct proc * child)
2355 pgrp_remove(struct proc * p)
2392 pgrp_replace(struct proc * p, struct pgrp * newpg)
2679 proc_knote(struct proc * p, long hint)
2687 proc_knote_drain(struct proc *p)
2692 * Clear the proc's klist to avoid references after the proc is reaped.
2712 cs_allow_invalid(struct proc *p)
2744 struct proc *p;
2750 * XXX revisit locking when proc is no longer protected
2965 (get_task_resident_size(p->task) > *((uint64_t *)memory_thresholdp)); /* and this proc is over the mem threshold, */
2966 /* then return true to take action on this proc */