/titanic_50/usr/src/uts/common/syscall/ |
H A D | rlimit.c | 100 rl64.rlim_max = rl64.rlim_cur = lim; in ulimit() 316 if (rlim64.rlim_cur == RLIM64_INFINITY) in getrlimit32() 317 rlim32.rlim_cur = RLIM32_INFINITY; in getrlimit32() 318 else if (rlim64.rlim_cur == rlim64.rlim_max) { in getrlimit32() 320 rlim32.rlim_cur = RLIM32_SAVED_MAX; in getrlimit32() 323 } else if (rlim64.rlim_cur > (rlim64_t)UINT32_MAX) { in getrlimit32() 325 rlim32.rlim_cur = RLIM32_SAVED_CUR; in getrlimit32() 329 rlim32.rlim_cur = rlim64.rlim_cur; in getrlimit32() 341 up->u_saved_rlimit[resource].rlim_cur = in getrlimit32() 342 rlim64.rlim_cur; in getrlimit32() [all …]
|
/titanic_50/usr/src/lib/libbc/libc/compat/common/ |
H A D | ulimit.c | 43 return (rlimit.rlim_cur / 512); in ulimit() 46 rlimit.rlim_cur = rlimit.rlim_max = newlimit * 512; in ulimit() 52 return (rlimit.rlim_cur); in ulimit()
|
/titanic_50/usr/src/cmd/plimit/ |
H A D | plimit.c | 327 rp->rlim_cur = 0; in parse_limits() 330 if (limit_value(which, soft, &rp->rlim_cur) != 0) in parse_limits() 344 rp->rlim_cur > rp->rlim_max) in parse_limits() 353 if (rp->rlim_cur != RLIM64_INFINITY) in limit_adjust() 354 rp->rlim_cur /= units; in limit_adjust() 368 if (rp->rlim_cur == RLIM64_INFINITY) in limit_values() 371 (void) sprintf(s1 = buf1, "%lld", rp->rlim_cur); in limit_values() 486 cur = rlim.rlim_cur; in set_one_limit() 495 rlim.rlim_cur = cur; in set_one_limit() 596 if (set_one_limit(Pr, which, rlimit[which].rlim_cur, in set_limits()
|
/titanic_50/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() 251 rlp64.rlim_cur = DFLSSIZ; in rctlproc_default_init() 254 rlp64.rlim_cur = DFLSSIZ; in rctlproc_default_init() 263 rlp64.rlim_cur = rlp64.rlim_max = RLIM64_INFINITY; in rctlproc_default_init() 270 rlp64.rlim_cur = rlim_fd_cur; in rctlproc_default_init() 278 rlp64.rlim_cur = rlp64.rlim_max = RLIM64_INFINITY; in rctlproc_default_init()
|
/titanic_50/usr/src/ucblib/libucb/port/sys/ |
H A D | getdtblsize.c | 60 if (rip.rlim_cur == RLIM_INFINITY) in getdtablesize() 62 return ((int)rip.rlim_cur); in getdtablesize()
|
/titanic_50/usr/src/lib/libc/port/gen/ |
H A D | getdtblsize.c | 55 if (rip.rlim_cur == RLIM_INFINITY) in getdtablesize() 57 return ((int)rip.rlim_cur); in getdtablesize()
|
/titanic_50/usr/src/lib/libbc/libc/compat/4.1/ |
H A D | vlimit.c | 57 return (rlim.rlim_cur); in vlimit() 59 rlim.rlim_cur = value; in vlimit()
|
/titanic_50/usr/src/uts/common/sys/ |
H A D | resource.h | 126 rlim32_t rlim_cur; /* current limit */ member 133 rlim_t rlim_cur; /* current limit */ member 147 rlim64_t rlim_cur; /* current limit */ member
|
/titanic_50/usr/src/cmd/sh/ |
H A D | ulimit.c | 158 if (rlimit.rlim_cur == RLIM_INFINITY) { in sysulimit() 161 prull_buff(rlimit.rlim_cur / in sysulimit() 236 rlimit.rlim_cur = limit; in sysulimit()
|
/titanic_50/usr/src/cmd/lp/cmd/lpsched/ |
H A D | lpsched.c | 154 rlim.rlim_max = rlim.rlim_cur = fd_limit; in main() 159 rlim.rlim_cur, (rlim.rlim_cur - 12)/ 2); in main()
|
/titanic_50/usr/src/cmd/ptools/pwait/ |
H A D | pwait.c | 86 if (rlim.rlim_cur < argc + nfiles + SLOP) { in main() 87 rlim.rlim_cur = argc + nfiles + SLOP; in main()
|
/titanic_50/usr/src/cmd/prstat/ |
H A D | prutil.c | 254 fd_limit = rlim.rlim_cur; in Setrlimit() 256 rlim.rlim_cur = rlim.rlim_max; in Setrlimit() 261 return (rlim.rlim_cur); in Setrlimit()
|
/titanic_50/usr/src/lib/libbc/libc/sys/common/ |
H A D | getdtablesize.c | 49 return (rip.rlim_cur); in getdtablesize()
|
/titanic_50/usr/src/ucbhead/sys/ |
H A D | resource.h | 80 int rlim_cur; /* current (soft) limit */ member
|
/titanic_50/usr/src/test/zfs-tests/tests/functional/libzfs/ |
H A D | many_fds.c | 46 limit.rlim_cur = 65535; in main()
|
/titanic_50/usr/src/lib/libbc/inc/include/sys/ |
H A D | resource.h | 86 int rlim_cur; /* current (soft) limit */ member
|
/titanic_50/usr/src/lib/libshell/common/bltins/ |
H A D | ulimit.c | 156 rlp.rlim_cur = i; in b_ulimit() 175 i = rlp.rlim_cur; in b_ulimit()
|
/titanic_50/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() 227 (int)rl.rlim_cur, errno); in main()
|
/titanic_50/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_main.c | 98 rlim.rlim_cur = RLIM_INFINITY; in daemonize_init() 107 rlim.rlim_cur = rlim.rlim_max; in daemonize_init()
|
/titanic_50/usr/src/cmd/smbsrv/smbd/ |
H A D | smbd_main.c | 142 (rl.rlim_cur < rl.rlim_max)) { in main() 143 orig_limit = rl.rlim_cur; in main() 144 rl.rlim_cur = rl.rlim_max; in main() 147 " from %d to %d", orig_limit, rl.rlim_cur); in main()
|
/titanic_50/usr/src/cmd/idmap/idmapd/ |
H A D | idmapd.c | 300 } else if (rl.rlim_cur < rl.rlim_max) { in main() 301 rl.rlim_cur = rl.rlim_max; in main() 305 rl.rlim_cur); in main()
|
/titanic_50/usr/src/cmd/svr4pkg/libinst/ |
H A D | doulimit.c | 133 ulimit.rlim_cur = (limit * 512); /* fslimit is in blocks */ in assign_ulimit()
|
/titanic_50/usr/src/uts/common/exec/aout/ |
H A D | aout.c | 252 if (fdno_rlim.rlim_cur > 256) { in aoutexec() 253 fdno_rlim.rlim_cur = fdno_rlim.rlim_max = 256; in aoutexec()
|
/titanic_50/usr/src/cmd/ptools/pldd/ |
H A D | pldd.c | 90 rlim.rlim_cur = rlim.rlim_max; in main()
|
/titanic_50/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()
|