Lines Matching refs:errors
587 * Returns the number of errors in the image that were found
597 int errors = 0;
610 errors++;
615 errors++;
620 return errors;
628 * Returns the number of errors found by the checks or -errno if an internal
638 int errors = 0;
658 errors++;
665 errors += inc_refcounts(bs, refcount_table,
677 errors++;
683 errors += inc_refcounts(bs, refcount_table,
691 errors++;
698 return errors;
711 * Returns the number of errors found by the checks or -errno if an internal
723 int errors = 0;
728 errors += inc_refcounts(bs, refcount_table, refcount_table_size,
750 errors++;
756 errors += inc_refcounts(bs, refcount_table,
765 errors++;
774 errors += ret;
778 return errors;
789 * Returns 0 if no errors are found, the number of errors in case the image is
799 int ret, errors = 0;
806 errors += inc_refcounts(bs, refcount_table, nb_clusters,
815 errors += ret;
823 errors += inc_refcounts(bs, refcount_table, nb_clusters,
827 errors += inc_refcounts(bs, refcount_table, nb_clusters,
834 errors += inc_refcounts(bs, refcount_table, nb_clusters,
846 errors++;
852 return errors;