Searched refs:nrparts (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/mtd/parsers/ |
H A D | parser_imagetag.c | 64 int nrparts = 0, curpart = 0; in bcm963xx_parse_imagetag_partitions() local 148 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()
|
H A D | redboot.c | 76 int nrparts = 0; in parse_redboot_partitions() local 228 nrparts++; in parse_redboot_partitions() 232 nrparts++; in parse_redboot_partitions() 238 nrparts++; in parse_redboot_partitions() 243 parts = kzalloc(sizeof(*parts)*nrparts + nulllen + namelen, GFP_KERNEL); in parse_redboot_partitions() 250 nullname = (char *)&parts[nrparts]; in parse_redboot_partitions() 268 for ( ; i<nrparts; i++) { in parse_redboot_partitions() 295 ret = nrparts; in parse_redboot_partitions()
|
H A D | bcm63xxpart.c | 84 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()
|
/kernel/linux/linux-6.6/drivers/mtd/parsers/ |
H A D | parser_imagetag.c | 64 int nrparts = 0, curpart = 0; in bcm963xx_parse_imagetag_partitions() local 148 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()
|
H A D | redboot.c | 76 int nrparts = 0; in parse_redboot_partitions() local 227 nrparts++; in parse_redboot_partitions() 231 nrparts++; in parse_redboot_partitions() 237 nrparts++; in parse_redboot_partitions() 242 parts = kzalloc(sizeof(*parts) * nrparts + nulllen + namelen, GFP_KERNEL); in parse_redboot_partitions() 249 nullname = (char *)&parts[nrparts]; in parse_redboot_partitions() 266 for ( ; i < nrparts; i++) { in parse_redboot_partitions() 293 ret = nrparts; in parse_redboot_partitions()
|
H A D | bcm63xxpart.c | 84 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()
|
Completed in 3 milliseconds