Searched refs:total (Results 1 – 1 of 1) sorted by relevance
523 const int total = (ctx->partition->size - pos) / ctx->partition->erase_size; in mtd_erase_blocks() local524 if (blocks < 0) blocks = total; in mtd_erase_blocks()525 if (blocks > total) { in mtd_erase_blocks()