Home
last modified time | relevance | path

Searched refs:newlim (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/ufs/ufs/
H A Dufs_quota.c841 struct dqblk64 newlim; in _setquota() local
848 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 …]
/freebsd/sys/kern/
H A Dkern_resource.c656 struct plimit *newlim, *oldlim, *oldlim_td; in kern_proc_setrlimit() local
673 newlim = lim_alloc(); in kern_proc_setrlimit()
681 lim_free(newlim); in kern_proc_setrlimit()
686 lim_copy(newlim, oldlim); in kern_proc_setrlimit()
687 alimp = &newlim->pl_rlimit[which]; in kern_proc_setrlimit()
736 p->p_limit = newlim; in kern_proc_setrlimit()
/freebsd/sys/net/
H A Dif.c588 int newlim; in if_alloc_domain() local
590 newlim = if_indexlim * 2; in if_alloc_domain()
591 new = malloc(newlim * sizeof(*new), M_IFNET, M_WAITOK | M_ZERO); in if_alloc_domain()
595 if_indexlim = newlim; in if_alloc_domain()