Lines Matching defs:numblocks
466 int i, numblocks, startblock;
472 numblocks = mtd->size >> this->bbt_erase_shift;
481 numblocks = targetsize >> this->bbt_erase_shift;
482 startblock = chip * numblocks;
483 numblocks += startblock;
487 for (i = startblock; i < numblocks; i++) {
625 int startblock, dir, page, numblocks, i;
636 numblocks = (int)(targetsize >> this->bbt_erase_shift);
638 numblocks *= nanddev_ntargets(&this->base);
645 startblock = numblocks * (chip + 1) - 1;
648 startblock = chip * numblocks;
720 int bits, page, offs, numblocks, sft, sftmsk;
737 numblocks = (int)(targetsize >> this->bbt_erase_shift);
746 numblocks = (int)(mtd->size >> this->bbt_erase_shift);
812 memset(&buf[offs], 0xff, (size_t)(numblocks >> sft));
822 len = (size_t)(numblocks >> sft);
832 len = (size_t)(numblocks >> sft);
848 for (i = 0; i < numblocks; i++) {
851 dat = bbt_get_entry(this, chip * numblocks + i);