Lines Matching refs:rlim_cur
1448 if (new_rlim->rlim_cur > new_rlim->rlim_max) in do_prlimit()
1483 new_rlim->rlim_cur != RLIM_INFINITY && in do_prlimit()
1494 update_rlimit_cpu(tsk->group_leader, new_rlim->rlim_cur); in do_prlimit()
1523 if (r32.rlim_cur == COMPAT_RLIM_INFINITY) in COMPAT_SYSCALL_DEFINE2()
1524 r.rlim_cur = RLIM_INFINITY; in COMPAT_SYSCALL_DEFINE2()
1526 r.rlim_cur = r32.rlim_cur; in COMPAT_SYSCALL_DEFINE2()
1543 if (r.rlim_cur > COMPAT_RLIM_INFINITY) in COMPAT_SYSCALL_DEFINE2()
1544 r32.rlim_cur = COMPAT_RLIM_INFINITY; in COMPAT_SYSCALL_DEFINE2()
1546 r32.rlim_cur = r.rlim_cur; in COMPAT_SYSCALL_DEFINE2()
1576 if (x.rlim_cur > 0x7FFFFFFF) in SYSCALL_DEFINE2()
1577 x.rlim_cur = 0x7FFFFFFF; in SYSCALL_DEFINE2()
1596 if (r.rlim_cur > 0x7FFFFFFF) in COMPAT_SYSCALL_DEFINE2()
1597 r.rlim_cur = 0x7FFFFFFF; in COMPAT_SYSCALL_DEFINE2()
1601 if (put_user(r.rlim_cur, &rlim->rlim_cur) || in COMPAT_SYSCALL_DEFINE2()
1621 if (rlim->rlim_cur == RLIM_INFINITY) in rlim_to_rlim64()
1622 rlim64->rlim_cur = RLIM64_INFINITY; in rlim_to_rlim64()
1624 rlim64->rlim_cur = rlim->rlim_cur; in rlim_to_rlim64()
1633 if (rlim64_is_infinity(rlim64->rlim_cur)) in rlim64_to_rlim()
1634 rlim->rlim_cur = RLIM_INFINITY; in rlim64_to_rlim()
1636 rlim->rlim_cur = (unsigned long)rlim64->rlim_cur; in rlim64_to_rlim()