Searched refs:nbparts (Results 1 – 3 of 3) sorted by relevance
371 int nbparts = 0; in tmio_probe() local453 nbparts = parse_mtd_partitions(mtd, part_probes, &parts, 0); in tmio_probe()455 if (nbparts <= 0 && data) { in tmio_probe()457 nbparts = data->num_partitions; in tmio_probe()460 if (nbparts) in tmio_probe()461 retval = add_mtd_partitions(mtd, parts, nbparts); in tmio_probe()
291 unsigned int nbparts; member636 ns->nbparts = parts_num; in init_nandsim()646 ns->nbparts += 1; in init_nandsim()2325 if ((retval = add_mtd_partitions(nsmtd, &nand->partitions[0], nand->nbparts)) != 0) in ns_init_module()
501 int nbparts) in add_mtd_partitions() argument507 printk(KERN_NOTICE "Creating %d MTD partitions on \"%s\":\n", nbparts, master->name); in add_mtd_partitions()509 for (i = 0; i < nbparts; i++) { in add_mtd_partitions()