Lines Matching defs:startblock
495 int i, numblocks, startblock;
502 startblock = 0;
511 startblock = chip * numblocks;
512 numblocks += startblock;
513 from = (loff_t)startblock << this->bbt_erase_shift;
516 for (i = startblock; i < numblocks; i++) {
558 int startblock, block, dir;
565 startblock = (mtd->size >> this->bbt_erase_shift) - 1;
568 startblock = 0;
576 startblock &= bbtblocks - 1;
588 int actblock = startblock + dir * block;
606 startblock += targetsize >> this->bbt_erase_shift;
657 int startblock, dir, page, numblocks, i;
677 startblock = numblocks * (chip + 1) - 1;
680 startblock = chip * numblocks;
685 int block = startblock + dir * i;