Home
last modified time | relevance | path

Searched refs:setrlimit (Results 1 – 25 of 48) sorted by relevance

12

/linux-6.6.21/tools/perf/util/
Drlimit.c21 if (setrlimit(RLIMIT_MEMLOCK, &rlim) < 0) { in rlimit__bump_memlock()
25 if (setrlimit(RLIMIT_MEMLOCK, &rlim) < 0) in rlimit__bump_memlock()
Dbpf_counter.h90 setrlimit(RLIMIT_MEMLOCK, &rinf); in set_max_rlimit()
/linux-6.6.21/tools/testing/selftests/kvm/
Dkvm_create_max_vcpus.c66 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/
Dconftest.py27 resource.setrlimit(resource.RLIMIT_CORE, (0, 0))
/linux-6.6.21/tools/testing/selftests/powerpc/ptrace/
Dcore-pkey.c89 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/
Drlimits-per-userns.c40 if (setrlimit(RLIMIT_NPROC, &limit) < 0) in setrlimit_nproc()
/linux-6.6.21/tools/testing/selftests/mm/
Dcompaction_test.c180 if (setrlimit(RLIMIT_MEMLOCK, &lim)) { in main()
Dmlock-random-test.c33 if (setrlimit(RLIMIT_MEMLOCK, &new)) { in set_cap_limits()
Dmemfd_secret.c218 if (setrlimit(RLIMIT_MEMLOCK, &new)) { in set_cap_limits()
/linux-6.6.21/arch/um/os-Linux/
Dmain.c36 if (setrlimit(RLIMIT_STACK, &lim) < 0) { in set_stklim()
/linux-6.6.21/tools/bpf/bpftool/
Dcommon.c123 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/
Dproc-empty-vm.c147 setrlimit(RLIMIT_CORE, &(struct rlimit){}); in vsyscall()
Dproc-pid-vm.c249 (void)setrlimit(RLIMIT_CORE, &rlim); in vsyscall()
/linux-6.6.21/tools/testing/selftests/core/
Dclose_range_test.c273 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/
Dsk_storage_map.c413 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/
Dreuseport_bpf.c449 setrlimit(RLIMIT_MEMLOCK, &rlim_new); in main_ctor()
455 setrlimit(RLIMIT_MEMLOCK, &rlim_old); in main_dtor()
/linux-6.6.21/tools/perf/tests/
Ddso-data.c248 return setrlimit(RLIMIT_NOFILE, &rlim); in set_fd_limit()
/linux-6.6.21/tools/testing/selftests/mqueue/
Dmq_open_tests.c149 if (setrlimit(type, rlim)) in setr()
Dmq_perf_tests.c278 if (setrlimit(type, rlim)) in setr()
/linux-6.6.21/tools/perf/bench/
Depoll-ctl.c361 if (setrlimit(RLIMIT_NOFILE, &rl) < 0) in bench_epoll_ctl()
Depoll-wait.c481 if (setrlimit(RLIMIT_NOFILE, &rl) < 0) in bench_epoll_wait()
/linux-6.6.21/tools/perf/arch/mips/entry/syscalls/
Dsyscall_n64.tbl165 155 n64 setrlimit sys_setrlimit
/linux-6.6.21/arch/ia64/kernel/syscalls/
Dsyscall.tbl72 60 common setrlimit sys_setrlimit
/linux-6.6.21/arch/mips/kernel/syscalls/
Dsyscall_n64.tbl165 155 n64 setrlimit sys_setrlimit
/linux-6.6.21/tools/perf/arch/x86/entry/syscalls/
Dsyscall_64.tbl171 160 common setrlimit sys_setrlimit

12