Home
last modified time | relevance | path

Searched refs:nrparts (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/mtd/parsers/
Dparser_imagetag.c64 int nrparts = 0, curpart = 0; in bcm963xx_parse_imagetag_partitions() local
144 nrparts++; in bcm963xx_parse_imagetag_partitions()
147 nrparts++; in bcm963xx_parse_imagetag_partitions()
149 parts = kzalloc(sizeof(*parts) * nrparts + 10 * nrparts, GFP_KERNEL); in bcm963xx_parse_imagetag_partitions()
180 for (i = 0; i < nrparts; i++) in bcm963xx_parse_imagetag_partitions()
196 return nrparts; in bcm963xx_parse_imagetag_partitions()
Dredboot.c70 int nrparts = 0; in parse_redboot_partitions() local
222 nrparts++; in parse_redboot_partitions()
226 nrparts++; in parse_redboot_partitions()
232 nrparts++; in parse_redboot_partitions()
237 parts = kzalloc(sizeof(*parts)*nrparts + nulllen + namelen, GFP_KERNEL); in parse_redboot_partitions()
244 nullname = (char *)&parts[nrparts]; in parse_redboot_partitions()
262 for ( ; i<nrparts; i++) { in parse_redboot_partitions()
289 ret = nrparts; in parse_redboot_partitions()
Dbcm63xxpart.c84 int nrparts = 3, curpart = 0; in bcm63xx_parse_cfe_nor_partitions() local
96 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()