Lines Matching refs:ubi_devices
86 static struct ubi_device *ubi_devices[UBI_MAX_DEVICES]; variable
235 struct ubi_device *ubi = ubi_devices[i]; in ubi_enumerate_volumes()
259 ubi = ubi_devices[ubi_num]; in ubi_get_device()
296 ubi = ubi_devices[i]; in ubi_get_by_major()
324 struct ubi_device *ubi = ubi_devices[i]; in ubi_major2num()
860 ubi = ubi_devices[i]; in ubi_attach_mtd_dev()
906 if (!ubi_devices[ubi_num]) in ubi_attach_mtd_dev()
918 if (ubi_devices[ubi_num]) { in ubi_attach_mtd_dev()
1050 ubi_devices[ubi_num] = ubi; in ubi_attach_mtd_dev()
1105 ubi_devices[ubi_num] = NULL; in ubi_detach_mtd_dev()
1312 if (ubi_devices[k]) { in ubi_init()
1314 ubi_detach_mtd_dev(ubi_devices[k]->ubi_num, 1); in ubi_init()
1336 if (ubi_devices[i]) { in ubi_exit()
1338 ubi_detach_mtd_dev(ubi_devices[i]->ubi_num, 1); in ubi_exit()