Searched refs:chgproccnt (Results 1 - 6 of 6) sorted by relevance

/xnu-2782.1.97/bsd/kern/
H A Dkern_prot.c751 * chgproccnt uses list lock for protection
753 (void)chgproccnt(uid, 1);
754 (void)chgproccnt(my_pcred->cr_ruid, -1);
996 /* chgproccnt uses list lock for protection */
997 (void)chgproccnt(ruid, 1);
998 (void)chgproccnt(my_pcred->cr_ruid, -1);
H A Dkern_fork.c393 * (locking protection is provided by list lock held in chgproccnt)
395 count = chgproccnt(uid, 1);
690 (void)chgproccnt(uid, -1);
H A Dbsd_init.c630 bsd_init_kprintf("calling chgproccnt\n");
631 (void)chgproccnt(0, 1);
H A Dkern_exit.c1127 * (locking protection is provided by list lock held in chgproccnt)
1129 (void)chgproccnt(kauth_cred_getruid(child->p_ucred), -1);
H A Dkern_proc.c224 chgproccnt(uid_t uid, int diff) function
245 panic("chgproccnt: procs < 0");
258 panic("chgproccnt: lost user");
273 panic("chgproccnt: M_PROC zone depleted");
/xnu-2782.1.97/bsd/sys/
H A Dproc_internal.h716 extern int chgproccnt(uid_t uid, int diff);

Completed in 74 milliseconds