Searched refs:nrparts (Results 1 – 2 of 2) sorted by relevance
64 int nrparts = 0, curpart = 0; in bcm963xx_parse_imagetag_partitions() local148 nrparts++; in bcm963xx_parse_imagetag_partitions()151 nrparts++; in bcm963xx_parse_imagetag_partitions()153 parts = kzalloc(sizeof(*parts) * nrparts + 10 * nrparts, GFP_KERNEL); in bcm963xx_parse_imagetag_partitions()184 for (i = 0; i < nrparts; i++) in bcm963xx_parse_imagetag_partitions()200 return nrparts; in bcm963xx_parse_imagetag_partitions()
84 int nrparts = 3, curpart = 0; in bcm63xx_parse_cfe_nor_partitions() local96 parts = kzalloc(sizeof(*parts) * nrparts + 10 * nrparts, GFP_KERNEL); in bcm63xx_parse_cfe_nor_partitions()117 for (i = 0; i < nrparts; i++) in bcm63xx_parse_cfe_nor_partitions()123 return nrparts; in bcm63xx_parse_cfe_nor_partitions()