Searched refs:newlim (Results 1 – 3 of 3) sorted by relevance
841 struct dqblk64 newlim; in _setquota() local848 newlim = *dqb; in _setquota()864 newlim.dqb_curblocks = dq->dq_curblocks; in _setquota()865 newlim.dqb_curinodes = dq->dq_curinodes; in _setquota()867 newlim.dqb_btime = dq->dq_btime; in _setquota()868 newlim.dqb_itime = dq->dq_itime; in _setquota()870 if (newlim.dqb_bsoftlimit && in _setquota()871 dq->dq_curblocks >= newlim.dqb_bsoftlimit && in _setquota()873 newlim.dqb_btime = time_second + ump->um_btime[type]; in _setquota()874 if (newlim.dqb_isoftlimit && in _setquota()[all …]
673 struct plimit *newlim, *oldlim, *oldlim_td; in kern_proc_setrlimit() local690 newlim = lim_alloc(); in kern_proc_setrlimit()698 lim_free(newlim); in kern_proc_setrlimit()703 lim_copy(newlim, oldlim); in kern_proc_setrlimit()704 alimp = &newlim->pl_rlimit[which]; in kern_proc_setrlimit()753 p->p_limit = newlim; in kern_proc_setrlimit()
584 int newlim; in if_alloc_domain() local 586 newlim = if_indexlim * 2; in if_alloc_domain() 587 new = malloc(newlim * sizeof(*new), M_IFNET, M_WAITOK | M_ZERO); in if_alloc_domain() 591 if_indexlim = newlim; in if_alloc_domain()