Lines Matching defs:lim
644 rlim_t lim;
657 lim = ptoa(uvmexp.free);
658 limit0->pl_rlimit[RLIMIT_RSS].rlim_max = lim;
659 lim = ptoa(64*1024); /* Default to very low */
660 limit0->pl_rlimit[RLIMIT_MEMLOCK].rlim_max = lim;
661 limit0->pl_rlimit[RLIMIT_MEMLOCK].rlim_cur = lim / 3;
671 lim_copy(struct plimit *lim)
676 memcpy(newlim->pl_rlimit, lim->pl_rlimit,
683 lim_free(struct plimit *lim)
685 if (refcnt_rele(&lim->pl_refcnt) == 0)
687 pool_put(&plimit_pool, lim);