/titanic_44/usr/src/uts/common/syscall/ |
H A D | rlimit.c | 100 rl64.rlim_max = rl64.rlim_cur = lim; in ulimit() 305 if (rlim64.rlim_max > (rlim64_t)UINT32_MAX) { in getrlimit32() 307 if (rlim64.rlim_max == RLIM64_INFINITY) in getrlimit32() 308 rlim32.rlim_max = RLIM32_INFINITY; in getrlimit32() 311 rlim32.rlim_max = RLIM32_SAVED_MAX; in getrlimit32() 318 else if (rlim64.rlim_cur == rlim64.rlim_max) { in getrlimit32() 338 up->u_saved_rlimit[resource].rlim_max = in getrlimit32() 339 rlim64.rlim_max; in getrlimit32() 347 rlim32.rlim_max = rlim64.rlim_max; in getrlimit32() 392 saved_rlim.rlim_max = (rlim64_t)rlim32.rlim_max; in setrlimit32() [all …]
|
/titanic_44/usr/src/cmd/plimit/ |
H A D | plimit.c | 336 rp->rlim_max = 0; in parse_limits() 339 if (limit_value(which, hard, &rp->rlim_max) != 0) in parse_limits() 344 rp->rlim_cur > rp->rlim_max) in parse_limits() 355 if (rp->rlim_max != RLIM64_INFINITY) in limit_adjust() 356 rp->rlim_max /= units; in limit_adjust() 376 if (rp->rlim_max == RLIM64_INFINITY) in limit_values() 379 (void) sprintf(s2 = buf2, "%lld", rp->rlim_max); in limit_values() 488 max = rlim.rlim_max; in set_one_limit() 493 if (max > rlim.rlim_max && Pr != NULL) in set_one_limit() 496 rlim.rlim_max = max; in set_one_limit() [all …]
|
/titanic_44/usr/src/uts/common/os/ |
H A D | rctl_proc.c | 229 rlp64.rlim_cur = rlp64.rlim_max = RLIM64_INFINITY; in rctlproc_default_init() 236 rlp64.rlim_cur = rlp64.rlim_max = RLIM64_INFINITY; in rctlproc_default_init() 243 rlp64.rlim_cur = rlp64.rlim_max = RLIM64_INFINITY; in rctlproc_default_init() 252 rlp64.rlim_max = LONG_MAX; in rctlproc_default_init() 255 rlp64.rlim_max = MAXSSIZ; in rctlproc_default_init() 263 rlp64.rlim_cur = rlp64.rlim_max = RLIM64_INFINITY; in rctlproc_default_init() 271 rlp64.rlim_max = rlim_fd_max; in rctlproc_default_init() 278 rlp64.rlim_cur = rlp64.rlim_max = RLIM64_INFINITY; in rctlproc_default_init()
|
H A D | rctl.c | 2101 rlp64->rlim_max = rval->rcv_value; in rctl_rlimit_get() 2103 rlp64->rlim_max = RLIM64_INFINITY; in rctl_rlimit_get() 2105 rlp64->rlim_cur = rlp64->rlim_max; in rctl_rlimit_get() 2127 rlp64->rlim_max = rval->rcv_value; in rctl_rlimit_get() 2129 rlp64->rlim_max = RLIM64_INFINITY; in rctl_rlimit_get() 2132 rlp64->rlim_cur = rlp64->rlim_max; in rctl_rlimit_get() 2204 if (rlp64->rlim_cur > rlp64->rlim_max) in rctl_rlimit_set() 2213 if ((rlp64->rlim_max > cur_rl.rlim_max) && in rctl_rlimit_set() 2214 cur_rl.rlim_max != RLIM64_INFINITY && in rctl_rlimit_set() 2253 if (rlp64->rlim_max == RLIM64_INFINITY) { in rctl_rlimit_set() [all …]
|
/titanic_44/usr/src/uts/common/sys/ |
H A D | resource.h | 127 rlim32_t rlim_max; /* maximum value for rlim_cur */ member 134 rlim_t rlim_max; /* maximum value for rlim_cur */ member 148 rlim64_t rlim_max; /* maximum value for rlim_cur */ member
|
/titanic_44/usr/src/cmd/sh/ |
H A D | ulimit.c | 169 if (rlimit.rlim_max == RLIM_INFINITY) { in sysulimit() 172 prull_buff(rlimit.rlim_max / in sysulimit() 233 rlimit.rlim_max = limit; in sysulimit()
|
/titanic_44/usr/src/lib/libc/port/gen/ |
H A D | closefrom.c | 93 max_fds = (rl.rlim_max == RLIM_INFINITY)? in fdwalk() 94 INT_MAX : rl.rlim_max; in fdwalk()
|
/titanic_44/usr/src/cmd/prstat/ |
H A D | prutil.c | 255 rlim.rlim_max = MIN(rlim.rlim_max, RLIMIT_NOFILE_MAX); in Setrlimit() 256 rlim.rlim_cur = rlim.rlim_max; in Setrlimit()
|
/titanic_44/usr/src/cmd/rpcsvc/ |
H A D | rwall.c | 90 rl.rlim_cur = (rl.rlim_max < MAX_THREADS ? in main() 91 rl.rlim_max : MAX_THREADS); in main()
|
/titanic_44/usr/src/uts/common/exec/aout/ |
H A D | aout.c | 253 fdno_rlim.rlim_cur = fdno_rlim.rlim_max = 256; in aoutexec() 258 } else if (fdno_rlim.rlim_max > 256) { in aoutexec() 259 fdno_rlim.rlim_max = 256; in aoutexec()
|
/titanic_44/usr/src/cmd/ypcmd/ |
H A D | ypxfrd_svc.c | 240 rl.rlim_max = 0; in main() 242 if ((size = rl.rlim_max) == 0) in main()
|
/titanic_44/usr/src/lib/libbc/libc/compat/common/ |
H A D | ulimit.c | 46 rlimit.rlim_cur = rlimit.rlim_max = newlimit * 512; in ulimit()
|
/titanic_44/usr/src/lib/libbc/libc/compat/4.1/ |
H A D | vlimit.c | 60 rlim.rlim_max = RLIM_INFINITY; in vlimit()
|
/titanic_44/usr/src/ucbhead/sys/ |
H A D | resource.h | 81 int rlim_max; /* maximum value for rlim_cur */ member
|
/titanic_44/usr/src/test/zfs-tests/tests/functional/libzfs/ |
H A D | many_fds.c | 47 limit.rlim_max = 65535; in main()
|
/titanic_44/usr/src/lib/libbc/inc/include/sys/ |
H A D | resource.h | 87 int rlim_max; /* maximum value for rlim_cur */ member
|
/titanic_44/usr/src/lib/libshell/common/bltins/ |
H A D | ulimit.c | 154 rlp.rlim_max = i; in b_ulimit() 173 i = rlp.rlim_max; in b_ulimit()
|
/titanic_44/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_main.c | 99 rlim.rlim_max = RLIM_INFINITY; in daemonize_init() 107 rlim.rlim_cur = rlim.rlim_max; in daemonize_init()
|
/titanic_44/usr/src/cmd/ptools/pldd/ |
H A D | pldd.c | 90 rlim.rlim_cur = rlim.rlim_max; in main()
|
/titanic_44/usr/src/cmd/vntsd/ |
H A D | vntsd.c | 354 if (rlim.rlim_cur < rlim.rlim_max) in main() 355 rlim.rlim_cur = rlim.rlim_max; in main()
|
/titanic_44/usr/src/cmd/fs.d/smbclnt/smbiod-svc/ |
H A D | smbiod-svc.c | 222 } else if (rl.rlim_cur < rl.rlim_max) { in main() 223 rl.rlim_cur = rl.rlim_max; in main()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | pclose.c | 97 nfiles = rl.rlim_max; in mypopen()
|
/titanic_44/usr/src/cmd/idmap/idmapd/ |
H A D | idmapd.c | 285 } else if (rl.rlim_cur < rl.rlim_max) { in main() 286 rl.rlim_cur = rl.rlim_max; in main()
|
/titanic_44/usr/src/cmd/ttymon/ |
H A D | ttymon.c | 201 rlimit.rlim_cur = rlimit.rlim_max = Rlimit.rlim_max; in initialize()
|
/titanic_44/usr/src/cmd/smbsrv/smbd/ |
H A D | smbd_main.c | 142 (rl.rlim_cur < rl.rlim_max)) { in main() 144 rl.rlim_cur = rl.rlim_max; in main()
|