Searched refs:RLIM_NLIMITS (Results 1 – 14 of 14) sorted by relevance
139 #define LINUX_RLIMIT_LOCKS RLIM_NLIMITS + 1140 #define LINUX_RLIMIT_SIGPENDING RLIM_NLIMITS + 2141 #define LINUX_RLIMIT_MSGQUEUE RLIM_NLIMITS + 3142 #define LINUX_RLIMIT_NICE RLIM_NLIMITS + 4143 #define LINUX_RLIMIT_RTPRIO RLIM_NLIMITS + 5144 #define LINUX_RLIMIT_RTTIME RLIM_NLIMITS + 6
76 } lprm[RLIM_NLIMITS];231 } resources[RLIM_NLIMITS] = {283 int which_limits[RLIM_NLIMITS]; in main()284 rlim_t set_limits[RLIM_NLIMITS]; in main()285 struct rlimit limits[RLIM_NLIMITS]; in main()289 for (i = 0; i < RLIM_NLIMITS; i++) { in main()372 for (i = 0; i < RLIM_NLIMITS; i++) { in main()395 for (rcswhich = 0; rcswhich < RLIM_NLIMITS; rcswhich++) { in main()422 for (rcswhich = 0; rcswhich < RLIM_NLIMITS; rcswhich++) { in main()446 for (rcswhich = 0; rcswhich < RLIM_NLIMITS; rcswhich++) { in main()[all …]
119 #define RLIM_NLIMITS 15 /* number of resource limits */ macro130 static const char *rlimit_ident[RLIM_NLIMITS] = {
79 struct rlimit pl_rlimit[RLIM_NLIMITS];
70 #if RLIM_NLIMITS > 15105 for (i = 0; i < RLIM_NLIMITS; i++) { in procstat_rlimit()
77 for (i = 0; i < RLIM_NLIMITS; i++) { in procfs_doprocrlimit()
563 if (uap->which >= RLIM_NLIMITS) in ogetrlimit()652 if (which >= RLIM_NLIMITS) in kern_proc_setrlimit()783 if (uap->which >= RLIM_NLIMITS) in sys_getrlimit()1288 KASSERT(which >= 0 && which < RLIM_NLIMITS, in lim_rlimit()1300 KASSERT(which >= 0 && which < RLIM_NLIMITS, in lim_rlimit_proc()
276 for (i = 0; i < RLIM_NLIMITS; i++) in sys_acct()
561 for (i = 0; i < RLIM_NLIMITS; i++) in proc0_init()
2243 struct rlimit rlim[RLIM_NLIMITS]; in note_procstat_rlimit()2254 for (i = 0; i < RLIM_NLIMITS; i++) in note_procstat_rlimit()
2710 if (which >= RLIM_NLIMITS) in sysctl_kern_proc_rlimit()
879 structsize = sizeof(struct rlimit) * RLIM_NLIMITS; in elf_note_procstat_rlimit()890 for (i = 0; i < RLIM_NLIMITS; i++) { in elf_note_procstat_rlimit()
70 { .n_type = NT_PROCSTAT_RLIMIT, .structsize = sizeof(struct rlimit) * RLIM_NLIMITS },
2124 assert(which >= 0 && which < RLIM_NLIMITS); in procstat_getrlimit_kvm()2171 if (which < 0 || which >= RLIM_NLIMITS) { in procstat_getrlimit_core()2179 if (len < sizeof(struct rlimit) * RLIM_NLIMITS) { in procstat_getrlimit_core()