/linux-6.12.1/tools/perf/util/ |
D | rlimit.c | 22 if (setrlimit(RLIMIT_MEMLOCK, &rlim) < 0) { in rlimit__bump_memlock() 26 if (setrlimit(RLIMIT_MEMLOCK, &rlim) < 0) in rlimit__bump_memlock() 47 if (setrlimit(RLIMIT_NOFILE, &l) == 0) { in rlimit__increase_nofile()
|
D | bpf_counter.h | 90 setrlimit(RLIMIT_MEMLOCK, &rinf); in set_max_rlimit()
|
/linux-6.12.1/tools/testing/selftests/kvm/ |
D | kvm_create_max_vcpus.c | 64 int r = setrlimit(RLIMIT_NOFILE, &rl); in main() 69 TEST_ASSERT(!setrlimit(RLIMIT_NOFILE, &rl), "setrlimit() failed!"); in main()
|
/linux-6.12.1/tools/testing/selftests/hid/tests/ |
D | conftest.py | 27 resource.setrlimit(resource.RLIMIT_CORE, (0, 0))
|
/linux-6.12.1/tools/testing/selftests/core/ |
D | unshare_test.c | 53 EXPECT_EQ(0, setrlimit(RLIMIT_NOFILE, &rlimit)) { in TEST()
|
D | close_range_test.c | 268 ASSERT_EQ(0, setrlimit(RLIMIT_NOFILE, &rlimit)); in TEST() 336 ASSERT_EQ(0, setrlimit(RLIMIT_NOFILE, &rlimit)); in TEST()
|
/linux-6.12.1/tools/testing/selftests/powerpc/ptrace/ |
D | core-pkey.c | 89 ret = setrlimit(RLIMIT_CORE, &rlim); in increase_core_file_limit() 103 ret = setrlimit(RLIMIT_FSIZE, &rlim); in increase_core_file_limit()
|
/linux-6.12.1/tools/testing/selftests/x86/ |
D | nx_stack.c | 188 rv = setrlimit(RLIMIT_STACK, &rlim); in main()
|
/linux-6.12.1/tools/testing/selftests/rlimits/ |
D | rlimits-per-userns.c | 40 if (setrlimit(RLIMIT_NPROC, &limit) < 0) in setrlimit_nproc()
|
/linux-6.12.1/arch/um/os-Linux/ |
D | main.c | 37 if (setrlimit(RLIMIT_STACK, &lim) < 0) { in set_stklim()
|
/linux-6.12.1/tools/bpf/bpftool/ |
D | common.c | 123 if (setrlimit(RLIMIT_MEMLOCK, &rlim_cur_zero)) in known_to_need_rlimit() 133 setrlimit(RLIMIT_MEMLOCK, &rlim_init); in known_to_need_rlimit() 147 setrlimit(RLIMIT_MEMLOCK, &rinf); in set_max_rlimit()
|
/linux-6.12.1/tools/testing/selftests/mm/ |
D | mlock-random-test.c | 34 if (setrlimit(RLIMIT_MEMLOCK, &new)) { in set_cap_limits()
|
D | compaction_test.c | 221 if (setrlimit(RLIMIT_MEMLOCK, &lim)) in main()
|
D | memfd_secret.c | 255 if (setrlimit(RLIMIT_MEMLOCK, &new)) { in set_cap_limits()
|
/linux-6.12.1/tools/testing/selftests/bpf/map_tests/ |
D | sk_storage_map.c | 413 err = setrlimit(RLIMIT_NOFILE, &rlim_new); in test_sk_storage_map_stress_free() 428 setrlimit(RLIMIT_NOFILE, &rlim_old); in test_sk_storage_map_stress_free()
|
/linux-6.12.1/tools/testing/selftests/net/ |
D | reuseport_bpf.c | 449 setrlimit(RLIMIT_MEMLOCK, &rlim_new); in main_ctor() 455 setrlimit(RLIMIT_MEMLOCK, &rlim_old); in main_dtor()
|
/linux-6.12.1/arch/arm64/tools/ |
D | syscall_64.tbl | 200 # getrlimit and setrlimit are superseded with prlimit64 202 164 rlimit setrlimit sys_setrlimit compat_sys_setrlimit
|
/linux-6.12.1/scripts/ |
D | syscall.tbl | 200 # getrlimit and setrlimit are superseded with prlimit64 202 164 rlimit setrlimit sys_setrlimit compat_sys_setrlimit
|
/linux-6.12.1/tools/perf/tests/ |
D | dso-data.c | 246 return setrlimit(RLIMIT_NOFILE, &rlim); in set_fd_limit()
|
/linux-6.12.1/tools/testing/selftests/proc/ |
D | proc-empty-vm.c | 182 setrlimit(RLIMIT_CORE, &(struct rlimit){}); in vsyscall()
|
D | proc-pid-vm.c | 250 (void)setrlimit(RLIMIT_CORE, &rlim); in vsyscall()
|
/linux-6.12.1/tools/testing/selftests/mqueue/ |
D | mq_open_tests.c | 149 if (setrlimit(type, rlim)) in setr()
|
D | mq_perf_tests.c | 278 if (setrlimit(type, rlim)) in setr()
|
/linux-6.12.1/tools/perf/bench/ |
D | epoll-ctl.c | 361 if (setrlimit(RLIMIT_NOFILE, &rl) < 0) in bench_epoll_ctl()
|
D | epoll-wait.c | 481 if (setrlimit(RLIMIT_NOFILE, &rl) < 0) in bench_epoll_wait()
|