Searched refs:RLIM_NLIMITS (Results 1 – 3 of 3) sorted by relevance
46 struct rlimit pl_rlimit[RLIM_NLIMITS];100 KASSERT(which >= 0 && which < RLIM_NLIMITS); in lim_cur()
92 #define RLIM_NLIMITS 9 /* number of resource limits */ macro
252 if (which >= RLIM_NLIMITS || limp->rlim_cur > limp->rlim_max) in dosetrlimit()357 if (SCARG(uap, which) < 0 || SCARG(uap, which) >= RLIM_NLIMITS) in sys_getrlimit()677 sizeof(struct rlimit) * RLIM_NLIMITS); in lim_copy()802 KASSERT(which >= 0 && which < RLIM_NLIMITS); in lim_cur_proc()