Home
last modified time | relevance | path

Searched refs:rlim (Results 1 – 2 of 2) sorted by relevance

/toolchain/binutils/binutils-2.25/libiberty/
Dstack-limit.c51 struct rlimit rlim; in stack_limit_increase() local
52 if (getrlimit (RLIMIT_STACK, &rlim) == 0 in stack_limit_increase()
53 && rlim.rlim_cur != RLIM_INFINITY in stack_limit_increase()
54 && rlim.rlim_cur < pref in stack_limit_increase()
55 && (rlim.rlim_max == RLIM_INFINITY || rlim.rlim_cur < rlim.rlim_max)) in stack_limit_increase()
57 rlim.rlim_cur = pref; in stack_limit_increase()
58 if (rlim.rlim_max != RLIM_INFINITY && rlim.rlim_cur > rlim.rlim_max) in stack_limit_increase()
59 rlim.rlim_cur = rlim.rlim_max; in stack_limit_increase()
60 setrlimit (RLIMIT_STACK, &rlim); in stack_limit_increase()
/toolchain/binutils/binutils-2.25/bfd/
Dcache.c82 struct rlimit rlim; in bfd_cache_max_open() local
83 if (getrlimit (RLIMIT_NOFILE, &rlim) == 0 in bfd_cache_max_open()
84 && rlim.rlim_cur != (rlim_t) RLIM_INFINITY) in bfd_cache_max_open()
85 max = rlim.rlim_cur / 8; in bfd_cache_max_open()