Lines Matching refs:numparts

1037 	int numparts = 0;  in nftl_partscan()  local
1110 numparts = 1; in nftl_partscan()
1113 parts[numparts].name = " DiskOnChip BDTL partition"; in nftl_partscan()
1114 parts[numparts].offset = offs; in nftl_partscan()
1115 parts[numparts].size = (mh->NumEraseUnits - numheaders) << this->bbt_erase_shift; in nftl_partscan()
1117 offs += parts[numparts].size; in nftl_partscan()
1118 numparts++; in nftl_partscan()
1121 parts[numparts].name = " DiskOnChip Remainder partition"; in nftl_partscan()
1122 parts[numparts].offset = offs; in nftl_partscan()
1123 parts[numparts].size = mtd->size - offs; in nftl_partscan()
1124 numparts++; in nftl_partscan()
1127 ret = numparts; in nftl_partscan()
1142 int numparts = 0; in inftl_partscan() local
1225 numparts = 1; in inftl_partscan()
1229 parts[numparts].name = " DiskOnChip BDK partition"; in inftl_partscan()
1231 parts[numparts].name = " DiskOnChip BDTL partition"; in inftl_partscan()
1232 parts[numparts].offset = ip->firstUnit << vshift; in inftl_partscan()
1233 parts[numparts].size = (1 + ip->lastUnit - ip->firstUnit) << vshift; in inftl_partscan()
1234 numparts++; in inftl_partscan()
1242 parts[numparts].name = " DiskOnChip Remainder partition"; in inftl_partscan()
1243 parts[numparts].offset = lastvunit << vshift; in inftl_partscan()
1244 parts[numparts].size = end - parts[numparts].offset; in inftl_partscan()
1245 numparts++; in inftl_partscan()
1247 ret = numparts; in inftl_partscan()
1255 int ret, numparts; in nftl_scan_bbt() local
1263 numparts = nftl_partscan(mtd, parts); in nftl_scan_bbt()
1264 if (!numparts) in nftl_scan_bbt()
1285 return mtd_device_register(mtd, parts, no_autopart ? 0 : numparts); in nftl_scan_bbt()
1290 int ret, numparts; in inftl_scan_bbt() local
1333 numparts = inftl_partscan(mtd, parts); in inftl_scan_bbt()
1337 if (!numparts) in inftl_scan_bbt()
1339 return mtd_device_register(mtd, parts, no_autopart ? 0 : numparts); in inftl_scan_bbt()