setrlimit 36 arch/um/os-Linux/main.c if (setrlimit(RLIMIT_STACK, &lim) < 0) { setrlimit 1397 kernel/sys.c COMPAT_SYSCALL_DEFINE2(setrlimit, unsigned int, resource, setrlimit 1653 kernel/sys.c SYSCALL_DEFINE2(setrlimit, unsigned int, resource, struct rlimit __user *, rlim) setrlimit 437 samples/bpf/map_perf_test_user.c setrlimit(RLIMIT_MEMLOCK, &r); setrlimit 103 samples/bpf/offwaketime_user.c setrlimit(RLIMIT_MEMLOCK, &r); setrlimit 27 samples/bpf/sockex2_user.c setrlimit(RLIMIT_MEMLOCK, &r); setrlimit 41 samples/bpf/sockex3_user.c setrlimit(RLIMIT_MEMLOCK, &r); setrlimit 21 samples/bpf/spintest_user.c setrlimit(RLIMIT_MEMLOCK, &r); setrlimit 104 samples/bpf/syscall_tp_user.c setrlimit(RLIMIT_MEMLOCK, &r); setrlimit 299 samples/bpf/task_fd_query_user.c if (setrlimit(RLIMIT_MEMLOCK, &r)) { setrlimit 511 samples/bpf/test_lru_dist.c assert(!setrlimit(RLIMIT_MEMLOCK, &r)); setrlimit 118 samples/bpf/test_map_in_map_user.c assert(!setrlimit(RLIMIT_MEMLOCK, &r)); setrlimit 133 samples/bpf/test_overhead_user.c setrlimit(RLIMIT_MEMLOCK, &r); setrlimit 288 samples/bpf/trace_event_user.c setrlimit(RLIMIT_MEMLOCK, &r); setrlimit 125 samples/bpf/tracex2_user.c if (setrlimit(RLIMIT_MEMLOCK, &r)) { setrlimit 117 samples/bpf/tracex3_user.c if (setrlimit(RLIMIT_MEMLOCK, &r)) { setrlimit 58 samples/bpf/tracex4_user.c if (setrlimit(RLIMIT_MEMLOCK, &r)) { setrlimit 35 samples/bpf/tracex5_user.c setrlimit(RLIMIT_MEMLOCK, &r); setrlimit 181 samples/bpf/tracex6_user.c setrlimit(RLIMIT_MEMLOCK, &r); setrlimit 117 samples/bpf/xdp1_user.c if (setrlimit(RLIMIT_MEMLOCK, &r)) { setrlimit 137 samples/bpf/xdp_adjust_tail_user.c if (setrlimit(RLIMIT_MEMLOCK, &r)) { setrlimit 683 samples/bpf/xdp_monitor_user.c if (setrlimit(RLIMIT_MEMLOCK, &r)) { setrlimit 702 samples/bpf/xdp_redirect_cpu_user.c if (setrlimit(RLIMIT_MEMLOCK, &r)) { setrlimit 135 samples/bpf/xdp_redirect_map_user.c if (setrlimit(RLIMIT_MEMLOCK, &r)) { setrlimit 136 samples/bpf/xdp_redirect_user.c if (setrlimit(RLIMIT_MEMLOCK, &r)) { setrlimit 670 samples/bpf/xdp_router_ipv4_user.c if (setrlimit(RLIMIT_MEMLOCK, &r)) { setrlimit 484 samples/bpf/xdp_rxq_info_user.c if (setrlimit(RLIMIT_MEMLOCK, &r)) { setrlimit 141 samples/bpf/xdp_sample_pkts_user.c if (setrlimit(RLIMIT_MEMLOCK, &r)) { setrlimit 254 samples/bpf/xdp_tx_iptunnel_user.c if (setrlimit(RLIMIT_MEMLOCK, &r)) { setrlimit 741 samples/bpf/xdpsock_user.c if (setrlimit(RLIMIT_MEMLOCK, &r)) { setrlimit 77 tools/bpf/bpftool/common.c setrlimit(RLIMIT_MEMLOCK, &rinf); setrlimit 533 tools/io_uring/io_uring-bench.c if (setrlimit(RLIMIT_MEMLOCK, &rlim) < 0) { setrlimit 348 tools/perf/bench/epoll-ctl.c if (setrlimit(RLIMIT_NOFILE, &rl) < 0) setrlimit 468 tools/perf/bench/epoll-wait.c if (setrlimit(RLIMIT_NOFILE, &rl) < 0) setrlimit 582 tools/perf/builtin-sched.c if (setrlimit(RLIMIT_NOFILE, &limit) == -1) { setrlimit 248 tools/perf/tests/dso-data.c return setrlimit(RLIMIT_NOFILE, &rlim); setrlimit 1739 tools/perf/util/evsel.c if (setrlimit(RLIMIT_NOFILE, &l) == 0) { setrlimit 21 tools/perf/util/rlimit.c if (setrlimit(RLIMIT_MEMLOCK, &rlim) < 0) { setrlimit 25 tools/perf/util/rlimit.c if (setrlimit(RLIMIT_MEMLOCK, &rlim) < 0) setrlimit 19 tools/testing/selftests/bpf/bpf_rlimit.h if (setrlimit(RLIMIT_MEMLOCK, &rlim_new) < 0) { setrlimit 26 tools/testing/selftests/bpf/bpf_rlimit.h setrlimit(RLIMIT_MEMLOCK, &rlim_new); setrlimit 417 tools/testing/selftests/bpf/map_tests/sk_storage_map.c err = setrlimit(RLIMIT_NOFILE, &rlim_new); setrlimit 432 tools/testing/selftests/bpf/map_tests/sk_storage_map.c setrlimit(RLIMIT_NOFILE, &rlim_old); setrlimit 169 tools/testing/selftests/bpf/xdping.c if (setrlimit(RLIMIT_MEMLOCK, &r)) { setrlimit 149 tools/testing/selftests/mqueue/mq_open_tests.c if (setrlimit(type, rlim)) setrlimit 275 tools/testing/selftests/mqueue/mq_perf_tests.c if (setrlimit(type, rlim)) setrlimit 451 tools/testing/selftests/net/reuseport_bpf.c setrlimit(RLIMIT_MEMLOCK, &rlim_new); setrlimit 457 tools/testing/selftests/net/reuseport_bpf.c setrlimit(RLIMIT_MEMLOCK, &rlim_old); setrlimit 89 tools/testing/selftests/powerpc/ptrace/core-pkey.c ret = setrlimit(RLIMIT_CORE, &rlim); setrlimit 103 tools/testing/selftests/powerpc/ptrace/core-pkey.c ret = setrlimit(RLIMIT_FSIZE, &rlim); setrlimit 238 tools/testing/selftests/proc/proc-pid-vm.c (void)setrlimit(RLIMIT_CORE, &rlim); setrlimit 179 tools/testing/selftests/vm/compaction_test.c if (setrlimit(RLIMIT_MEMLOCK, &lim)) { setrlimit 32 tools/testing/selftests/vm/mlock-random-test.c if (setrlimit(RLIMIT_MEMLOCK, &new)) {