Searched refs:numparts (Results 1 – 2 of 2) sorted by relevance
914 int numparts = 0; in nftl_partscan() local987 numparts = 1; in nftl_partscan()990 parts[numparts].name = " DiskOnChip BDTL partition"; in nftl_partscan()991 parts[numparts].offset = offs; in nftl_partscan()992 parts[numparts].size = (mh->NumEraseUnits - numheaders) << this->bbt_erase_shift; in nftl_partscan()994 offs += parts[numparts].size; in nftl_partscan()995 numparts++; in nftl_partscan()998 parts[numparts].name = " DiskOnChip Remainder partition"; in nftl_partscan()999 parts[numparts].offset = offs; in nftl_partscan()1000 parts[numparts].size = mtd->size - offs; in nftl_partscan()[all …]
703 int numregions, numparts, partshift, numvirtchips, i, j; in cfi_intelext_partition_fixup() local722 numparts = 0; in cfi_intelext_partition_fixup()726 numparts += rinfo->NumIdentPartitions; in cfi_intelext_partition_fixup()732 if (!numparts) in cfi_intelext_partition_fixup()733 numparts = 1; in cfi_intelext_partition_fixup()752 partshift = cfi->chipshift - __ffs(numparts); in cfi_intelext_partition_fixup()757 __func__, numparts); in cfi_intelext_partition_fixup()761 numvirtchips = cfi->numchips * numparts; in cfi_intelext_partition_fixup()781 for (j = 0; j < numparts; j++) { in cfi_intelext_partition_fixup()