android_kernel_xiaomi_sm8350/include/linux/mtd
Dmitry Pervushin 0e0ee1cc33 UBI: add notification API
UBI volume notifications are intended to create the API to get clients
notified about volume creation/deletion, renaming and re-sizing. A
client can subscribe to these notifications using 'ubi_volume_register()'
and cancel the subscription using 'ubi_volume_unregister()'. When UBI
volumes change, a blocking notifier is called. Clients also can request
"added" events on all volumes that existed before client subscribed
to the notifications.

If we use notifications instead of calling functions like 'ubi_gluebi_xxx()',
we can make the MTD emulation layer to be more flexible: build it as a
separate module and load/unload it on demand.

[Artem: many cleanups, rework locking, add "updated" event, provide
 device/volume info in notifiers]

Signed-off-by: Dmitry Pervushin <dpervushin@embeddedalley.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2009-06-02 13:53:35 +03:00
..
bbm.h
blktrans.h
cfi_endian.h
cfi.h
compatmac.h
concat.h
doc2000.h
flashchip.h
ftl.h
gen_probe.h
inftl.h
map.h
mtd.h [MTD] driver model updates 2009-04-04 14:29:07 +01:00
mtdram.h
nand_ecc.h
nand-gpio.h
nand.h [MTD] [NAND] Add support for 4KiB pages. 2009-04-06 07:01:56 -07:00
ndfc.h
nftl.h
onenand_regs.h
onenand.h
partitions.h
pfow.h
physmap.h
plat-ram.h
pmc551.h
qinfo.h
sh_flctl.h
sharpsl.h
super.h
ubi.h UBI: add notification API 2009-06-02 13:53:35 +03:00
xip.h