rlim64 1493 kernel/sys.c static inline bool rlim64_is_infinity(__u64 rlim64) rlim64 1496 kernel/sys.c return rlim64 >= ULONG_MAX; rlim64 1498 kernel/sys.c return rlim64 == RLIM64_INFINITY; rlim64 1502 kernel/sys.c static void rlim_to_rlim64(const struct rlimit *rlim, struct rlimit64 *rlim64) rlim64 1505 kernel/sys.c rlim64->rlim_cur = RLIM64_INFINITY; rlim64 1507 kernel/sys.c rlim64->rlim_cur = rlim->rlim_cur; rlim64 1509 kernel/sys.c rlim64->rlim_max = RLIM64_INFINITY; rlim64 1511 kernel/sys.c rlim64->rlim_max = rlim->rlim_max; rlim64 1514 kernel/sys.c static void rlim64_to_rlim(const struct rlimit64 *rlim64, struct rlimit *rlim) rlim64 1516 kernel/sys.c if (rlim64_is_infinity(rlim64->rlim_cur)) rlim64 1519 kernel/sys.c rlim->rlim_cur = (unsigned long)rlim64->rlim_cur; rlim64 1520 kernel/sys.c if (rlim64_is_infinity(rlim64->rlim_max)) rlim64 1523 kernel/sys.c rlim->rlim_max = (unsigned long)rlim64->rlim_max;