Lines Matching defs:rl
97 struct rlimit rl;
134 rl.rlim_cur = rl.rlim_max = rlim_value;
135 unixresult = setrlimit(unixresource, &rl);
148 rl.rlim_cur = OPEN_MAX;
149 unixresult = setrlimit(unixresource, &rl);
163 rl.rlim_cur = rl.rlim_max = NR_OPEN;
164 unixresult = setrlimit(unixresource, &rl);
172 rl.rlim_cur = rl.rlim_max = maxfiles;
173 unixresult = setrlimit(unixresource, &rl);
180 if (getrlimit(unixresource, &rl) == 0) {
181 rl.rlim_cur = rl.rlim_max;
182 unixresult = setrlimit(unixresource, &rl);
194 struct rlimit rl;
199 unixresult = getrlimit(unixresource, &rl);
201 *value = rl.rlim_max;
211 struct rlimit rl;
216 unixresult = getrlimit(unixresource, &rl);
218 *value = rl.rlim_cur;