Home
last modified time | relevance | path

Searched refs:rlim (Results 1 – 4 of 4) 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.cpp305 rlimit rlim; in IncreaseThreadPriority() local
306 int result = getrlimit(RLIMIT_NICE, &rlim); in IncreaseThreadPriority()
307 if (result == 0 && rlim.rlim_cur == 40) { in IncreaseThreadPriority()
/system/core/debuggerd/
Ddebuggerd_test.cpp682 struct rlimit rlim = { in seccomp_fork_rlimit() local
687 if (setrlimit(RLIMIT_AS, &rlim) != 0) { in seccomp_fork_rlimit()