Searched refs:getrlimit (Results 1 – 25 of 49) sorted by relevance
12
/linux-6.6.21/tools/perf/util/ |
D | rlimit.c | 17 if (getrlimit(RLIMIT_MEMLOCK, &rlim) == 0) { in rlimit__bump_memlock()
|
/linux-6.6.21/tools/testing/selftests/mm/ |
D | mlock-random-test.c | 147 getrlimit(RLIMIT_MEMLOCK, &cur); in test_mlock_within_limit() 223 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 | 241 if (getrlimit(RLIMIT_MEMLOCK, &rlim)) in prepare()
|
/linux-6.6.21/tools/testing/selftests/kvm/ |
D | kvm_create_max_vcpus.c | 58 TEST_ASSERT(!getrlimit(RLIMIT_NOFILE, &rl), "getrlimit() failed!"); in main()
|
/linux-6.6.21/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.6.21/tools/testing/selftests/powerpc/mm/ |
D | stack_expansion_ldst.c | 177 getrlimit(RLIMIT_STACK, &rlimit); in test()
|
/linux-6.6.21/arch/um/os-Linux/ |
D | main.c | 30 if (getrlimit(RLIMIT_STACK, &lim) < 0) { in set_stklim()
|
D | start_up.c | 304 int err = getrlimit(RLIMIT_CORE, &lim); in check_coredump_limit()
|
/linux-6.6.21/Documentation/userspace-api/media/mediactl/ |
D | request-func-poll.rst | 73 ``getrlimit()`` to obtain this value.
|
/linux-6.6.21/Documentation/userspace-api/media/cec/ |
D | cec-func-poll.rst | 74 ``getrlimit()`` to obtain this value.
|
/linux-6.6.21/tools/testing/selftests/core/ |
D | close_range_test.c | 271 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/ |
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.6.21/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.6.21/tools/perf/tests/ |
D | dso-data.c | 242 if (getrlimit(RLIMIT_NOFILE, &rlim)) in set_fd_limit()
|
/linux-6.6.21/tools/testing/selftests/mqueue/ |
D | mq_open_tests.c | 143 if (getrlimit(type, rlim)) in getr()
|
D | mq_perf_tests.c | 272 if (getrlimit(type, rlim)) in getr()
|
/linux-6.6.21/arch/arm/tools/ |
D | syscall.tbl | 91 76 oabi getrlimit sys_old_getrlimit 207 # SuS compliant getrlimit
|
/linux-6.6.21/tools/perf/bench/ |
D | epoll-ctl.c | 356 if (getrlimit(RLIMIT_NOFILE, &prevrl)) in bench_epoll_ctl()
|
D | epoll-wait.c | 476 if (getrlimit(RLIMIT_NOFILE, &prevrl)) in bench_epoll_wait()
|
/linux-6.6.21/Documentation/userspace-api/media/v4l/ |
D | func-poll.rst | 113 ``getrlimit()`` to obtain this value.
|
/linux-6.6.21/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.6.21/arch/s390/kernel/syscalls/ |
D | syscall.tbl | 73 76 32 getrlimit - compat_sys_old_getrlimit 183 191 64 getrlimit sys_getrlimit -
|
/linux-6.6.21/tools/testing/selftests/bpf/map_tests/ |
D | sk_storage_map.c | 401 getrlimit(RLIMIT_NOFILE, &rlim_old); in test_sk_storage_map_stress_free()
|
/linux-6.6.21/tools/perf/arch/mips/entry/syscalls/ |
D | syscall_n64.tbl | 105 95 n64 getrlimit sys_getrlimit
|
12