Lines Matching full:coverage
670 * Decoding table test coverage analysis
703 struct coverage_table coverage; variable
736 struct coverage_table *coverage = (struct coverage_table *)args; in coverage_start_fn() local
738 struct coverage_entry *entry = coverage->base + coverage->num_entries; in coverage_start_fn()
740 if (coverage->num_entries == MAX_COVERAGE_ENTRIES - 1) { in coverage_start_fn()
741 pr_err("FAIL: Out of space for test coverage data"); in coverage_start_fn()
745 ++coverage->num_entries; in coverage_start_fn()
749 entry->nesting = coverage->nesting; in coverage_start_fn()
755 ++coverage->nesting; in coverage_start_fn()
756 ret = table_iter(d->table.table, coverage_start_fn, coverage); in coverage_start_fn()
757 --coverage->nesting; in coverage_start_fn()
766 coverage.base = kmalloc_array(MAX_COVERAGE_ENTRIES, in coverage_start()
769 coverage.num_entries = 0; in coverage_start()
770 coverage.nesting = 0; in coverage_start()
771 return table_iter(table, coverage_start_fn, &coverage); in coverage_start()
844 struct coverage_entry *entry = coverage.base; in coverage_add()
845 struct coverage_entry *end = coverage.base + coverage.num_entries; in coverage_add()
891 struct coverage_entry *entry = coverage.base; in coverage_end()
892 struct coverage_entry *end = coverage.base + coverage.num_entries; in coverage_end()
899 pr_err("FAIL: Register test coverage missing for %08x %08x (%05x)\n", in coverage_end()
904 pr_err("FAIL: Test coverage entry missing for %08x %08x\n", in coverage_end()
910 kfree(coverage.base); in coverage_end()
1635 /* We are able to run all test cases so coverage should be complete */ in run_all_tests()
1637 pr_err("FAIL: Test coverage checks failed\n"); in run_all_tests()