Lines Matching defs:proc
393 struct proc * p;
591 panic("proc being freed and still in hash %p: %u\n", p, p->p_listflag);
593 panic("proc being freed and pending children cnt %p:%d\n", p, p->p_childrencnt);
595 panic("proc being freed and pending refcount %p:%d\n", p, p->p_refcount);
597 panic("proc being freed and pending parentrefs %p:%d\n", p, p->p_parentref);
812 proc_task(proc_t proc)
814 return (task_t)proc->task;
826 proc_thread(proc_t proc)
828 uthread_t uth = TAILQ_FIRST(&proc->p_uthlist);
1077 /* mark the completion of proc creation */
1372 * Check if p's parent is current proc, if yes then no need to take
1373 * a ref; calling proc_parent with current proc as parent may
1374 * deadlock if current proc is exiting.
1659 * Call with proc protected (either by being invisible
1888 /* verify the audit token pid/idversion matches with proc */
2310 struct proc * parent;
2314 register struct proc *p;
2479 pgrp_add(struct pgrp * pgrp, struct proc * parent, struct proc * child)
2516 pgrp_remove(struct proc * p)
2553 pgrp_replace(struct proc * p, struct pgrp * newpg)
2840 proc_knote(struct proc * p, long hint)
2848 proc_knote_drain(struct proc *p)
2853 * Clear the proc's klist to avoid references after the proc is reaped.
3025 (get_task_resident_size(p->task) > *((uint64_t *)memory_thresholdp)); /* and this proc is over the mem threshold, */
3026 /* then return true to take action on this proc */