Lines Matching refs:rlim_max
67 num_open.rlim_cur < num_open.rlim_max; in close_file_descriptors()
114 if(sizeof(rl.rlim_max) > sizeof(long)) in rlimit()
118 fmt = (sizeof(rl.rlim_max) < sizeof(long))?fmt_u:fmt_lu; in rlimit()
139 if(rl.rlim_max == RLIM_INFINITY) in rlimit()
143 msnprintf(strbuff, sizeof(strbuff), fmt, rl.rlim_max); in rlimit()
161 if(rl.rlim_cur != rl.rlim_max) { in rlimit()
178 rl.rlim_cur = rl.rlim_max; in rlimit()
205 if(rl.rlim_max == RLIM_INFINITY) in rlimit()
209 msnprintf(strbuff, sizeof(strbuff), fmt, rl.rlim_max); in rlimit()
259 num_open.rlim_max = sizeof(*memchunk) * (size_t)nitems; in rlimit()
260 msnprintf(strbuff, sizeof(strbuff), fmt, num_open.rlim_max); in rlimit()
283 num_open.rlim_max = NUM_OPEN; in rlimit()
287 if((size_t)(num_open.rlim_max) > ((size_t)-1) / sizeof(*fd)) { in rlimit()
288 msnprintf(strbuff1, sizeof(strbuff1), fmt, num_open.rlim_max); in rlimit()
299 msnprintf(strbuff, sizeof(strbuff), fmt, num_open.rlim_max); in rlimit()
302 fd = malloc(sizeof(*fd) * (size_t)(num_open.rlim_max)); in rlimit()
315 num_open.rlim_cur < num_open.rlim_max; in rlimit()
319 msnprintf(strbuff, sizeof(strbuff), fmt, num_open.rlim_max); in rlimit()
338 num_open.rlim_cur < num_open.rlim_max; in rlimit()
356 num_open.rlim_max = NUM_NEEDED; in rlimit()
358 msnprintf(strbuff2, sizeof(strbuff2), fmt, num_open.rlim_max); in rlimit()
378 msnprintf(strbuff, sizeof(strbuff), fmt, num_open.rlim_max); in rlimit()
397 if(num_open.rlim_max > num_open.rlim_cur) { in rlimit()
409 rl.rlim_cur < num_open.rlim_max; in rlimit()
435 msnprintf(strbuff1, sizeof(strbuff1), fmt, num_open.rlim_max); in rlimit()