Searched refs:nrparts (Results 1 – 2 of 2) sorted by relevance
74 int nrparts = 3, curpart = 0; in bcm63xx_parse_cfe_partitions() local137 nrparts++; in bcm63xx_parse_cfe_partitions()141 nrparts++; in bcm63xx_parse_cfe_partitions()146 parts = kzalloc(sizeof(*parts) * nrparts + 10 * nrparts, GFP_KERNEL); in bcm63xx_parse_cfe_partitions()184 for (i = 0; i < nrparts; i++) in bcm63xx_parse_cfe_partitions()195 return nrparts; in bcm63xx_parse_cfe_partitions()
63 int nrparts = 0; in parse_redboot_partitions() local213 nrparts++; in parse_redboot_partitions()217 nrparts++; in parse_redboot_partitions()223 nrparts++; in parse_redboot_partitions()228 parts = kzalloc(sizeof(*parts)*nrparts + nulllen + namelen, GFP_KERNEL); in parse_redboot_partitions()235 nullname = (char *)&parts[nrparts]; in parse_redboot_partitions()253 for ( ; i<nrparts; i++) { in parse_redboot_partitions()280 ret = nrparts; in parse_redboot_partitions()