Home | History | Annotate | Download | only in kern

Lines Matching defs:newlim

679 	struct plimit *newlim;
683 newlim = kmem_alloc(sizeof(*newlim), KM_SLEEP);
684 mutex_init(&newlim->pl_lock, MUTEX_DEFAULT, IPL_NONE);
685 newlim->pl_writeable = false;
686 newlim->pl_refcnt = 1;
687 newlim->pl_sv_limit = NULL;
690 memcpy(newlim->pl_rlimit, lim->pl_rlimit,
700 newlim->pl_corename = defcorename;
701 newlim->pl_cnlen = 0;
706 newlim->pl_corename = corename;
707 newlim->pl_cnlen = len;
725 return newlim;
740 struct plimit *lim = p->p_limit, *newlim;
746 newlim = lim_copy(lim);
752 lim_free(newlim);
760 newlim->pl_sv_limit = p->p_limit;
761 newlim->pl_writeable = true;
762 p->p_limit = newlim;