Home
last modified time | relevance | path

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

/freebsd-12-stable/sys/ufs/ufs/
Dufs_quota.c851 struct dqblk64 newlim; in _setquota() local
858 newlim = *dqb; in _setquota()
874 newlim.dqb_curblocks = dq->dq_curblocks; in _setquota()
875 newlim.dqb_curinodes = dq->dq_curinodes; in _setquota()
877 newlim.dqb_btime = dq->dq_btime; in _setquota()
878 newlim.dqb_itime = dq->dq_itime; in _setquota()
880 if (newlim.dqb_bsoftlimit && in _setquota()
881 dq->dq_curblocks >= newlim.dqb_bsoftlimit && in _setquota()
883 newlim.dqb_btime = time_second + ump->um_btime[type]; in _setquota()
884 if (newlim.dqb_isoftlimit && in _setquota()
[all …]
/freebsd-12-stable/gnu/usr.bin/grep/
Dgrep.c1235 long newlim; in install_matcher() local
1239 newlim = re_max_failures * 2 * 20 * sizeof (char *); in install_matcher()
1240 if (newlim > rlim.rlim_max) in install_matcher()
1242 newlim = rlim.rlim_max; in install_matcher()
1243 re_max_failures = newlim / (2 * 20 * sizeof (char *)); in install_matcher()
1245 if (rlim.rlim_cur < newlim) in install_matcher()
1247 rlim.rlim_cur = newlim; in install_matcher()
/freebsd-12-stable/sys/kern/
Dkern_resource.c646 struct plimit *newlim, *oldlim; in kern_proc_setrlimit() local
663 newlim = lim_alloc(); in kern_proc_setrlimit()
671 lim_free(newlim); in kern_proc_setrlimit()
676 lim_copy(newlim, oldlim); in kern_proc_setrlimit()
677 alimp = &newlim->pl_rlimit[which]; in kern_proc_setrlimit()
727 p->p_limit = newlim; in kern_proc_setrlimit()