Home
last modified time | relevance | path

Searched refs:maxpercent (Results 1 - 1 of 1) sorted by relevance

/third_party/ltp/testcases/kernel/mem/mtest01/
H A Dmtest01.c50 static int maxpercent = 20; variable
59 char *str_maxpercent, int *maxpercent) in parse_mtest_options()
76 if (tst_parse_int(str_maxpercent, maxpercent, 1, 99)) { in parse_mtest_options()
77 tst_brk(TBROK, "Invalid maxpercent '%s'", str_maxpercent); in parse_mtest_options()
111 opt_maxpercent, &maxpercent); in setup()
121 alloc_maxbytes = ((float)maxpercent / 100.00) in setup()
124 maxpercent, alloc_maxbytes / 1024); in setup()
57 parse_mtest_options(char *str_chunksize, int *chunksize, char *str_maxbytes, long *maxbytes, char *str_maxpercent, int *maxpercent) parse_mtest_options() argument

Completed in 2 milliseconds