Home
last modified time | relevance | path

Searched refs:rlim (Results 1 – 5 of 5) sorted by relevance

/system/extras/tests/storage/
Dopentest.c34 struct rlimit rlim; in main() local
75 rlim.rlim_cur = nfiles + 10; in main()
76 rlim.rlim_max = nfiles + 10; in main()
77 if (setrlimit(RLIMIT_NOFILE, &rlim)) { in main()
78 fprintf(stderr, "Unable to raise RLIMIT_NOFILE to %ld\n", rlim.rlim_cur); in main()
/system/core/sdcard/
Dsdcard.cpp247 struct rlimit rlim; in main() local
312 rlim.rlim_cur = 8192; in main()
313 rlim.rlim_max = 8192; in main()
314 if (setrlimit(RLIMIT_NOFILE, &rlim) == -1) { in main()
/system/extras/simpleperf/
DRecordReadThread.cpp331 rlimit rlim; in IncreaseThreadPriority() local
332 int result = getrlimit(RLIMIT_NICE, &rlim); in IncreaseThreadPriority()
333 if (result == 0 && rlim.rlim_cur == 40) { in IncreaseThreadPriority()
/system/libfmq/tests/
Dfmq_unit_tests.cpp315 struct rlimit rlim; in TEST_F() local
316 ASSERT_EQ(getrlimit(RLIMIT_NOFILE, &rlim), 0); in TEST_F()
317 for (int i = 0; i <= rlim.rlim_cur + 1; i++) { in TEST_F()
/system/core/debuggerd/
Ddebuggerd_test.cpp1255 struct rlimit rlim = { in seccomp_fork_rlimit() local
1260 if (setrlimit(RLIMIT_AS, &rlim) != 0) { in seccomp_fork_rlimit()