Home
last modified time | relevance | path

Searched refs:rlim_max (Results 1 – 25 of 81) sorted by relevance

1234

/titanic_44/usr/src/uts/common/syscall/
H A Drlimit.c100 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 Dplimit.c336 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 Drctl_proc.c229 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 Drctl.c2101 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 Dresource.h127 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 Dulimit.c169 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 Dclosefrom.c93 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 Dprutil.c255 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 Drwall.c90 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 Daout.c253 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 Dypxfrd_svc.c240 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 Dulimit.c46 rlimit.rlim_cur = rlimit.rlim_max = newlimit * 512; in ulimit()
/titanic_44/usr/src/lib/libbc/libc/compat/4.1/
H A Dvlimit.c60 rlim.rlim_max = RLIM_INFINITY; in vlimit()
/titanic_44/usr/src/ucbhead/sys/
H A Dresource.h81 int rlim_max; /* maximum value for rlim_cur */ member
/titanic_44/usr/src/test/zfs-tests/tests/functional/libzfs/
H A Dmany_fds.c47 limit.rlim_max = 65535; in main()
/titanic_44/usr/src/lib/libbc/inc/include/sys/
H A Dresource.h87 int rlim_max; /* maximum value for rlim_cur */ member
/titanic_44/usr/src/lib/libshell/common/bltins/
H A Dulimit.c154 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 Dfmd_main.c99 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 Dpldd.c90 rlim.rlim_cur = rlim.rlim_max; in main()
/titanic_44/usr/src/cmd/vntsd/
H A Dvntsd.c354 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 Dsmbiod-svc.c222 } 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 Dpclose.c97 nfiles = rl.rlim_max; in mypopen()
/titanic_44/usr/src/cmd/idmap/idmapd/
H A Didmapd.c285 } 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 Dttymon.c201 rlimit.rlim_cur = rlimit.rlim_max = Rlimit.rlim_max; in initialize()
/titanic_44/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_main.c142 (rl.rlim_cur < rl.rlim_max)) { in main()
144 rl.rlim_cur = rl.rlim_max; in main()

1234