rlim_max 69 arch/parisc/kernel/sys_parisc.c stack_base = rlim_stack ? rlim_stack->rlim_max rlim_max 318 arch/um/os-Linux/start_up.c if (lim.rlim_max == RLIM_INFINITY) rlim_max 321 arch/um/os-Linux/start_up.c os_info("%llu\n", (unsigned long long)lim.rlim_max); rlim_max 708 fs/exec.c stack_base = bprm->rlim_stack.rlim_max; rlim_max 613 fs/proc/base.c if (rlim[i].rlim_max == RLIM_INFINITY) rlim_max 616 fs/proc/base.c seq_printf(m, "%-20lu ", rlim[i].rlim_max); rlim_max 274 include/linux/compat.h compat_ulong_t rlim_max; rlim_max 693 include/linux/sched/signal.h return READ_ONCE(task->signal->rlim[limit].rlim_max); rlim_max 45 include/uapi/linux/resource.h __kernel_ulong_t rlim_max; rlim_max 52 include/uapi/linux/resource.h __u64 rlim_max; rlim_max 824 kernel/fork.c init_task.signal->rlim[RLIMIT_NPROC].rlim_max = max_threads/2; rlim_max 1410 kernel/sys.c if (r32.rlim_max == COMPAT_RLIM_INFINITY) rlim_max 1411 kernel/sys.c r.rlim_max = RLIM_INFINITY; rlim_max 1413 kernel/sys.c r.rlim_max = r32.rlim_max; rlim_max 1430 kernel/sys.c if (r.rlim_max > COMPAT_RLIM_INFINITY) rlim_max 1431 kernel/sys.c r32.rlim_max = COMPAT_RLIM_INFINITY; rlim_max 1433 kernel/sys.c r32.rlim_max = r.rlim_max; rlim_max 1461 kernel/sys.c if (x.rlim_max > 0x7FFFFFFF) rlim_max 1462 kernel/sys.c x.rlim_max = 0x7FFFFFFF; rlim_max 1481 kernel/sys.c if (r.rlim_max > 0x7FFFFFFF) rlim_max 1482 kernel/sys.c r.rlim_max = 0x7FFFFFFF; rlim_max 1485 kernel/sys.c put_user(r.rlim_max, &rlim->rlim_max)) rlim_max 1508 kernel/sys.c if (rlim->rlim_max == RLIM_INFINITY) rlim_max 1509 kernel/sys.c rlim64->rlim_max = RLIM64_INFINITY; rlim_max 1511 kernel/sys.c rlim64->rlim_max = rlim->rlim_max; rlim_max 1520 kernel/sys.c if (rlim64_is_infinity(rlim64->rlim_max)) rlim_max 1521 kernel/sys.c rlim->rlim_max = RLIM_INFINITY; rlim_max 1523 kernel/sys.c rlim->rlim_max = (unsigned long)rlim64->rlim_max; rlim_max 1536 kernel/sys.c if (new_rlim->rlim_cur > new_rlim->rlim_max) rlim_max 1539 kernel/sys.c new_rlim->rlim_max > sysctl_nr_open) rlim_max 1555 kernel/sys.c if (new_rlim->rlim_max > rlim->rlim_max && rlim_max 636 security/apparmor/policy_unpack.c profile->rlimits.limits[a].rlim_max = tmp2; rlim_max 86 security/apparmor/resource.c if (profile->rlimits.mask & (1 << resource) && new_rlim->rlim_max > rlim_max 87 security/apparmor/resource.c profile->rlimits.limits[resource].rlim_max) rlim_max 89 security/apparmor/resource.c return audit_resource(profile, resource, new_rlim->rlim_max, NULL, NULL, rlim_max 126 security/apparmor/resource.c new_rlim->rlim_max, peer, rlim_max 163 security/apparmor/resource.c rlim->rlim_cur = min(rlim->rlim_max, rlim_max 181 security/apparmor/resource.c rlim->rlim_max = min(rlim->rlim_max, rlim_max 182 security/apparmor/resource.c new->rlimits.limits[j].rlim_max); rlim_max 184 security/apparmor/resource.c rlim->rlim_cur = min(rlim->rlim_cur, rlim->rlim_max); rlim_max 2537 security/selinux/hooks.c rlim->rlim_cur = min(rlim->rlim_max, initrlim->rlim_cur); rlim_max 4114 security/selinux/hooks.c if (old_rlim->rlim_max != new_rlim->rlim_max) rlim_max 532 tools/io_uring/io_uring-bench.c rlim.rlim_max = RLIM_INFINITY; rlim_max 345 tools/perf/bench/epoll-ctl.c rl.rlim_cur = rl.rlim_max = nfds * nthreads * 2 + 50; rlim_max 347 tools/perf/bench/epoll-ctl.c (uint64_t)prevrl.rlim_max, (uint64_t)rl.rlim_max); rlim_max 465 tools/perf/bench/epoll-wait.c rl.rlim_cur = rl.rlim_max = nfds * nthreads * 2 + 50; rlim_max 467 tools/perf/bench/epoll-wait.c (uint64_t)prevrl.rlim_max, (uint64_t)rl.rlim_max); rlim_max 578 tools/perf/builtin-sched.c if (limit.rlim_cur > limit.rlim_max) { rlim_max 579 tools/perf/builtin-sched.c limit.rlim_max = limit.rlim_cur; rlim_max 865 tools/perf/pmu-events/jevents.c return min((int)rlim.rlim_max / 2, 512); rlim_max 1734 tools/perf/util/evsel.c l.rlim_cur = l.rlim_max; rlim_max 1736 tools/perf/util/evsel.c l.rlim_cur = l.rlim_max + 1000; rlim_max 1737 tools/perf/util/evsel.c l.rlim_max = l.rlim_cur; rlim_max 19 tools/perf/util/rlimit.c rlim.rlim_max *= 4; rlim_max 23 tools/perf/util/rlimit.c rlim.rlim_max /= 2; rlim_max 8 tools/testing/selftests/bpf/bpf_rlimit.h .rlim_max = RLIM_INFINITY, rlim_max 25 tools/testing/selftests/bpf/bpf_rlimit.h rlim_new.rlim_max = rlim_old.rlim_max + (1UL << 20); rlim_max 416 tools/testing/selftests/bpf/map_tests/sk_storage_map.c rlim_new.rlim_max = rlim_new.rlim_cur + 128; rlim_max 161 tools/testing/selftests/mqueue/mq_open_tests.c cur_limits.rlim_max = 16384; rlim_max 301 tools/testing/selftests/mqueue/mq_open_tests.c (long) saved_limits.rlim_max); rlim_max 317 tools/testing/selftests/mqueue/mq_open_tests.c printf("\tRLIMIT_MSGQUEUE(hard):\t\t%ld\n", (long) cur_limits.rlim_max); rlim_max 391 tools/testing/selftests/mqueue/mq_open_tests.c cur_limits.rlim_max = 2 * cur_limits.rlim_cur; rlim_max 408 tools/testing/selftests/mqueue/mq_open_tests.c cur_limits.rlim_cur = cur_limits.rlim_max = cur_def_msgs * rlim_max 427 tools/testing/selftests/mqueue/mq_open_tests.c cur_max_msgsize = cur_limits.rlim_max >> 4; rlim_max 525 tools/testing/selftests/mqueue/mq_perf_tests.c cur_limits.rlim_max = RLIM_INFINITY; rlim_max 659 tools/testing/selftests/mqueue/mq_perf_tests.c (long) saved_limits.rlim_max); rlim_max 675 tools/testing/selftests/mqueue/mq_perf_tests.c (long) cur_limits.rlim_max); rlim_max 450 tools/testing/selftests/net/reuseport_bpf.c rlim_new.rlim_max = rlim_old.rlim_max + (1UL << 20); rlim_max 85 tools/testing/selftests/powerpc/ptrace/core-pkey.c if (rlim.rlim_max != RLIM_INFINITY && rlim_max 86 tools/testing/selftests/powerpc/ptrace/core-pkey.c rlim.rlim_max < CORE_FILE_LIMIT) rlim_max 87 tools/testing/selftests/powerpc/ptrace/core-pkey.c rlim.rlim_max = CORE_FILE_LIMIT; rlim_max 99 tools/testing/selftests/powerpc/ptrace/core-pkey.c if (rlim.rlim_max != RLIM_INFINITY && rlim_max 100 tools/testing/selftests/powerpc/ptrace/core-pkey.c rlim.rlim_max < CORE_FILE_LIMIT) rlim_max 101 tools/testing/selftests/powerpc/ptrace/core-pkey.c rlim.rlim_max = CORE_FILE_LIMIT; rlim_max 178 tools/testing/selftests/vm/compaction_test.c lim.rlim_max = RLIM_INFINITY; rlim_max 31 tools/testing/selftests/vm/mlock-random-test.c new.rlim_max = max; rlim_max 29 tools/testing/selftests/vm/on-fault-limit.c map = mmap(NULL, 2 * lims.rlim_max, PROT_READ | PROT_WRITE, rlim_max 35 tools/testing/selftests/vm/on-fault-limit.c munmap(map, 2 * lims.rlim_max);