| /tools/perf/util/ |
| A 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()
|
| /tools/testing/selftests/mm/ |
| A D | on-fault-limit.c | 15 if (getrlimit(RLIMIT_MEMLOCK, &lims)) in test_limit()
|
| A 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()
|
| A D | memfd_secret.c | 280 if (getrlimit(RLIMIT_MEMLOCK, &rlim)) in prepare()
|
| /tools/include/nolibc/sys/ |
| A D | resource.h | 30 int getrlimit(int resource, struct rlimit *rlim) in getrlimit() function
|
| /tools/testing/selftests/core/ |
| A D | unshare_test.c | 43 ASSERT_EQ(0, getrlimit(RLIMIT_NOFILE, &rlimit)); in TEST()
|
| A 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()
|
| /tools/testing/selftests/x86/ |
| A D | nx_stack.c | 181 int rv = getrlimit(RLIMIT_STACK, &rlim); in main()
|
| /tools/testing/selftests/powerpc/mm/ |
| A D | stack_expansion_ldst.c | 177 getrlimit(RLIMIT_STACK, &rlimit); in test()
|
| /tools/testing/selftests/powerpc/ptrace/ |
| A D | core-pkey.c | 50 ret = getrlimit(RLIMIT_CORE, &rlim); in increase_core_file_limit() 64 ret = getrlimit(RLIMIT_FSIZE, &rlim); in increase_core_file_limit()
|
| A D | perf-hwbreak.c | 152 if (getrlimit(RLIMIT_NOFILE, &rlim)) { in perf_systemwide_event_open()
|
| /tools/perf/arch/powerpc/entry/syscalls/ |
| A 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
|
| /tools/perf/tests/ |
| A D | dso-data.c | 240 if (getrlimit(RLIMIT_NOFILE, &rlim)) in set_fd_limit()
|
| /tools/scripts/ |
| A D | syscall.tbl | 200 # getrlimit and setrlimit are superseded with prlimit64 201 163 rlimit getrlimit sys_getrlimit compat_sys_getrlimit
|
| /tools/testing/selftests/mqueue/ |
| A D | mq_open_tests.c | 143 if (getrlimit(type, rlim)) in getr()
|
| A D | mq_perf_tests.c | 272 if (getrlimit(type, rlim)) in getr()
|
| /tools/perf/bench/ |
| A D | epoll-ctl.c | 356 if (getrlimit(RLIMIT_NOFILE, &prevrl)) in bench_epoll_ctl()
|
| A D | epoll-wait.c | 481 if (getrlimit(RLIMIT_NOFILE, &prevrl)) in bench_epoll_wait()
|
| /tools/perf/arch/arm/entry/syscalls/ |
| A D | syscall.tbl | 92 76 oabi getrlimit sys_old_getrlimit 208 # SuS compliant getrlimit
|
| /tools/perf/arch/s390/entry/syscalls/ |
| A D | syscall.tbl | 73 76 32 getrlimit - compat_sys_old_getrlimit 183 191 64 getrlimit sys_getrlimit -
|
| /tools/testing/selftests/bpf/map_tests/ |
| A D | sk_storage_map.c | 401 getrlimit(RLIMIT_NOFILE, &rlim_old); in test_sk_storage_map_stress_free()
|
| /tools/testing/selftests/net/ |
| A D | reuseport_bpf.c | 442 getrlimit(RLIMIT_MEMLOCK, &rlim_old); in main_ctor()
|
| /tools/perf/arch/mips/entry/syscalls/ |
| A D | syscall_n64.tbl | 105 95 n64 getrlimit sys_getrlimit
|
| /tools/perf/arch/parisc/entry/syscalls/ |
| A D | syscall.tbl | 89 76 common getrlimit sys_getrlimit compat_sys_getrlimit
|
| /tools/perf/arch/sh/entry/syscalls/ |
| A D | syscall.tbl | 86 76 common getrlimit sys_old_getrlimit
|