Lines Matching refs: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;
589 int actblock = startblock + dir * block;
607 startblock += targetsize >> this->bbt_erase_shift;
658 int startblock, dir, page, numblocks, i;
678 startblock = numblocks * (chip + 1) - 1;
681 startblock = chip * numblocks;
686 int block = startblock + dir * i;