Home
last modified time | relevance | path

Searched refs:ubi_volume_desc (Results 1 – 10 of 10) sorted by relevance

/linux-6.6.21/include/linux/mtd/
Dubi.h223 struct ubi_volume_desc;
226 void ubi_get_volume_info(struct ubi_volume_desc *desc,
228 struct ubi_volume_desc *ubi_open_volume(int ubi_num, int vol_id, int mode);
229 struct ubi_volume_desc *ubi_open_volume_nm(int ubi_num, const char *name,
231 struct ubi_volume_desc *ubi_open_volume_path(const char *pathname, int mode);
237 void ubi_close_volume(struct ubi_volume_desc *desc);
238 int ubi_leb_read(struct ubi_volume_desc *desc, int lnum, char *buf, int offset,
240 int ubi_leb_read_sg(struct ubi_volume_desc *desc, int lnum, struct ubi_sgl *sgl,
242 int ubi_leb_write(struct ubi_volume_desc *desc, int lnum, const void *buf,
244 int ubi_leb_change(struct ubi_volume_desc *desc, int lnum, const void *buf,
[all …]
/linux-6.6.21/drivers/mtd/ubi/
Dkapi.c90 void ubi_get_volume_info(struct ubi_volume_desc *desc, in ubi_get_volume_info()
115 struct ubi_volume_desc *ubi_open_volume(int ubi_num, int vol_id, int mode) in ubi_open_volume()
118 struct ubi_volume_desc *desc; in ubi_open_volume()
143 desc = kmalloc(sizeof(struct ubi_volume_desc), GFP_KERNEL); in ubi_open_volume()
233 struct ubi_volume_desc *ubi_open_volume_nm(int ubi_num, const char *name, in ubi_open_volume_nm()
238 struct ubi_volume_desc *ret; in ubi_open_volume_nm()
290 struct ubi_volume_desc *ubi_open_volume_path(const char *pathname, int mode) in ubi_open_volume_path()
326 void ubi_close_volume(struct ubi_volume_desc *desc) in ubi_close_volume()
369 static int leb_read_sanity_check(struct ubi_volume_desc *desc, int lnum, in leb_read_sanity_check()
423 int ubi_leb_read(struct ubi_volume_desc *desc, int lnum, char *buf, int offset, in ubi_leb_read()
[all …]
Dcdev.c44 static int get_exclusive(struct ubi_volume_desc *desc) in get_exclusive()
71 static void revoke_exclusive(struct ubi_volume_desc *desc, int mode) in revoke_exclusive()
94 struct ubi_volume_desc *desc; in vol_cdev_open()
119 struct ubi_volume_desc *desc = file->private_data; in vol_cdev_release()
145 struct ubi_volume_desc *desc = file->private_data; in vol_cdev_llseek()
160 struct ubi_volume_desc *desc = file->private_data; in vol_cdev_fsync()
174 struct ubi_volume_desc *desc = file->private_data; in vol_cdev_read()
251 struct ubi_volume_desc *desc = file->private_data; in vol_cdev_direct_write()
327 struct ubi_volume_desc *desc = file->private_data; in vol_cdev_write()
382 struct ubi_volume_desc *desc = file->private_data; in vol_cdev_ioctl()
[all …]
Dubi.h226 struct ubi_volume_desc *desc;
230 struct ubi_volume_desc;
386 struct ubi_volume_desc { struct
845 int ubi_remove_volume(struct ubi_volume_desc *desc, int no_vtbl);
846 int ubi_resize_volume(struct ubi_volume_desc *desc, int reserved_pebs);
Dblock.c74 struct ubi_volume_desc *desc;
571 static struct ubi_volume_desc * __init
588 struct ubi_volume_desc *desc; in ubiblock_create_from_param()
Dvmt.c333 int ubi_remove_volume(struct ubi_volume_desc *desc, int no_vtbl) in ubi_remove_volume()
404 int ubi_resize_volume(struct ubi_volume_desc *desc, int reserved_pebs) in ubi_resize_volume()
Dgluebi.c46 struct ubi_volume_desc *desc;
Dbuild.c776 struct ubi_volume_desc desc; in autoresize()
/linux-6.6.21/fs/ubifs/
Dsuper.c2090 static struct ubi_volume_desc *open_ubi(const char *name, int mode) in open_ubi()
2092 struct ubi_volume_desc *ubi; in open_ubi()
2136 static struct ubifs_info *alloc_ubifs_info(struct ubi_volume_desc *ubi) in alloc_ubifs_info()
2282 struct ubi_volume_desc *ubi; in ubifs_mount()
Dubifs.h1411 struct ubi_volume_desc *ubi;