Lines Matching full:partitions

17 #include <linux/mtd/partitions.h>
52 printk(KERN_ERR"memory allocation error while creating partitions for \"%s\"\n", in allocate_partition()
75 * concern for showing the same data in multiple partitions. in allocate_partition()
80 * distinguish between the parent and its partitions in sysfs. in allocate_partition()
87 INIT_LIST_HEAD(&child->partitions); in allocate_partition()
269 list_add_tail(&child->part.node, &parent->partitions); in mtd_add_partition()
296 * This function must be called with the partitions mutex locked.
303 list_for_each_entry_safe(child, next, &mtd->partitions, part.node) { in __mtd_del_partition()
331 list_for_each_entry_safe(child, next, &mtd->partitions, part.node) { in __del_mtd_partitions()
356 pr_info("Deleting MTD partitions on \"%s\":\n", mtd->name); in del_mtd_partitions()
371 list_for_each_entry(child, &mtd->partitions, part.node) { in mtd_del_partition()
400 printk(KERN_NOTICE "Creating %d MTD partitions on \"%s\":\n", in add_mtd_partitions()
411 list_add_tail(&child->part.node, &parent->partitions); in add_mtd_partitions()
526 pr_notice("%d %s partitions found on MTD device %s\n", ret, in mtd_part_do_parse()
538 * @compat: compatible string describing partitions in a device tree
540 * MTD parsers can specify supported partitions by providing a table of
581 const char *fixed = "fixed-partitions"; in mtd_part_of_parse()
588 np = of_get_child_by_name(np, "partitions"); in mtd_part_of_parse()
606 * For backward compatibility we have to try the "fixed-partitions" in mtd_part_of_parse()
607 * parser. It supports old DT format with partitions specified as a in mtd_part_of_parse()
627 * parse_mtd_partitions - parse and register MTD partitions
633 * This function tries to find & register partitions on MTD device @master. It
638 * partitions parsed out by the first parser.
642 * o number of found partitions otherwise
664 pr_debug("%s: parsing partitions %s\n", master->name, in parse_mtd_partitions()
677 /* Found partitions! */ in parse_mtd_partitions()