Home
last modified time | relevance | path

Searched refs:getrlimit (Results 1 – 25 of 49) sorted by relevance

12

/linux-6.6.21/tools/perf/util/
Drlimit.c17 if (getrlimit(RLIMIT_MEMLOCK, &rlim) == 0) { in rlimit__bump_memlock()
/linux-6.6.21/tools/testing/selftests/mm/
Dmlock-random-test.c147 getrlimit(RLIMIT_MEMLOCK, &cur); in test_mlock_within_limit()
223 getrlimit(RLIMIT_MEMLOCK, &cur); in test_mlock_outof_limit()
Don-fault-limit.c15 if (getrlimit(RLIMIT_MEMLOCK, &lims)) { in test_limit()
Dmemfd_secret.c241 if (getrlimit(RLIMIT_MEMLOCK, &rlim)) in prepare()
/linux-6.6.21/tools/testing/selftests/kvm/
Dkvm_create_max_vcpus.c58 TEST_ASSERT(!getrlimit(RLIMIT_NOFILE, &rl), "getrlimit() failed!"); in main()
/linux-6.6.21/tools/testing/selftests/powerpc/ptrace/
Dcore-pkey.c79 ret = getrlimit(RLIMIT_CORE, &rlim); in increase_core_file_limit()
93 ret = getrlimit(RLIMIT_FSIZE, &rlim); in increase_core_file_limit()
/linux-6.6.21/tools/testing/selftests/powerpc/mm/
Dstack_expansion_ldst.c177 getrlimit(RLIMIT_STACK, &rlimit); in test()
/linux-6.6.21/arch/um/os-Linux/
Dmain.c30 if (getrlimit(RLIMIT_STACK, &lim) < 0) { in set_stklim()
Dstart_up.c304 int err = getrlimit(RLIMIT_CORE, &lim); in check_coredump_limit()
/linux-6.6.21/Documentation/userspace-api/media/mediactl/
Drequest-func-poll.rst73 ``getrlimit()`` to obtain this value.
/linux-6.6.21/Documentation/userspace-api/media/cec/
Dcec-func-poll.rst74 ``getrlimit()`` to obtain this value.
/linux-6.6.21/tools/testing/selftests/core/
Dclose_range_test.c271 ASSERT_EQ(0, getrlimit(RLIMIT_NOFILE, &rlimit)); in TEST()
339 ASSERT_EQ(0, getrlimit(RLIMIT_NOFILE, &rlimit)); in TEST()
/linux-6.6.21/tools/perf/arch/powerpc/entry/syscalls/
Dsyscall.tbl105 76 32 getrlimit sys_old_getrlimit compat_sys_old_getrlimit
106 76 64 getrlimit sys_ni_syscall
107 76 spu getrlimit sys_ni_syscall
/linux-6.6.21/arch/powerpc/kernel/syscalls/
Dsyscall.tbl105 76 32 getrlimit sys_old_getrlimit compat_sys_old_getrlimit
106 76 64 getrlimit sys_ni_syscall
107 76 spu getrlimit sys_ni_syscall
/linux-6.6.21/tools/perf/tests/
Ddso-data.c242 if (getrlimit(RLIMIT_NOFILE, &rlim)) in set_fd_limit()
/linux-6.6.21/tools/testing/selftests/mqueue/
Dmq_open_tests.c143 if (getrlimit(type, rlim)) in getr()
Dmq_perf_tests.c272 if (getrlimit(type, rlim)) in getr()
/linux-6.6.21/arch/arm/tools/
Dsyscall.tbl91 76 oabi getrlimit sys_old_getrlimit
207 # SuS compliant getrlimit
/linux-6.6.21/tools/perf/bench/
Depoll-ctl.c356 if (getrlimit(RLIMIT_NOFILE, &prevrl)) in bench_epoll_ctl()
Depoll-wait.c476 if (getrlimit(RLIMIT_NOFILE, &prevrl)) in bench_epoll_wait()
/linux-6.6.21/Documentation/userspace-api/media/v4l/
Dfunc-poll.rst113 ``getrlimit()`` to obtain this value.
/linux-6.6.21/tools/perf/arch/s390/entry/syscalls/
Dsyscall.tbl73 76 32 getrlimit - compat_sys_old_getrlimit
183 191 64 getrlimit sys_getrlimit -
/linux-6.6.21/arch/s390/kernel/syscalls/
Dsyscall.tbl73 76 32 getrlimit - compat_sys_old_getrlimit
183 191 64 getrlimit sys_getrlimit -
/linux-6.6.21/tools/testing/selftests/bpf/map_tests/
Dsk_storage_map.c401 getrlimit(RLIMIT_NOFILE, &rlim_old); in test_sk_storage_map_stress_free()
/linux-6.6.21/tools/perf/arch/mips/entry/syscalls/
Dsyscall_n64.tbl105 95 n64 getrlimit sys_getrlimit

12