Lines Matching refs:rlim
447 int resource, struct rlimit *rlim) in safe_getrlimit() argument
451 rval = getrlimit(resource, rlim); in safe_getrlimit()
455 "getrlimit(%d,%p) failed", resource, rlim); in safe_getrlimit()
459 rlim, rval); in safe_getrlimit()
464 #define SAFE_GETRLIMIT(resource, rlim) \ argument
465 safe_getrlimit(__FILE__, __LINE__, (resource), (rlim))
468 int resource, const struct rlimit *rlim) in safe_setrlimit() argument
472 rval = setrlimit(resource, rlim); in safe_setrlimit()
476 "setrlimit(%d,%p) failed", resource, rlim); in safe_setrlimit()
480 rlim, rval); in safe_setrlimit()
485 #define SAFE_SETRLIMIT(resource, rlim) \ argument
486 safe_setrlimit(__FILE__, __LINE__, (resource), (rlim))