Lines Matching refs:ksft_test_result
90 ksft_test_result(!ret, "MADV_POPULATE_READ with PROT_READ\n"); in test_prot_read()
93 ksft_test_result(ret == -1 && errno == EINVAL, in test_prot_read()
111 ksft_test_result(ret == -1 && errno == EINVAL, in test_prot_write()
115 ksft_test_result(!ret, "MADV_POPULATE_WRITE with PROT_WRITE\n"); in test_prot_write()
137 ksft_test_result(ret == -1 && errno == ENOMEM, in test_holes()
140 ksft_test_result(ret == -1 && errno == ENOMEM, in test_holes()
145 ksft_test_result(ret == -1 && errno == ENOMEM, in test_holes()
148 ksft_test_result(ret == -1 && errno == ENOMEM, in test_holes()
153 ksft_test_result(ret == -1 && errno == ENOMEM, in test_holes()
156 ksft_test_result(ret == -1 && errno == ENOMEM, in test_holes()
201 ksft_test_result(range_is_not_populated(addr, SIZE), in test_populate_read()
205 ksft_test_result(!ret, "MADV_POPULATE_READ\n"); in test_populate_read()
206 ksft_test_result(range_is_populated(addr, SIZE), in test_populate_read()
223 ksft_test_result(range_is_not_populated(addr, SIZE), in test_populate_write()
227 ksft_test_result(!ret, "MADV_POPULATE_WRITE\n"); in test_populate_write()
228 ksft_test_result(range_is_populated(addr, SIZE), in test_populate_write()
290 ksft_test_result(range_is_not_softdirty(addr, SIZE), in test_softdirty()
295 ksft_test_result(!ret, "MADV_POPULATE_READ\n"); in test_softdirty()
296 ksft_test_result(range_is_not_softdirty(addr, SIZE), in test_softdirty()
301 ksft_test_result(!ret, "MADV_POPULATE_WRITE\n"); in test_softdirty()
302 ksft_test_result(range_is_softdirty(addr, SIZE), in test_softdirty()