Lines Matching defs:numblocks
495 int i, numblocks, startblock;
501 numblocks = mtd->size >> this->bbt_erase_shift;
510 numblocks = targetsize >> this->bbt_erase_shift;
511 startblock = chip * numblocks;
512 numblocks += startblock;
516 for (i = startblock; i < numblocks; i++) {
658 int startblock, dir, page, numblocks, i;
669 numblocks = (int)(targetsize >> this->bbt_erase_shift);
671 numblocks *= nanddev_ntargets(&this->base);
678 startblock = numblocks * (chip + 1) - 1;
681 startblock = chip * numblocks;
753 int bits, page, offs, numblocks, sft, sftmsk;
770 numblocks = (int)(targetsize >> this->bbt_erase_shift);
779 numblocks = (int)(mtd->size >> this->bbt_erase_shift);
845 memset(&buf[offs], 0xff, (size_t)(numblocks >> sft));
855 len = (size_t)(numblocks >> sft);
865 len = (size_t)(numblocks >> sft);
881 for (i = 0; i < numblocks; i++) {
884 dat = bbt_get_entry(this, chip * numblocks + i);