Home
last modified time | relevance | path

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

/freebsd/usr.bin/limits/
H A Dlimits.c74 } 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 …]
/freebsd/sys/sys/
H A Dresource.h118 #define RLIM_NLIMITS 15 /* number of resource limits */ macro
129 static const char *rlimit_ident[RLIM_NLIMITS] = {
H A Dresourcevar.h78 struct rlimit pl_rlimit[RLIM_NLIMITS];
/freebsd/usr.bin/procstat/
H A Dprocstat_rlimit.c68 #if RLIM_NLIMITS > 15
103 for (i = 0; i < RLIM_NLIMITS; i++) { in procstat_rlimit()
/freebsd/sys/fs/procfs/
H A Dprocfs_rlimit.c74 for (i = 0; i < RLIM_NLIMITS; i++) { in procfs_doprocrlimit()
/freebsd/sys/kern/
H A Dkern_resource.c570 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()
H A Dinit_main.c584 for (i = 0; i < RLIM_NLIMITS; i++) in proc0_init()
H A Dimgact_elf.c2623 struct rlimit rlim[RLIM_NLIMITS]; in note_procstat_rlimit()
2634 for (i = 0; i < RLIM_NLIMITS; i++) in note_procstat_rlimit()
H A Dkern_proc.c2941 if (which >= RLIM_NLIMITS) in sysctl_kern_proc_rlimit()
/freebsd/usr.bin/gcore/
H A Delfcore.c853 structsize = sizeof(struct rlimit) * RLIM_NLIMITS; in elf_note_procstat_rlimit()
864 for (i = 0; i < RLIM_NLIMITS; i++) { in elf_note_procstat_rlimit()
/freebsd/lib/libprocstat/
H A Dcore.c69 { .n_type = NT_PROCSTAT_RLIMIT, .structsize = sizeof(struct rlimit) * RLIM_NLIMITS },
H A Dlibprocstat.c2147 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()