Home
last modified time | relevance | path

Searched refs:pparts (Results 1 – 16 of 16) sorted by relevance

/linux-6.6.21/drivers/mtd/
Dmtdpart.c471 static void mtd_part_parser_cleanup_default(const struct mtd_partition *pparts, in mtd_part_parser_cleanup_default() argument
474 kfree(pparts); in mtd_part_parser_cleanup_default()
518 struct mtd_partitions *pparts, in mtd_part_do_parse() argument
523 ret = (*parser->parse_fn)(master, &pparts->parts, data); in mtd_part_do_parse()
531 pparts->nr_parts = ret; in mtd_part_do_parse()
532 pparts->parser = parser; in mtd_part_do_parse()
577 struct mtd_partitions *pparts) in mtd_part_of_parse() argument
612 ret = mtd_part_do_parse(parser, master, pparts, NULL); in mtd_part_of_parse()
635 ret = mtd_part_do_parse(parser, master, pparts, NULL); in mtd_part_of_parse()
667 struct mtd_partitions pparts = { }; in parse_mtd_partitions() local
[all …]
/linux-6.6.21/drivers/mtd/parsers/
Dqcomsmempart.c58 const struct mtd_partition **pparts, in parse_qcomsmem_part() argument
157 *pparts = parts; in parse_qcomsmem_part()
165 *pparts = NULL; in parse_qcomsmem_part()
170 static void parse_qcomsmem_cleanup(const struct mtd_partition *pparts, in parse_qcomsmem_cleanup() argument
176 kfree(pparts[i].name); in parse_qcomsmem_cleanup()
178 kfree(pparts); in parse_qcomsmem_cleanup()
Dtplink_safeloader.c74 const struct mtd_partition **pparts, in mtd_parser_tplink_safeloader_parse() argument
114 *pparts = parts; in mtd_parser_tplink_safeloader_parse()
127 static void mtd_parser_tplink_safeloader_cleanup(const struct mtd_partition *pparts, in mtd_parser_tplink_safeloader_cleanup() argument
133 kfree(pparts[i].name); in mtd_parser_tplink_safeloader_cleanup()
135 kfree(pparts); in mtd_parser_tplink_safeloader_cleanup()
Dbcm63xxpart.c81 const struct mtd_partition **pparts, struct bcm963xx_nvram *nvram) in bcm63xx_parse_cfe_nor_partitions() argument
121 *pparts = parts; in bcm63xx_parse_cfe_nor_partitions()
127 const struct mtd_partition **pparts, in bcm63xx_parse_cfe_partitions() argument
145 ret = bcm63xx_parse_cfe_nor_partitions(master, pparts, nvram); in bcm63xx_parse_cfe_partitions()
Dofpart_core.c42 const struct mtd_partition **pparts, in parse_fixed_partitions() argument
178 *pparts = parts; in parse_fixed_partitions()
208 const struct mtd_partition **pparts, in parse_ofoldpart_partitions() argument
258 *pparts = parts; in parse_ofoldpart_partitions()
Dbrcm_u-boot.c30 const struct mtd_partition **pparts, in brcm_u_boot_parse() argument
66 *pparts = parts; in brcm_u_boot_parse()
Dar7part.c32 const struct mtd_partition **pparts, in create_mtd_partitions() argument
116 *pparts = ar7_parts; in create_mtd_partitions()
Dparser_trx.c51 const struct mtd_partition **pparts, in parser_trx_parse() argument
118 *pparts = parts; in parser_trx_parse()
Dcmdlinepart.c334 const struct mtd_partition **pparts, in parse_cmdline_partitions() argument
387 *pparts = kmemdup(part->parts, sizeof(*part->parts) * part->num_parts, in parse_cmdline_partitions()
389 if (!*pparts) in parse_cmdline_partitions()
Dparser_imagetag.c60 const struct mtd_partition **pparts, in bcm963xx_parse_imagetag_partitions() argument
191 *pparts = parts; in bcm963xx_parse_imagetag_partitions()
Dafs.c324 const struct mtd_partition **pparts, in parse_afs_partitions() argument
369 *pparts = parts; in parse_afs_partitions()
376 *pparts = NULL; in parse_afs_partitions()
Dscpart.c139 const struct mtd_partition **pparts, in scpart_parse() argument
214 *pparts = parts; in scpart_parse()
Dbcm47xxpart.c87 const struct mtd_partition **pparts, in bcm47xxpart_parse() argument
299 *pparts = parts; in bcm47xxpart_parse()
Dredboot.c73 const struct mtd_partition **pparts, in parse_redboot_partitions() argument
294 *pparts = parts; in parse_redboot_partitions()
Dsharpslpart.c326 const struct mtd_partition **pparts, in sharpsl_parse_mtd_partitions() argument
387 *pparts = sharpsl_nand_parts; in sharpsl_parse_mtd_partitions()
/linux-6.6.21/include/linux/mtd/
Dpartitions.h85 void (*cleanup)(const struct mtd_partition *pparts, int nr_parts);