Lines Matching refs:rl
106 struct rlimit rl;
143 rl.rlim_cur = rl.rlim_max = rlim_value;
144 unixresult = setrlimit(unixresource, &rl);
157 rl.rlim_cur = OPEN_MAX;
158 unixresult = setrlimit(unixresource, &rl);
172 rl.rlim_cur = rl.rlim_max = NR_OPEN;
173 unixresult = setrlimit(unixresource, &rl);
181 rl.rlim_cur = rl.rlim_max = maxfiles;
182 unixresult = setrlimit(unixresource, &rl);
189 if (getrlimit(unixresource, &rl) == 0) {
190 rl.rlim_cur = rl.rlim_max;
191 unixresult = setrlimit(unixresource, &rl);
203 struct rlimit rl;
208 unixresult = getrlimit(unixresource, &rl);
210 *value = rl.rlim_max;
220 struct rlimit rl;
225 unixresult = getrlimit(unixresource, &rl);
227 *value = rl.rlim_cur;