Lines Matching full:ubi
9 * This is a small driver which implements fake MTD devices on top of UBI
12 * UBI.
15 * size (@mtd->writesize) is equivalent to the UBI minimal I/O unit. The
26 #include <linux/mtd/ubi.h>
28 #include "ubi-media.h"
38 * @desc: UBI volume descriptor
39 * @ubi_num: UBI device number this gluebi device works on
40 * @vol_id: ID of UBI volume this gluebi device works on
58 * @ubi_num: UBI device number
61 * This function seraches for gluebi device corresponding to UBI device
62 * @ubi_num and UBI volume @vol_id. Returns the gluebi device description
99 * readers/writers/exclusive/meta openers as UBI does. So we do in gluebi_get_device()
100 * not open the UBI volume again - just increase the reference in gluebi_get_device()
109 * This is the first reference to this UBI volume via the MTD device in gluebi_get_device()
270 * gluebi_create - create a gluebi device for an UBI volume.
271 * @di: UBI device description object
272 * @vi: UBI volume description object
274 * This function is called when a new UBI volume is created in order to create
323 err_msg("gluebi MTD device %d form UBI device %d volume %d already exists", in gluebi_create()
342 * @vi: UBI volume description object
344 * This function is called when an UBI volume is removed and it removes
357 err_msg("got remove notification for unknown UBI device %d volume %d", in gluebi_remove()
371 err_msg("cannot remove fake MTD device %d, UBI device %d, volume %d, error %d", in gluebi_remove()
385 * gluebi_updated - UBI volume was updated notifier.
388 * This function is called every time an UBI volume is updated. It does nothing
402 err_msg("got update notification for unknown UBI device %d volume %d", in gluebi_updated()
414 * gluebi_resized - UBI volume was re-sized notifier.
417 * This function is called every time an UBI volume is re-size. It changes the
429 err_msg("got update notification for unknown UBI device %d volume %d", in gluebi_resized()
439 * gluebi_notify - UBI notification handler.
487 err_msg("error %d while removing gluebi MTD device %d, UBI device %d, volume %d - ignoring", in ubi_gluebi_exit()
498 MODULE_DESCRIPTION("MTD emulation layer over UBI volumes");