Searched refs:M_PROC (Results 1 - 5 of 5) sorted by relevance

/xnu-2782.1.97/bsd/sys/
H A Dmalloc.h134 #define M_PROC 41 /* Proc structures */ macro
H A Dpthread_shims.h46 #define M_PROC 41 macro
/xnu-2782.1.97/bsd/kern/
H A Dkern_fork.c1097 FREE_ZONE(p, sizeof *p, M_PROC);
1126 MALLOC_ZONE(child_proc, proc_t , sizeof *child_proc, M_PROC, M_WAITOK);
1128 printf("forkproc: M_PROC zone exhausted\n");
1138 FREE_ZONE(child_proc, sizeof *child_proc, M_PROC);
1147 FREE_ZONE(child_proc, sizeof *child_proc, M_PROC);
1157 FREE_ZONE(child_proc, sizeof *child_proc, M_PROC);
H A Dkern_proc.c209 pidhashtbl = hashinit(maxproc / 4, M_PROC, &pidhash);
210 pgrphashtbl = hashinit(maxproc / 4, M_PROC, &pgrphash);
211 sesshashtbl = hashinit(maxproc / 4, M_PROC, &sesshash);
212 uihashtbl = hashinit(maxproc / 16, M_PROC, &uihash);
249 FREE_ZONE(uip, sizeof(*uip), M_PROC);
271 MALLOC_ZONE(newuip, struct uidinfo *, sizeof(*uip), M_PROC, M_WAITOK);
273 panic("chgproccnt: M_PROC zone depleted");
277 FREE_ZONE(newuip, sizeof(*uip), M_PROC);
H A Dkern_exit.c1195 FREE_ZONE(child, sizeof *child, M_PROC);

Completed in 90 milliseconds