Searched refs:RLIM_NLIMITS (Results 1 – 12 of 12) sorted by relevance
74 } lprm[RLIM_NLIMITS];231 } resources[RLIM_NLIMITS] = {284 int which_limits[RLIM_NLIMITS]; in main()285 rlim_t set_limits[RLIM_NLIMITS]; in main()286 struct rlimit limits[RLIM_NLIMITS]; in main()290 for (i = 0; i < RLIM_NLIMITS; i++) { in main()373 for (i = 0; i < RLIM_NLIMITS; i++) { in main()396 for (rcswhich = 0; rcswhich < RLIM_NLIMITS; rcswhich++) { in main()423 for (rcswhich = 0; rcswhich < RLIM_NLIMITS; rcswhich++) { in main()447 for (rcswhich = 0; rcswhich < RLIM_NLIMITS; rcswhich++) { in main()[all …]
60 _Static_assert(nitems(rlimit_ident) == RLIM_NLIMITS,77 for (i = 0; i < RLIM_NLIMITS; i++) { in procfs_doprocrlimit()
69 _Static_assert(nitems(rlimit_param) == RLIM_NLIMITS,103 for (i = 0; i < RLIM_NLIMITS; i++) { in procstat_rlimit()
119 #define RLIM_NLIMITS 16 /* number of resource limits */ macro
78 struct rlimit pl_rlimit[RLIM_NLIMITS];
572 if (uap->which >= RLIM_NLIMITS) in ogetrlimit()661 if (which >= RLIM_NLIMITS) in kern_proc_setrlimit()802 if (uap->which >= RLIM_NLIMITS) in sys_getrlimit()1477 KASSERT(which >= 0 && which < RLIM_NLIMITS, in lim_rlimit()1489 KASSERT(which >= 0 && which < RLIM_NLIMITS, in lim_rlimit_proc()1748 rlim_t resval[RLIM_NLIMITS]; in sysctl_kern_proc_rlimit_usage()1766 for (i = 0; i < RLIM_NLIMITS; i++) { in sysctl_kern_proc_rlimit_usage()
585 for (i = 0; i < RLIM_NLIMITS; i++) in proc0_init()
2635 struct rlimit rlim[RLIM_NLIMITS]; in note_procstat_rlimit()2646 for (i = 0; i < RLIM_NLIMITS; i++) in note_procstat_rlimit()
2965 if (which >= RLIM_NLIMITS) in sysctl_kern_proc_rlimit()
863 structsize = sizeof(struct rlimit) * RLIM_NLIMITS; in elf_note_procstat_rlimit()874 for (i = 0; i < RLIM_NLIMITS; i++) { in elf_note_procstat_rlimit()
86 .structsize = sizeof(struct rlimit) * RLIM_NLIMITS
2148 assert(which >= 0 && which < RLIM_NLIMITS); in procstat_getrlimit_kvm()2195 if (which < 0 || which >= RLIM_NLIMITS) { in procstat_getrlimit_core()2203 if (len < sizeof(struct rlimit) * RLIM_NLIMITS) { in procstat_getrlimit_core()