Searched refs:krlimits (Results 1 – 4 of 4) sorted by relevance
45 struct rlimit64 krlimits; in __old_setrlimit64() local48 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()
46 struct rlimit64 krlimits; in strong_alias() local48 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()
36 struct rlimit64 krlimits; in __old_getrlimit64() local38 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()
36 struct rlimit64 krlimits; in __old_setrlimit64() local39 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()