Searched refs:lim (Results 1 – 3 of 3) sorted by relevance
228 struct rlimit lim; in thread_check_stack()231 ASSERT_OK(getrlimit(RLIMIT_STACK, &lim)); in thread_check_stack()232 if (lim.rlim_cur == RLIM_INFINITY) in thread_check_stack()233 lim.rlim_cur = 2 << 20; /* glibc default. */ in thread_check_stack()238 expected = (size_t)lim.rlim_cur; in thread_check_stack()
302 struct rlimit lim; \303 lim.rlim_cur = (num); \304 lim.rlim_max = lim.rlim_cur; \305 if (setrlimit(RLIMIT_NOFILE, &lim)) \
100 struct rlimit lim; in uv__thread_stack_size() local106 if (getrlimit(RLIMIT_STACK, &lim)) in uv__thread_stack_size()109 if (lim.rlim_cur == RLIM_INFINITY) in uv__thread_stack_size()113 lim.rlim_cur -= lim.rlim_cur % (rlim_t) getpagesize(); in uv__thread_stack_size()115 if (lim.rlim_cur >= (rlim_t) uv__min_stack_size()) in uv__thread_stack_size()116 return lim.rlim_cur; in uv__thread_stack_size()
Completed in 19 milliseconds