Searched refs:getrlimit (Results 1 – 25 of 56) sorted by relevance
123
/linux-6.12.1/tools/perf/util/ |
D | rlimit.c | 18 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/ |
D | mlock-random-test.c | 140 getrlimit(RLIMIT_MEMLOCK, &cur); in test_mlock_within_limit() 206 getrlimit(RLIMIT_MEMLOCK, &cur); in test_mlock_outof_limit()
|
D | on-fault-limit.c | 15 if (getrlimit(RLIMIT_MEMLOCK, &lims)) in test_limit()
|
D | memfd_secret.c | 278 if (getrlimit(RLIMIT_MEMLOCK, &rlim)) in prepare()
|
/linux-6.12.1/tools/testing/selftests/kvm/ |
D | kvm_create_max_vcpus.c | 56 TEST_ASSERT(!getrlimit(RLIMIT_NOFILE, &rl), "getrlimit() failed!"); in main()
|
/linux-6.12.1/tools/testing/selftests/core/ |
D | unshare_test.c | 43 ASSERT_EQ(0, getrlimit(RLIMIT_NOFILE, &rlimit)); in TEST()
|
D | close_range_test.c | 266 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/ |
D | core-pkey.c | 79 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/ |
D | nx_stack.c | 181 int rv = getrlimit(RLIMIT_STACK, &rlim); in main()
|
/linux-6.12.1/tools/testing/selftests/powerpc/mm/ |
D | stack_expansion_ldst.c | 177 getrlimit(RLIMIT_STACK, &rlimit); in test()
|
/linux-6.12.1/arch/um/os-Linux/ |
D | main.c | 31 if (getrlimit(RLIMIT_STACK, &lim) < 0) { in set_stklim()
|
D | start_up.c | 230 int err = getrlimit(RLIMIT_CORE, &lim); in check_coredump_limit()
|
/linux-6.12.1/Documentation/userspace-api/media/mediactl/ |
D | request-func-poll.rst | 73 ``getrlimit()`` to obtain this value.
|
/linux-6.12.1/Documentation/userspace-api/media/cec/ |
D | cec-func-poll.rst | 74 ``getrlimit()`` to obtain this value.
|
/linux-6.12.1/arch/powerpc/kernel/syscalls/ |
D | syscall.tbl | 105 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/ |
D | syscall.tbl | 105 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/ |
D | syscall_64.tbl | 200 # getrlimit and setrlimit are superseded with prlimit64 201 163 rlimit getrlimit sys_getrlimit compat_sys_getrlimit
|
/linux-6.12.1/scripts/ |
D | syscall.tbl | 200 # getrlimit and setrlimit are superseded with prlimit64 201 163 rlimit getrlimit sys_getrlimit compat_sys_getrlimit
|
/linux-6.12.1/tools/perf/tests/ |
D | dso-data.c | 240 if (getrlimit(RLIMIT_NOFILE, &rlim)) in set_fd_limit()
|
/linux-6.12.1/tools/testing/selftests/mqueue/ |
D | mq_open_tests.c | 143 if (getrlimit(type, rlim)) in getr()
|
/linux-6.12.1/arch/arm/tools/ |
D | syscall.tbl | 92 76 oabi getrlimit sys_old_getrlimit 208 # SuS compliant getrlimit
|
/linux-6.12.1/tools/perf/bench/ |
D | epoll-ctl.c | 356 if (getrlimit(RLIMIT_NOFILE, &prevrl)) in bench_epoll_ctl()
|
/linux-6.12.1/Documentation/userspace-api/media/v4l/ |
D | func-poll.rst | 113 ``getrlimit()`` to obtain this value.
|
/linux-6.12.1/tools/perf/arch/s390/entry/syscalls/ |
D | syscall.tbl | 73 76 32 getrlimit - compat_sys_old_getrlimit 183 191 64 getrlimit sys_getrlimit -
|
/linux-6.12.1/arch/s390/kernel/syscalls/ |
D | syscall.tbl | 73 76 32 getrlimit - compat_sys_old_getrlimit 183 191 64 getrlimit sys_getrlimit -
|
123