Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/sh/
H A Dulimit.c67 char resources[RLIM_NLIMITS]; in sysulimit()
69 for (res = 0; res < RLIM_NLIMITS; res++) { in sysulimit()
93 for (res = 0; res < RLIM_NLIMITS; res++) { in sysulimit()
96 cnt = RLIM_NLIMITS; in sysulimit()
140 for (res = 0; res < RLIM_NLIMITS; res++) { in sysulimit()
/illumos-gate/usr/src/cmd/plimit/
H A Dplimit.c56 static char set_current[RLIM_NLIMITS];
57 static char set_maximum[RLIM_NLIMITS];
58 static struct rlimit64 rlimit[RLIM_NLIMITS];
398 for (resource = 0; resource < RLIM_NLIMITS; resource++) { in show_limits()
595 for (which = 0; which < RLIM_NLIMITS; which++) { in set_limits()
/illumos-gate/usr/src/uts/common/sys/
H A Dresource.h79 #define RLIM_NLIMITS 7 /* number of resource limits */ macro
161 #define RLIM_NSAVED RLIM_NLIMITS /* size of u_saved_rlimits[] */
/illumos-gate/usr/src/uts/common/syscall/
H A Drlimit.c298 if (resource < 0 || resource >= RLIM_NLIMITS) in getrlimit32()
376 if (resource < 0 || resource >= RLIM_NLIMITS) in setrlimit32()
447 if (resource < 0 || resource >= RLIM_NLIMITS) in getrlimit64()
467 if (resource < 0 || resource >= RLIM_NLIMITS) in setrlimit64()
/illumos-gate/usr/src/uts/common/os/
H A Drctl_proc.c47 rctl_hndl_t rctlproc_legacy[RLIM_NLIMITS];
48 uint_t rctlproc_flags[RLIM_NLIMITS] = {
57 int rctlproc_signals[RLIM_NLIMITS] = {
H A Dfork.c869 default_gp = rctl_rlimit_set_prealloc(RLIM_NLIMITS); in newproc()
H A Dexec.c476 for (i = 0; i < RLIM_NLIMITS; i++) { in exec_common()
/illumos-gate/usr/src/ucbhead/sys/
H A Dresource.h73 #define RLIM_NLIMITS 7 /* number of resource limits */ macro