Home
last modified time | relevance | path

Searched refs:gluebi (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/mtd/ubi/
Dgluebi.c81 struct gluebi_device *gluebi; in find_gluebi_nolock() local
83 list_for_each_entry(gluebi, &gluebi_devices, list) in find_gluebi_nolock()
84 if (gluebi->ubi_num == ubi_num && gluebi->vol_id == vol_id) in find_gluebi_nolock()
85 return gluebi; in find_gluebi_nolock()
99 struct gluebi_device *gluebi; in gluebi_get_device() local
105 gluebi = container_of(mtd, struct gluebi_device, mtd); in gluebi_get_device()
107 if (gluebi->refcnt > 0) { in gluebi_get_device()
116 gluebi->refcnt += 1; in gluebi_get_device()
125 gluebi->desc = ubi_open_volume(gluebi->ubi_num, gluebi->vol_id, in gluebi_get_device()
127 if (IS_ERR(gluebi->desc)) { in gluebi_get_device()
[all …]
DMakefile9 obj-$(CONFIG_MTD_UBI_GLUEBI) += gluebi.o
DKconfig81 tristate "MTD devices emulation driver (gluebi)"
83 This option enables gluebi - an additional driver which emulates MTD