Lines Matching defs:ubi
182 int ubi_volume_notify(struct ubi_device *ubi, struct ubi_volume *vol, int ntype) in ubi_volume_notify()
214 int ubi_notify_all(struct ubi_device *ubi, int ntype, struct notifier_block *nb) in ubi_notify_all()
267 struct ubi_device *ubi = ubi_devices[i]; in ubi_enumerate_volumes() local
288 struct ubi_device *ubi; in ubi_get_device() local
306 void ubi_put_device(struct ubi_device *ubi) in ubi_put_device()
324 struct ubi_device *ubi; in ubi_get_by_major() local
356 struct ubi_device *ubi = ubi_devices[i]; in ubi_major2num() local
374 struct ubi_device *ubi; in dev_attribute_show() local
438 struct ubi_device *ubi = container_of(dev, struct ubi_device, dev); in dev_release() local
452 static int ubi_sysfs_init(struct ubi_device *ubi, int *ref) in ubi_sysfs_init()
473 static void ubi_sysfs_close(struct ubi_device *ubi) in ubi_sysfs_close()
483 static void kill_volumes(struct ubi_device *ubi) in kill_volumes()
510 static int uif_init(struct ubi_device *ubi, int *ref) in uif_init()
582 static void uif_close(struct ubi_device *ubi) in uif_close()
594 void ubi_free_internal_volumes(struct ubi_device *ubi) in ubi_free_internal_volumes()
605 static int get_bad_peb_limit(const struct ubi_device *ubi, int max_beb_per1024) in get_bad_peb_limit()
649 static int io_init(struct ubi_device *ubi, int max_beb_per1024) in io_init()
816 static int autoresize(struct ubi_device *ubi, int vol_id) in autoresize()
882 struct ubi_device *ubi; in ubi_attach_mtd_dev() local
1106 struct ubi_device *ubi; in ubi_detach_mtd_dev() local