Home
last modified time | relevance | path

Searched refs:krlimits (Results 1 – 4 of 4) sorted by relevance

/glibc-2.36/sysdeps/unix/sysv/linux/mips/
Dsetrlimit64.c45 struct rlimit64 krlimits; in __old_setrlimit64() local
48 krlimits.rlim_cur = RLIM64_INFINITY; in __old_setrlimit64()
50 krlimits.rlim_cur = rlimits->rlim_cur; in __old_setrlimit64()
52 krlimits.rlim_max = RLIM64_INFINITY; in __old_setrlimit64()
54 krlimits.rlim_max = rlimits->rlim_max; in __old_setrlimit64()
56 return __new_setrlimit64 (resource, &krlimits); in __old_setrlimit64()
Dgetrlimit64.c46 struct rlimit64 krlimits; in strong_alias() local
48 if (__getrlimit64 (resource, &krlimits) < 0) in strong_alias()
51 if (krlimits.rlim_cur == RLIM64_INFINITY) in strong_alias()
54 rlimits->rlim_cur = krlimits.rlim_cur; in strong_alias()
55 if (krlimits.rlim_max == RLIM64_INFINITY) in strong_alias()
58 rlimits->rlim_max = krlimits.rlim_max; in strong_alias()
/glibc-2.36/sysdeps/unix/sysv/linux/alpha/
Dgetrlimit64.c36 struct rlimit64 krlimits; in __old_getrlimit64() local
38 if (__getrlimit64 (resource, &krlimits) < 0) in __old_getrlimit64()
41 if (krlimits.rlim_cur == RLIM64_INFINITY) in __old_getrlimit64()
44 rlimits->rlim_cur = krlimits.rlim_cur; in __old_getrlimit64()
45 if (krlimits.rlim_max == RLIM64_INFINITY) in __old_getrlimit64()
48 rlimits->rlim_max = krlimits.rlim_max; in __old_getrlimit64()
Dsetrlimit64.c36 struct rlimit64 krlimits; in __old_setrlimit64() local
39 krlimits.rlim_cur = RLIM64_INFINITY; in __old_setrlimit64()
41 krlimits.rlim_cur = rlimits->rlim_cur; in __old_setrlimit64()
43 krlimits.rlim_max = RLIM64_INFINITY; in __old_setrlimit64()
45 krlimits.rlim_max = rlimits->rlim_max; in __old_setrlimit64()
47 return __setrlimit64 (resource, &krlimits); in __old_setrlimit64()