Lines Matching refs:ubi_device

91 static struct ubi_device *ubi_devices[UBI_MAX_DEVICES];
159 int ubi_volume_notify(struct ubi_device *ubi, struct ubi_volume *vol, int ntype) in ubi_volume_notify()
191 int ubi_notify_all(struct ubi_device *ubi, int ntype, struct notifier_block *nb) in ubi_notify_all()
239 struct ubi_device *ubi = ubi_devices[i]; in ubi_enumerate_volumes()
258 struct ubi_device *ubi_get_device(int ubi_num) in ubi_get_device()
260 struct ubi_device *ubi; in ubi_get_device()
281 void ubi_put_device(struct ubi_device *ubi) in ubi_put_device()
296 struct ubi_device *ubi_get_by_major(int major) in ubi_get_by_major()
299 struct ubi_device *ubi; in ubi_get_by_major()
331 struct ubi_device *ubi = ubi_devices[i]; in ubi_major2num()
348 struct ubi_device *ubi; in dev_attribute_show()
360 ubi = container_of(dev, struct ubi_device, dev); in dev_attribute_show()
411 struct ubi_device *ubi = container_of(dev, struct ubi_device, dev); in dev_release()
420 static void kill_volumes(struct ubi_device *ubi) in kill_volumes()
440 static int uif_init(struct ubi_device *ubi) in uif_init()
503 static void uif_close(struct ubi_device *ubi) in uif_close()
515 static void ubi_free_volumes_from(struct ubi_device *ubi, int from) in ubi_free_volumes_from()
533 void ubi_free_all_volumes(struct ubi_device *ubi) in ubi_free_all_volumes()
542 void ubi_free_internal_volumes(struct ubi_device *ubi) in ubi_free_internal_volumes()
547 static int get_bad_peb_limit(const struct ubi_device *ubi, int max_beb_per1024) in get_bad_peb_limit()
600 static int io_init(struct ubi_device *ubi, int max_beb_per1024) in io_init()
780 static int autoresize(struct ubi_device *ubi, int vol_id) in autoresize()
853 struct ubi_device *ubi; in ubi_attach_mtd_dev()
933 ubi = kzalloc(sizeof(struct ubi_device), GFP_KERNEL); in ubi_attach_mtd_dev()
1095 struct ubi_device *ubi; in ubi_detach_mtd_dev()