Lines Matching refs:KSFT_PASS
39 if (check_allocated_memory(ptr, sizes[i], mem_type, true) != KSFT_PASS) in check_buffer_by_byte()
58 return KSFT_PASS; in check_buffer_by_byte()
77 underflow_range, 0) != KSFT_PASS) in check_buffer_underflow_by_byte()
155 return (err ? KSFT_FAIL : KSFT_PASS); in check_buffer_underflow_by_byte()
173 0, overflow_range) != KSFT_PASS) in check_buffer_overflow_by_byte()
258 return (err ? KSFT_FAIL : KSFT_PASS); in check_buffer_overflow_by_byte()
264 int j, result = KSFT_PASS; in check_buffer_by_block_iterate()
271 if (check_allocated_memory(src, size, mem_type, false) != KSFT_PASS) in check_buffer_by_block_iterate()
275 if (check_allocated_memory(dst, size, mem_type, true) != KSFT_PASS) { in check_buffer_by_block_iterate()
283 if (check_allocated_memory(dst, size, mem_type, false) != KSFT_PASS) in check_buffer_by_block_iterate()
287 if (check_allocated_memory(src, size, mem_type, true) != KSFT_PASS) { in check_buffer_by_block_iterate()
294 if (check_allocated_memory(src, size, mem_type, true) != KSFT_PASS) in check_buffer_by_block_iterate()
298 if (check_allocated_memory(dst, size, mem_type, true) != KSFT_PASS) { in check_buffer_by_block_iterate()
308 result = KSFT_PASS; in check_buffer_by_block_iterate()
330 if (result != KSFT_PASS) in check_buffer_by_block_iterate()
338 int i, item, result = KSFT_PASS; in check_buffer_by_block()
345 if (result != KSFT_PASS) in check_buffer_by_block()
362 return KSFT_PASS; in compare_memory_tags()
375 if (check_allocated_memory(ptr, sizes[run], mem_type, false) != KSFT_PASS) in check_memory_initial_tags()
377 if (compare_memory_tags(ptr, sizes[run], 0) != KSFT_PASS) { in check_memory_initial_tags()
388 if (check_allocated_memory(ptr, sizes[run], mem_type, false) != KSFT_PASS) { in check_memory_initial_tags()
392 if (compare_memory_tags(ptr, sizes[run], 0) != KSFT_PASS) { in check_memory_initial_tags()
400 return KSFT_PASS; in check_memory_initial_tags()
477 return ksft_get_fail_cnt() == 0 ? KSFT_PASS : KSFT_FAIL; in main()