Lines Matching defs:numblocks
452 int i, numblocks, len, scanlen;
479 /* Note that numblocks is 2 * (real numblocks) here, see i+=2
482 numblocks = mtd->size >> (this->bbt_erase_shift - 1);
491 numblocks = this->chipsize >> (this->bbt_erase_shift - 1);
492 startblock = chip * numblocks;
493 numblocks += startblock;
497 for (i = startblock; i < numblocks;) {
644 int bits, startblock, dir, page, offs, numblocks, sft, sftmsk;
661 numblocks = (int)(this->chipsize >> this->bbt_erase_shift);
670 numblocks = (int)(mtd->size >> this->bbt_erase_shift);
689 startblock = numblocks * (chip + 1) - 1;
692 startblock = chip * numblocks;
734 bbtoffs = chip * (numblocks >> 2);
766 memset(&buf[offs], 0xff, (size_t) (numblocks >> sft));
771 len = (size_t) (numblocks >> sft);
788 for (i = 0; i < numblocks;) {