Home
last modified time | relevance | path

Searched refs:RLIM_NLIMITS (Results 1 – 14 of 14) sorted by relevance

/freebsd-11-stable/sys/compat/linux/
HDlinux_misc.h139 #define LINUX_RLIMIT_LOCKS RLIM_NLIMITS + 1
140 #define LINUX_RLIMIT_SIGPENDING RLIM_NLIMITS + 2
141 #define LINUX_RLIMIT_MSGQUEUE RLIM_NLIMITS + 3
142 #define LINUX_RLIMIT_NICE RLIM_NLIMITS + 4
143 #define LINUX_RLIMIT_RTPRIO RLIM_NLIMITS + 5
144 #define LINUX_RLIMIT_RTTIME RLIM_NLIMITS + 6
/freebsd-11-stable/usr.bin/limits/
HDlimits.c76 } 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 …]
/freebsd-11-stable/sys/sys/
HDresource.h119 #define RLIM_NLIMITS 15 /* number of resource limits */ macro
130 static const char *rlimit_ident[RLIM_NLIMITS] = {
HDresourcevar.h79 struct rlimit pl_rlimit[RLIM_NLIMITS];
/freebsd-11-stable/usr.bin/procstat/
HDprocstat_rlimit.c70 #if RLIM_NLIMITS > 15
105 for (i = 0; i < RLIM_NLIMITS; i++) { in procstat_rlimit()
/freebsd-11-stable/sys/fs/procfs/
HDprocfs_rlimit.c77 for (i = 0; i < RLIM_NLIMITS; i++) { in procfs_doprocrlimit()
/freebsd-11-stable/sys/kern/
HDkern_resource.c563 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()
HDkern_acct.c276 for (i = 0; i < RLIM_NLIMITS; i++) in sys_acct()
HDinit_main.c561 for (i = 0; i < RLIM_NLIMITS; i++) in proc0_init()
HDimgact_elf.c2243 struct rlimit rlim[RLIM_NLIMITS]; in note_procstat_rlimit()
2254 for (i = 0; i < RLIM_NLIMITS; i++) in note_procstat_rlimit()
HDkern_proc.c2710 if (which >= RLIM_NLIMITS) in sysctl_kern_proc_rlimit()
/freebsd-11-stable/usr.bin/gcore/
HDelfcore.c879 structsize = sizeof(struct rlimit) * RLIM_NLIMITS; in elf_note_procstat_rlimit()
890 for (i = 0; i < RLIM_NLIMITS; i++) { in elf_note_procstat_rlimit()
/freebsd-11-stable/lib/libprocstat/
HDcore.c70 { .n_type = NT_PROCSTAT_RLIMIT, .structsize = sizeof(struct rlimit) * RLIM_NLIMITS },
HDlibprocstat.c2124 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()