Searched refs:alloc_and_check (Results 1 - 1 of 1) sorted by relevance
/external/ltp/testcases/kernel/mem/tunable/ |
H A D | overcommit_memory.c | 107 static void alloc_and_check(long size, int expect_result); 198 alloc_and_check(commit_left * 2, EXPECT_FAIL); 199 alloc_and_check(commit_limit, EXPECT_FAIL); 201 alloc_and_check(commit_left / 2, EXPECT_PASS); 207 alloc_and_check(free_total / 2, EXPECT_PASS); 209 alloc_and_check(free_total * 2, EXPECT_FAIL); 210 alloc_and_check(sum_total, EXPECT_FAIL); 215 alloc_and_check(sum_total / 2, EXPECT_PASS); 216 alloc_and_check(sum_total, EXPECT_PASS); 217 alloc_and_check(sum_tota 236 static void alloc_and_check(long size, int expect_result) function [all...] |
Completed in 230 milliseconds