Searched refs:nrparts (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/mtd/
H A Dredboot.c63 int nrparts = 0; parse_redboot_partitions() local
213 nrparts++; parse_redboot_partitions()
217 nrparts++; parse_redboot_partitions()
223 nrparts++; parse_redboot_partitions()
228 parts = kzalloc(sizeof(*parts)*nrparts + nulllen + namelen, GFP_KERNEL); parse_redboot_partitions()
235 nullname = (char *)&parts[nrparts]; parse_redboot_partitions()
253 for ( ; i<nrparts; i++) { parse_redboot_partitions()
280 ret = nrparts; parse_redboot_partitions()
H A Dbcm63xxpart.c75 int nrparts = 3, curpart = 0; bcm63xx_parse_cfe_partitions() local
151 nrparts++; bcm63xx_parse_cfe_partitions()
154 nrparts++; bcm63xx_parse_cfe_partitions()
157 parts = kzalloc(sizeof(*parts) * nrparts + 10 * nrparts, GFP_KERNEL); bcm63xx_parse_cfe_partitions()
203 for (i = 0; i < nrparts; i++) bcm63xx_parse_cfe_partitions()
213 return nrparts; bcm63xx_parse_cfe_partitions()

Completed in 197 milliseconds