Searched refs:getrlimit (Results 1 - 25 of 83) sorted by relevance

1234

/illumos-gate/usr/src/lib/libc/common/sys/
H A Dgetrlimit.s30 .file "getrlimit.s"
32 /* C library -- getrlimit */
33 /* int getrlimit(int resources, struct rlimit *rlp) */
38 ANSI_PRAGMA_WEAK(getrlimit,function)
47 SYSCALL_RVAL1(getrlimit)
49 SET_SIZE(getrlimit)
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dgetdtablesize.c33 * getdtablesize is implemented on top of getrlimit's
45 error = getrlimit(RLIMIT_NOFILE, &rip);
H A Drlimit.c42 int getrlimit(resource, rlp) function
/illumos-gate/usr/src/lib/libbc/libc/compat/common/
H A Dulimit.c41 if (getrlimit(RLIMIT_FSIZE, &rlimit) < 0)
50 if (getrlimit(RLIMIT_DATA, &rlimit) < 0)
/illumos-gate/usr/src/ucbhead/sys/
H A Dresource.h88 extern int getrlimit(int, struct rlimit *);
93 extern int getrlimit();
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetdtblsize.c45 * getdtablesize is implemented on top of getrlimit's
53 if (getrlimit(RLIMIT_NOFILE, &rip) == -1)
H A Dclosefrom.c92 if (getrlimit(RLIMIT_NOFILE, &rl) == 0)
/illumos-gate/usr/src/ucblib/libucb/port/sys/
H A Dgetdtblsize.c50 * getdtablesize is implemented on top of getrlimit's
58 if (getrlimit(RLIMIT_NOFILE, &rip) == -1)
/illumos-gate/usr/src/lib/libbc/libc/compat/4.1/
H A Dvlimit.c55 if (getrlimit(limit - 1, &rlim) < 0)
/illumos-gate/usr/src/uts/common/sys/
H A Dresource.h238 #pragma redefine_extname getrlimit getrlimit64
241 #define getrlimit getrlimit64 macro
253 #pragma redefine_extname getrlimit64 getrlimit
256 #define getrlimit64 getrlimit
262 extern int getrlimit(int, struct rlimit *);
/illumos-gate/usr/src/cmd/sh/
H A Dulimit.c147 if (getrlimit(res, &rlimit) < 0) {
223 if (getrlimit(res, &rlimit) < 0) {
/illumos-gate/usr/src/cmd/ptools/pldd/
H A Dpldd.c89 if (getrlimit(RLIMIT_NOFILE, &rlim) == 0) {
/illumos-gate/usr/src/cmd/ptools/pwait/
H A Dpwait.c83 if (getrlimit(RLIMIT_NOFILE, &rlim) == 0) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dpclose.c96 if (getrlimit(RLIMIT_NOFILE, &rl) == 0)
/illumos-gate/usr/src/lib/libshell/common/bltins/
H A Dulimit.c151 if(getrlimit(n,&rlp) <0)
170 if(getrlimit(n,&rlp) <0)
/illumos-gate/usr/src/cmd/svc/startd/
H A Dwait.c360 (void) getrlimit(RLIMIT_NOFILE, &init_fd_rlimit);
361 (void) getrlimit(RLIMIT_NOFILE, &fd_new);
/illumos-gate/usr/src/man/man2/
H A DMakefile66 getrlimit.2 \
337 setrlimit.2 := LINKSRC = getrlimit.2
/illumos-gate/usr/src/lib/libproc/common/
H A Dpr_getrlimit.c38 * getrlimit() system call -- executed by subject process.
44 sysret_t rval; /* return value from getrlimit() */
45 argdes_t argd[2]; /* arg descriptors for getrlimit() */
51 return (getrlimit(resource, rlp));
140 sysret_t rval; /* return value from getrlimit() */
141 argdes_t argd[2]; /* arg descriptors for getrlimit() */
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dplock.c257 (void) getrlimit(RLIMIT_STACK, &rl);
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypxfrd_svc.c241 getrlimit(RLIMIT_NOFILE, &rl);
/illumos-gate/usr/src/cmd/lvm/rpc.mdcommd/
H A Dmddoors.c213 (void) getrlimit(RLIMIT_NOFILE, &rl);
215 syslog(LOG_DAEMON | LOG_ERR, gettext("Cannot getrlimit"));
/illumos-gate/usr/src/cmd/rpcsvc/
H A Drwall.c89 if (getrlimit(RLIMIT_NOFILE, &rl) == 0) {
/illumos-gate/usr/src/cmd/auditreduce/
H A Dmain.c450 if (getrlimit(RLIMIT_NOFILE, &rl) != -1)
502 if (getrlimit(RLIMIT_NOFILE, &rl) == -1) {
503 perror("auditreduce: getrlimit");
/illumos-gate/usr/src/cmd/prstat/
H A Dprutil.c252 if (getrlimit(RLIMIT_NOFILE, &rlim) == -1)
253 Die(gettext("getrlimit failed"));
/illumos-gate/usr/src/cmd/ptools/pcred/
H A Dpcred.c128 if (getrlimit(RLIMIT_NOFILE, &rlim) == 0) {

Completed in 324 milliseconds

1234