Searched refs:setrlimit (Results 1 - 25 of 81) sorted by relevance

1234

/illumos-gate/usr/src/lib/libc/common/sys/
H A Dsetrlimit.s30 .file "setrlimit.s"
32 /* C library -- setrlimit */
33 /* int setrlimit(int resource, const struct rlimit *rlp) */
38 ANSI_PRAGMA_WEAK(setrlimit,function)
47 SYSCALL_RVAL1(setrlimit)
49 SET_SIZE(setrlimit)
/illumos-gate/usr/src/ucbhead/sys/
H A Dresource.h87 extern int setrlimit(int, const struct rlimit *);
92 extern int setrlimit();
/illumos-gate/usr/src/lib/libbc/libc/compat/4.1/
H A Dvlimit.c61 return (setrlimit(limit - 1, &rlim));
/illumos-gate/usr/src/lib/libbc/libc/compat/common/
H A Dulimit.c47 return (setrlimit(RLIMIT_FSIZE, &rlimit));
/illumos-gate/usr/src/uts/common/sys/
H A Dresource.h237 #pragma redefine_extname setrlimit setrlimit64
240 #define setrlimit setrlimit64 macro
252 #pragma redefine_extname setrlimit64 setrlimit
255 #define setrlimit64 setrlimit
261 extern int setrlimit(int, const struct rlimit *);
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Ddoulimit.c84 return (setrlimit(RLIMIT_FSIZE, &dblimit));
109 n = setrlimit(RLIMIT_FSIZE, &ulimit);
153 setrlimit(RLIMIT_FSIZE, &dblimit);
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Drlimit.c56 int setrlimit(resource, rlp) function
/illumos-gate/usr/src/test/zfs-tests/tests/functional/libzfs/
H A Dmany_fds.c49 if (setrlimit(RLIMIT_NOFILE, &limit) != 0) {
50 (void) printf("many_fds: setrlimit() failed with errno=%d\n",
/illumos-gate/usr/src/cmd/ptools/pldd/
H A Dpldd.c91 (void) setrlimit(RLIMIT_NOFILE, &rlim);
/illumos-gate/usr/src/cmd/ptools/pwait/
H A Dpwait.c88 if (setrlimit(RLIMIT_NOFILE, &rlim) != 0) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Dwait.c90 if (setrlimit(RLIMIT_NOFILE, &rl) == -1) {
145 (void) setrlimit(RLIMIT_NOFILE, &saved_file_limit);
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_main.c101 (void) setrlimit(RLIMIT_CORE, &rlim);
108 (void) setrlimit(RLIMIT_NOFILE, &rlim);
/illumos-gate/usr/src/cmd/svc/startd/
H A Dwait.c352 (void) setrlimit(RLIMIT_NOFILE, &init_fd_rlimit);
365 (void) setrlimit(RLIMIT_NOFILE, &fd_new);
/illumos-gate/usr/src/man/man2/
H A DMakefile247 setrlimit.2 \
337 setrlimit.2 := LINKSRC = getrlimit.2
/illumos-gate/usr/src/lib/libproc/common/
H A Dpr_getrlimit.c86 * setrlimit() system call -- executed by subject process.
92 sysret_t rval; /* return value from setrlimit() */
93 argdes_t argd[2]; /* arg descriptors for setrlimit() */
99 return (setrlimit(resource, rlp));
188 sysret_t rval; /* return value from setrlimit() */
189 argdes_t argd[2]; /* arg descriptors for setrlimit() */
/illumos-gate/usr/src/cmd/rpcsvc/
H A Drwall.c92 (void) setrlimit(RLIMIT_NOFILE, &rl);
/illumos-gate/usr/src/cmd/sh/
H A Dulimit.c239 if (setrlimit(res, &rlimit) < 0) {
/illumos-gate/usr/src/lib/libshell/common/bltins/
H A Dulimit.c157 if(setrlimit(n,&rlp) <0)
/illumos-gate/usr/src/cmd/nscd/
H A Dserver.c454 if (setrlimit(RLIMIT_NOFILE, &rl) < 0) {
/illumos-gate/usr/src/cmd/prstat/
H A Dprutil.c258 if (setrlimit(RLIMIT_NOFILE, &rlim) == -1)
/illumos-gate/usr/src/cmd/ptools/pcred/
H A Dpcred.c130 (void) setrlimit(RLIMIT_NOFILE, &rlim);
/illumos-gate/usr/src/cmd/lvm/rpc.metamhd/
H A Dmhd_init.c120 if (setrlimit(RLIMIT_NOFILE, &rlimit) != 0)
121 return (mhd_error(mhep, errno, "setrlimit(RLIMIT_NOFILE)"));
/illumos-gate/usr/src/cmd/gcore/
H A Dgcore.c233 (void) setrlimit(RLIMIT_NOFILE, &rlim);
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dlpsched.c155 setrlimit(RLIMIT_NOFILE, &rlim);
/illumos-gate/usr/src/cmd/ptools/psig/
H A Dpsig.c92 (void) setrlimit(RLIMIT_NOFILE, &rlim);

Completed in 76 milliseconds

1234