Home
last modified time | relevance | path

Searched refs:rlim_cur (Results 1 – 25 of 93) sorted by relevance

1234

/titanic_50/usr/src/uts/common/syscall/
H A Drlimit.c100 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 Dulimit.c43 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 Dplimit.c327 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 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()
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 Dgetdtblsize.c60 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 Dgetdtblsize.c55 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 Dvlimit.c57 return (rlim.rlim_cur); in vlimit()
59 rlim.rlim_cur = value; in vlimit()
/titanic_50/usr/src/uts/common/sys/
H A Dresource.h126 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 Dulimit.c158 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 Dlpsched.c154 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 Dpwait.c86 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 Dprutil.c254 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 Dgetdtablesize.c49 return (rip.rlim_cur); in getdtablesize()
/titanic_50/usr/src/ucbhead/sys/
H A Dresource.h80 int rlim_cur; /* current (soft) limit */ member
/titanic_50/usr/src/test/zfs-tests/tests/functional/libzfs/
H A Dmany_fds.c46 limit.rlim_cur = 65535; in main()
/titanic_50/usr/src/lib/libbc/inc/include/sys/
H A Dresource.h86 int rlim_cur; /* current (soft) limit */ member
/titanic_50/usr/src/lib/libshell/common/bltins/
H A Dulimit.c156 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 Dsmbiod-svc.c222 } 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 Dfmd_main.c98 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 Dsmbd_main.c142 (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 Didmapd.c300 } 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 Ddoulimit.c133 ulimit.rlim_cur = (limit * 512); /* fslimit is in blocks */ in assign_ulimit()
/titanic_50/usr/src/uts/common/exec/aout/
H A Daout.c252 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 Dpldd.c90 rlim.rlim_cur = rlim.rlim_max; in main()
/titanic_50/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()

1234