Lines Matching refs:dev_tmp
737 struct mtd_device *dev_tmp; in device_delall() local
741 dev_tmp = list_entry(entry, struct mtd_device, link); in device_delall()
743 part_delall(&dev_tmp->parts); in device_delall()
744 free(dev_tmp); in device_delall()
793 struct mtd_device *dev_tmp; in device_find() local
796 dev_tmp = list_entry(entry, struct mtd_device, link); in device_find()
798 if ((dev_tmp->id->type == type) && (dev_tmp->id->num == num)) in device_find()
799 return dev_tmp; in device_find()
1996 struct mtd_device *dev_tmp; local
2040 dev_tmp = device_find(dev->id->type, dev->id->num);
2041 if (dev_tmp == NULL) {
2043 } else if (part_add(dev_tmp, p) != 0) {