Searched refs:RLIM_NLIMITS (Results 1 – 11 of 11) sorted by relevance
118 #define RLIM_NLIMITS 15 /* number of resource limits */ macro129 static const char *rlimit_ident[RLIM_NLIMITS] = {
79 struct rlimit pl_rlimit[RLIM_NLIMITS];
121 #define RLIM_NLIMITS 15 /* number of resource limits */ macro132 static const char *rlimit_ident[RLIM_NLIMITS] = {
81 struct rlimit pl_rlimit[RLIM_NLIMITS];
574 if (uap->which >= RLIM_NLIMITS) in ogetrlimit()663 if (which >= RLIM_NLIMITS) in kern_proc_setrlimit()794 if (uap->which >= RLIM_NLIMITS) in sys_getrlimit()1314 KASSERT(which >= 0 && which < RLIM_NLIMITS, in lim_rlimit()1326 KASSERT(which >= 0 && which < RLIM_NLIMITS, in lim_rlimit_proc()
284 for (i = 0; i < RLIM_NLIMITS; i++) in sys_acct()
565 for (i = 0; i < RLIM_NLIMITS; i++) in proc0_init()
2534 struct rlimit rlim[RLIM_NLIMITS]; in note_procstat_rlimit()2545 for (i = 0; i < RLIM_NLIMITS; i++) in note_procstat_rlimit()
2825 if (which >= RLIM_NLIMITS) in sysctl_kern_proc_rlimit()
788 KASSERT(which >= 0 && which < RLIM_NLIMITS, in lim_rlimit()799 KASSERT(which >= 0 && which < RLIM_NLIMITS, in lim_rlimit_proc()
472 for (i = 0; i < RLIM_NLIMITS; i++) in proc0_init()