/linux-6.6.21/drivers/mtd/ |
D | mtdpart.c | 471 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/ |
D | qcomsmempart.c | 58 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()
|
D | tplink_safeloader.c | 74 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()
|
D | bcm63xxpart.c | 81 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()
|
D | ofpart_core.c | 42 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()
|
D | brcm_u-boot.c | 30 const struct mtd_partition **pparts, in brcm_u_boot_parse() argument 66 *pparts = parts; in brcm_u_boot_parse()
|
D | ar7part.c | 32 const struct mtd_partition **pparts, in create_mtd_partitions() argument 116 *pparts = ar7_parts; in create_mtd_partitions()
|
D | parser_trx.c | 51 const struct mtd_partition **pparts, in parser_trx_parse() argument 118 *pparts = parts; in parser_trx_parse()
|
D | cmdlinepart.c | 334 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()
|
D | parser_imagetag.c | 60 const struct mtd_partition **pparts, in bcm963xx_parse_imagetag_partitions() argument 191 *pparts = parts; in bcm963xx_parse_imagetag_partitions()
|
D | afs.c | 324 const struct mtd_partition **pparts, in parse_afs_partitions() argument 369 *pparts = parts; in parse_afs_partitions() 376 *pparts = NULL; in parse_afs_partitions()
|
D | scpart.c | 139 const struct mtd_partition **pparts, in scpart_parse() argument 214 *pparts = parts; in scpart_parse()
|
D | bcm47xxpart.c | 87 const struct mtd_partition **pparts, in bcm47xxpart_parse() argument 299 *pparts = parts; in bcm47xxpart_parse()
|
D | redboot.c | 73 const struct mtd_partition **pparts, in parse_redboot_partitions() argument 294 *pparts = parts; in parse_redboot_partitions()
|
D | sharpslpart.c | 326 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/ |
D | partitions.h | 85 void (*cleanup)(const struct mtd_partition *pparts, int nr_parts);
|