Searched refs:RLIM_NLIMITS (Results 1 – 12 of 12) sorted by relevance
74 } lprm[RLIM_NLIMITS];229 } resources[RLIM_NLIMITS] = {281 int which_limits[RLIM_NLIMITS]; in main()282 rlim_t set_limits[RLIM_NLIMITS]; in main()283 struct rlimit limits[RLIM_NLIMITS]; in main()287 for (i = 0; i < RLIM_NLIMITS; i++) { in main()370 for (i = 0; i < RLIM_NLIMITS; i++) { in main()393 for (rcswhich = 0; rcswhich < RLIM_NLIMITS; rcswhich++) { in main()420 for (rcswhich = 0; rcswhich < RLIM_NLIMITS; rcswhich++) { in main()444 for (rcswhich = 0; rcswhich < RLIM_NLIMITS; rcswhich++) { in main()[all …]
118 #define RLIM_NLIMITS 15 /* number of resource limits */ macro129 static const char *rlimit_ident[RLIM_NLIMITS] = {
78 struct rlimit pl_rlimit[RLIM_NLIMITS];
68 #if RLIM_NLIMITS > 15103 for (i = 0; i < RLIM_NLIMITS; i++) { in procstat_rlimit()
74 for (i = 0; i < RLIM_NLIMITS; i++) { in procfs_doprocrlimit()
570 if (uap->which >= RLIM_NLIMITS) in ogetrlimit()659 if (which >= RLIM_NLIMITS) in kern_proc_setrlimit()800 if (uap->which >= RLIM_NLIMITS) in sys_getrlimit()1362 KASSERT(which >= 0 && which < RLIM_NLIMITS, in lim_rlimit()1374 KASSERT(which >= 0 && which < RLIM_NLIMITS, in lim_rlimit_proc()
584 for (i = 0; i < RLIM_NLIMITS; i++) in proc0_init()
2623 struct rlimit rlim[RLIM_NLIMITS]; in note_procstat_rlimit()2634 for (i = 0; i < RLIM_NLIMITS; i++) in note_procstat_rlimit()
2941 if (which >= RLIM_NLIMITS) in sysctl_kern_proc_rlimit()
853 structsize = sizeof(struct rlimit) * RLIM_NLIMITS; in elf_note_procstat_rlimit()864 for (i = 0; i < RLIM_NLIMITS; i++) { in elf_note_procstat_rlimit()
69 { .n_type = NT_PROCSTAT_RLIMIT, .structsize = sizeof(struct rlimit) * RLIM_NLIMITS },
2147 assert(which >= 0 && which < RLIM_NLIMITS); in procstat_getrlimit_kvm()2194 if (which < 0 || which >= RLIM_NLIMITS) { in procstat_getrlimit_core()2202 if (len < sizeof(struct rlimit) * RLIM_NLIMITS) { in procstat_getrlimit_core()