/linux-6.6.21/tools/perf/util/ |
D | rlimit.c | 21 if (setrlimit(RLIMIT_MEMLOCK, &rlim) < 0) { in rlimit__bump_memlock() 25 if (setrlimit(RLIMIT_MEMLOCK, &rlim) < 0) in rlimit__bump_memlock()
|
D | bpf_counter.h | 90 setrlimit(RLIMIT_MEMLOCK, &rinf); in set_max_rlimit()
|
/linux-6.6.21/tools/testing/selftests/kvm/ |
D | kvm_create_max_vcpus.c | 66 int r = setrlimit(RLIMIT_NOFILE, &rl); in main() 71 TEST_ASSERT(!setrlimit(RLIMIT_NOFILE, &rl), "setrlimit() failed!"); in main()
|
/linux-6.6.21/tools/testing/selftests/hid/tests/ |
D | conftest.py | 27 resource.setrlimit(resource.RLIMIT_CORE, (0, 0))
|
/linux-6.6.21/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.6.21/tools/testing/selftests/rlimits/ |
D | rlimits-per-userns.c | 40 if (setrlimit(RLIMIT_NPROC, &limit) < 0) in setrlimit_nproc()
|
/linux-6.6.21/tools/testing/selftests/mm/ |
D | compaction_test.c | 180 if (setrlimit(RLIMIT_MEMLOCK, &lim)) { in main()
|
D | mlock-random-test.c | 33 if (setrlimit(RLIMIT_MEMLOCK, &new)) { in set_cap_limits()
|
D | memfd_secret.c | 218 if (setrlimit(RLIMIT_MEMLOCK, &new)) { in set_cap_limits()
|
/linux-6.6.21/arch/um/os-Linux/ |
D | main.c | 36 if (setrlimit(RLIMIT_STACK, &lim) < 0) { in set_stklim()
|
/linux-6.6.21/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.6.21/tools/testing/selftests/proc/ |
D | proc-empty-vm.c | 147 setrlimit(RLIMIT_CORE, &(struct rlimit){}); in vsyscall()
|
D | proc-pid-vm.c | 249 (void)setrlimit(RLIMIT_CORE, &rlim); in vsyscall()
|
/linux-6.6.21/tools/testing/selftests/core/ |
D | close_range_test.c | 273 ASSERT_EQ(0, setrlimit(RLIMIT_NOFILE, &rlimit)); in TEST() 341 ASSERT_EQ(0, setrlimit(RLIMIT_NOFILE, &rlimit)); in TEST()
|
/linux-6.6.21/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.6.21/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.6.21/tools/perf/tests/ |
D | dso-data.c | 248 return setrlimit(RLIMIT_NOFILE, &rlim); in set_fd_limit()
|
/linux-6.6.21/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.6.21/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()
|
/linux-6.6.21/tools/perf/arch/mips/entry/syscalls/ |
D | syscall_n64.tbl | 165 155 n64 setrlimit sys_setrlimit
|
/linux-6.6.21/arch/ia64/kernel/syscalls/ |
D | syscall.tbl | 72 60 common setrlimit sys_setrlimit
|
/linux-6.6.21/arch/mips/kernel/syscalls/ |
D | syscall_n64.tbl | 165 155 n64 setrlimit sys_setrlimit
|
/linux-6.6.21/tools/perf/arch/x86/entry/syscalls/ |
D | syscall_64.tbl | 171 160 common setrlimit sys_setrlimit
|