Searched refs:nbparts (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/mtd/
H A Dmtdcore.c523 int nbparts) mtd_add_device_partitions()
527 if (nbparts == 0 || IS_ENABLED(CONFIG_MTD_PARTITIONED_MASTER)) { mtd_add_device_partitions()
533 if (nbparts > 0) { mtd_add_device_partitions()
534 ret = add_mtd_partitions(mtd, real_parts, nbparts); mtd_add_device_partitions()
521 mtd_add_device_partitions(struct mtd_info *mtd, struct mtd_partition *real_parts, int nbparts) mtd_add_device_partitions() argument
H A Dmtdpart.c657 int nbparts) add_mtd_partitions()
663 printk(KERN_NOTICE "Creating %d MTD partitions on \"%s\":\n", nbparts, master->name); add_mtd_partitions()
665 for (i = 0; i < nbparts; i++) { add_mtd_partitions()
655 add_mtd_partitions(struct mtd_info *master, const struct mtd_partition *parts, int nbparts) add_mtd_partitions() argument
/linux-4.4.14/drivers/mtd/nand/
H A Dnandsim.c307 unsigned int nbparts; member in struct:nandsim
753 ns->nbparts = parts_num; init_nandsim()
766 ns->nbparts += 1; init_nandsim()
2383 nand->nbparts); ns_init_module()

Completed in 130 milliseconds