Home
last modified time | relevance | path

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

123

/linux-6.12.1/tools/perf/util/
Drlimit.c18 if (getrlimit(RLIMIT_MEMLOCK, &rlim) == 0) { in rlimit__bump_memlock()
40 if (getrlimit(RLIMIT_NOFILE, &l) == 0) { in rlimit__increase_nofile()
/linux-6.12.1/tools/testing/selftests/mm/
Dmlock-random-test.c140 getrlimit(RLIMIT_MEMLOCK, &cur); in test_mlock_within_limit()
206 getrlimit(RLIMIT_MEMLOCK, &cur); in test_mlock_outof_limit()
Don-fault-limit.c15 if (getrlimit(RLIMIT_MEMLOCK, &lims)) in test_limit()
Dmemfd_secret.c278 if (getrlimit(RLIMIT_MEMLOCK, &rlim)) in prepare()
/linux-6.12.1/tools/testing/selftests/kvm/
Dkvm_create_max_vcpus.c56 TEST_ASSERT(!getrlimit(RLIMIT_NOFILE, &rl), "getrlimit() failed!"); in main()
/linux-6.12.1/tools/testing/selftests/core/
Dunshare_test.c43 ASSERT_EQ(0, getrlimit(RLIMIT_NOFILE, &rlimit)); in TEST()
Dclose_range_test.c266 ASSERT_EQ(0, getrlimit(RLIMIT_NOFILE, &rlimit)); in TEST()
334 ASSERT_EQ(0, getrlimit(RLIMIT_NOFILE, &rlimit)); in TEST()
/linux-6.12.1/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.12.1/tools/testing/selftests/x86/
Dnx_stack.c181 int rv = getrlimit(RLIMIT_STACK, &rlim); in main()
/linux-6.12.1/tools/testing/selftests/powerpc/mm/
Dstack_expansion_ldst.c177 getrlimit(RLIMIT_STACK, &rlimit); in test()
/linux-6.12.1/arch/um/os-Linux/
Dmain.c31 if (getrlimit(RLIMIT_STACK, &lim) < 0) { in set_stklim()
Dstart_up.c230 int err = getrlimit(RLIMIT_CORE, &lim); in check_coredump_limit()
/linux-6.12.1/Documentation/userspace-api/media/mediactl/
Drequest-func-poll.rst73 ``getrlimit()`` to obtain this value.
/linux-6.12.1/Documentation/userspace-api/media/cec/
Dcec-func-poll.rst74 ``getrlimit()`` to obtain this value.
/linux-6.12.1/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.12.1/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.12.1/arch/arm64/tools/
Dsyscall_64.tbl200 # getrlimit and setrlimit are superseded with prlimit64
201 163 rlimit getrlimit sys_getrlimit compat_sys_getrlimit
/linux-6.12.1/scripts/
Dsyscall.tbl200 # getrlimit and setrlimit are superseded with prlimit64
201 163 rlimit getrlimit sys_getrlimit compat_sys_getrlimit
/linux-6.12.1/tools/perf/tests/
Ddso-data.c240 if (getrlimit(RLIMIT_NOFILE, &rlim)) in set_fd_limit()
/linux-6.12.1/tools/testing/selftests/mqueue/
Dmq_open_tests.c143 if (getrlimit(type, rlim)) in getr()
/linux-6.12.1/arch/arm/tools/
Dsyscall.tbl92 76 oabi getrlimit sys_old_getrlimit
208 # SuS compliant getrlimit
/linux-6.12.1/tools/perf/bench/
Depoll-ctl.c356 if (getrlimit(RLIMIT_NOFILE, &prevrl)) in bench_epoll_ctl()
/linux-6.12.1/Documentation/userspace-api/media/v4l/
Dfunc-poll.rst113 ``getrlimit()`` to obtain this value.
/linux-6.12.1/tools/perf/arch/s390/entry/syscalls/
Dsyscall.tbl73 76 32 getrlimit - compat_sys_old_getrlimit
183 191 64 getrlimit sys_getrlimit -
/linux-6.12.1/arch/s390/kernel/syscalls/
Dsyscall.tbl73 76 32 getrlimit - compat_sys_old_getrlimit
183 191 64 getrlimit sys_getrlimit -

123