Searched refs:p_limit (Results 1 - 7 of 7) sorted by relevance

/xnu-2782.1.97/bsd/kern/
H A Dkern_resource.c1345 if (--p->p_limit->pl_refcnt == 0) {
1346 freelim = p->p_limit;
1347 p->p_limit = NULL;
1356 FREE_ZONE(freelim, sizeof *p->p_limit, M_PLIMIT);
1366 child->p_limit = parent->p_limit;
1367 child->p_limit->pl_refcnt++;
1407 if (p->p_limit->pl_refcnt == 1) {
1421 bcopy(p->p_limit->pl_rlimit, copy->pl_rlimit,
1425 p->p_olimit = p->p_limit;
[all...]
H A Dkern_fork.c1050 p->p_limit = NULL;
1300 if (child_proc->p_limit->pl_rlimit[RLIMIT_CPU].rlim_cur != RLIM_INFINITY) {
1301 uint64_t rlim_cur = child_proc->p_limit->pl_rlimit[RLIMIT_CPU].rlim_cur;
H A Dbsd_init.c612 kernproc->p_limit = &limit0;
H A Dkern_exit.c869 p->p_limit = NULL;
2115 p->p_limit = NULL;
H A Dkern_exec.c2000 int maxfa = (p->p_limit ? p->p_rlimit[RLIMIT_NOFILE].rlim_cur : NOFILE);
/xnu-2782.1.97/bsd/sys/
H A Dproc_internal.h245 struct plimit *p_limit; /* Process limits.(PL) */ member in struct:proc
251 #define p_rlimit p_limit->pl_rlimit
/xnu-2782.1.97/osfmk/vm/
H A Dvm_object.c1264 int p_limit = 0; local
1270 p_limit = MIN(50, object->resident_page_count);
1272 while (!queue_end(&object->memq, (queue_entry_t)next_p) && --p_limit > 0) {

Completed in 65 milliseconds