Lines Matching refs:rlim_max
1466 if (new_rlim->rlim_cur > new_rlim->rlim_max) in do_prlimit()
1469 new_rlim->rlim_max > sysctl_nr_open) in do_prlimit()
1481 if (new_rlim->rlim_max > rlim->rlim_max && in do_prlimit()
1545 if (r32.rlim_max == COMPAT_RLIM_INFINITY) in COMPAT_SYSCALL_DEFINE2()
1546 r.rlim_max = RLIM_INFINITY; in COMPAT_SYSCALL_DEFINE2()
1548 r.rlim_max = r32.rlim_max; in COMPAT_SYSCALL_DEFINE2()
1565 if (r.rlim_max > COMPAT_RLIM_INFINITY) in COMPAT_SYSCALL_DEFINE2()
1566 r32.rlim_max = COMPAT_RLIM_INFINITY; in COMPAT_SYSCALL_DEFINE2()
1568 r32.rlim_max = r.rlim_max; in COMPAT_SYSCALL_DEFINE2()
1596 if (x.rlim_max > 0x7FFFFFFF) in SYSCALL_DEFINE2()
1597 x.rlim_max = 0x7FFFFFFF; in SYSCALL_DEFINE2()
1616 if (r.rlim_max > 0x7FFFFFFF) in COMPAT_SYSCALL_DEFINE2()
1617 r.rlim_max = 0x7FFFFFFF; in COMPAT_SYSCALL_DEFINE2()
1620 put_user(r.rlim_max, &rlim->rlim_max)) in COMPAT_SYSCALL_DEFINE2()
1643 if (rlim->rlim_max == RLIM_INFINITY) in rlim_to_rlim64()
1644 rlim64->rlim_max = RLIM64_INFINITY; in rlim_to_rlim64()
1646 rlim64->rlim_max = rlim->rlim_max; in rlim_to_rlim64()
1655 if (rlim64_is_infinity(rlim64->rlim_max)) in rlim64_to_rlim()
1656 rlim->rlim_max = RLIM_INFINITY; in rlim64_to_rlim()
1658 rlim->rlim_max = (unsigned long)rlim64->rlim_max; in rlim64_to_rlim()