Home
last modified time | relevance | path

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

12

/tools/perf/util/
A Drlimit.c18 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 Don-fault-limit.c15 if (getrlimit(RLIMIT_MEMLOCK, &lims)) in test_limit()
A Dmlock-random-test.c140 getrlimit(RLIMIT_MEMLOCK, &cur); in test_mlock_within_limit()
206 getrlimit(RLIMIT_MEMLOCK, &cur); in test_mlock_outof_limit()
A Dmemfd_secret.c280 if (getrlimit(RLIMIT_MEMLOCK, &rlim)) in prepare()
/tools/include/nolibc/sys/
A Dresource.h30 int getrlimit(int resource, struct rlimit *rlim) in getrlimit() function
/tools/testing/selftests/core/
A Dunshare_test.c43 ASSERT_EQ(0, getrlimit(RLIMIT_NOFILE, &rlimit)); in TEST()
A Dclose_range_test.c266 ASSERT_EQ(0, getrlimit(RLIMIT_NOFILE, &rlimit)); in TEST()
334 ASSERT_EQ(0, getrlimit(RLIMIT_NOFILE, &rlimit)); in TEST()
/tools/testing/selftests/x86/
A Dnx_stack.c181 int rv = getrlimit(RLIMIT_STACK, &rlim); in main()
/tools/testing/selftests/powerpc/mm/
A Dstack_expansion_ldst.c177 getrlimit(RLIMIT_STACK, &rlimit); in test()
/tools/testing/selftests/powerpc/ptrace/
A Dcore-pkey.c50 ret = getrlimit(RLIMIT_CORE, &rlim); in increase_core_file_limit()
64 ret = getrlimit(RLIMIT_FSIZE, &rlim); in increase_core_file_limit()
A Dperf-hwbreak.c152 if (getrlimit(RLIMIT_NOFILE, &rlim)) { in perf_systemwide_event_open()
/tools/perf/arch/powerpc/entry/syscalls/
A 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
/tools/perf/tests/
A Ddso-data.c240 if (getrlimit(RLIMIT_NOFILE, &rlim)) in set_fd_limit()
/tools/scripts/
A Dsyscall.tbl200 # getrlimit and setrlimit are superseded with prlimit64
201 163 rlimit getrlimit sys_getrlimit compat_sys_getrlimit
/tools/testing/selftests/mqueue/
A Dmq_open_tests.c143 if (getrlimit(type, rlim)) in getr()
A Dmq_perf_tests.c272 if (getrlimit(type, rlim)) in getr()
/tools/perf/bench/
A Depoll-ctl.c356 if (getrlimit(RLIMIT_NOFILE, &prevrl)) in bench_epoll_ctl()
A Depoll-wait.c481 if (getrlimit(RLIMIT_NOFILE, &prevrl)) in bench_epoll_wait()
/tools/perf/arch/arm/entry/syscalls/
A Dsyscall.tbl92 76 oabi getrlimit sys_old_getrlimit
208 # SuS compliant getrlimit
/tools/perf/arch/s390/entry/syscalls/
A Dsyscall.tbl73 76 32 getrlimit - compat_sys_old_getrlimit
183 191 64 getrlimit sys_getrlimit -
/tools/testing/selftests/bpf/map_tests/
A Dsk_storage_map.c401 getrlimit(RLIMIT_NOFILE, &rlim_old); in test_sk_storage_map_stress_free()
/tools/testing/selftests/net/
A Dreuseport_bpf.c442 getrlimit(RLIMIT_MEMLOCK, &rlim_old); in main_ctor()
/tools/perf/arch/mips/entry/syscalls/
A Dsyscall_n64.tbl105 95 n64 getrlimit sys_getrlimit
/tools/perf/arch/parisc/entry/syscalls/
A Dsyscall.tbl89 76 common getrlimit sys_getrlimit compat_sys_getrlimit
/tools/perf/arch/sh/entry/syscalls/
A Dsyscall.tbl86 76 common getrlimit sys_old_getrlimit

Completed in 30 milliseconds

12