Lines Matching defs:index
86 #define MTD_DEVT(index) MKDEV(MTD_CHAR_MAJOR, (index)*2)
94 dev_t index = MTD_DEVT(mtd->index);
96 idr_remove(&mtd_idr, mtd->index);
103 device_destroy(&mtd_class, index + 1);
697 mtd->index = i;
772 pr_info("mtd: setting mtd%d (%s) as root device\n", mtd->index, mtd->name);
773 ROOT_DEV = MKDEV(MTD_BLOCK_MAJOR, mtd->index);
776 mtd->index, mtd->name);
814 if (idr_find(&mtd_idr, mtd->index) != mtd) {
2470 mtd->index, (unsigned long long)mtd->size,