Lines Matching refs:numparts

914 	int numparts = 0;  in nftl_partscan()  local
987 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()
1001 numparts++; in nftl_partscan()
1004 ret = numparts; in nftl_partscan()
1019 int numparts = 0; in inftl_partscan() local
1102 numparts = 1; in inftl_partscan()
1106 parts[numparts].name = " DiskOnChip BDK partition"; in inftl_partscan()
1108 parts[numparts].name = " DiskOnChip BDTL partition"; in inftl_partscan()
1109 parts[numparts].offset = ip->firstUnit << vshift; in inftl_partscan()
1110 parts[numparts].size = (1 + ip->lastUnit - ip->firstUnit) << vshift; in inftl_partscan()
1111 numparts++; in inftl_partscan()
1119 parts[numparts].name = " DiskOnChip Remainder partition"; in inftl_partscan()
1120 parts[numparts].offset = lastvunit << vshift; in inftl_partscan()
1121 parts[numparts].size = end - parts[numparts].offset; in inftl_partscan()
1122 numparts++; in inftl_partscan()
1124 ret = numparts; in inftl_partscan()
1132 int ret, numparts; in nftl_scan_bbt() local
1140 numparts = nftl_partscan(mtd, parts); in nftl_scan_bbt()
1141 if (!numparts) in nftl_scan_bbt()
1162 return mtd_device_register(mtd, parts, no_autopart ? 0 : numparts); in nftl_scan_bbt()
1167 int ret, numparts; in inftl_scan_bbt() local
1210 numparts = inftl_partscan(mtd, parts); in inftl_scan_bbt()
1214 if (!numparts) in inftl_scan_bbt()
1216 return mtd_device_register(mtd, parts, no_autopart ? 0 : numparts); in inftl_scan_bbt()