Home
last modified time | relevance | path

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

/Linux-v5.15/include/linux/mtd/
Dubi.h222 struct ubi_volume_desc;
225 void ubi_get_volume_info(struct ubi_volume_desc *desc,
227 struct ubi_volume_desc *ubi_open_volume(int ubi_num, int vol_id, int mode);
228 struct ubi_volume_desc *ubi_open_volume_nm(int ubi_num, const char *name,
230 struct ubi_volume_desc *ubi_open_volume_path(const char *pathname, int mode);
236 void ubi_close_volume(struct ubi_volume_desc *desc);
237 int ubi_leb_read(struct ubi_volume_desc *desc, int lnum, char *buf, int offset,
239 int ubi_leb_read_sg(struct ubi_volume_desc *desc, int lnum, struct ubi_sgl *sgl,
241 int ubi_leb_write(struct ubi_volume_desc *desc, int lnum, const void *buf,
243 int ubi_leb_change(struct ubi_volume_desc *desc, int lnum, const void *buf,
[all …]
/Linux-v5.15/drivers/mtd/ubi/
Dkapi.c89 void ubi_get_volume_info(struct ubi_volume_desc *desc, in ubi_get_volume_info()
114 struct ubi_volume_desc *ubi_open_volume(int ubi_num, int vol_id, int mode) in ubi_open_volume()
117 struct ubi_volume_desc *desc; in ubi_open_volume()
142 desc = kmalloc(sizeof(struct ubi_volume_desc), GFP_KERNEL); in ubi_open_volume()
232 struct ubi_volume_desc *ubi_open_volume_nm(int ubi_num, const char *name, in ubi_open_volume_nm()
237 struct ubi_volume_desc *ret; in ubi_open_volume_nm()
289 struct ubi_volume_desc *ubi_open_volume_path(const char *pathname, int mode) in ubi_open_volume_path()
325 void ubi_close_volume(struct ubi_volume_desc *desc) in ubi_close_volume()
368 static int leb_read_sanity_check(struct ubi_volume_desc *desc, int lnum, in leb_read_sanity_check()
422 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
847 int ubi_remove_volume(struct ubi_volume_desc *desc, int no_vtbl);
848 int ubi_resize_volume(struct ubi_volume_desc *desc, int reserved_pebs);
Dblock.c76 struct ubi_volume_desc *desc;
595 static struct ubi_volume_desc * __init
612 struct ubi_volume_desc *desc; in ubiblock_create_from_param()
Dvmt.c340 int ubi_remove_volume(struct ubi_volume_desc *desc, int no_vtbl) in ubi_remove_volume()
411 int ubi_resize_volume(struct ubi_volume_desc *desc, int reserved_pebs) in ubi_resize_volume()
Dgluebi.c46 struct ubi_volume_desc *desc;
Dbuild.c763 struct ubi_volume_desc desc; in autoresize()
/Linux-v5.15/fs/ubifs/
Dsuper.c2077 static struct ubi_volume_desc *open_ubi(const char *name, int mode) in open_ubi()
2079 struct ubi_volume_desc *ubi; in open_ubi()
2123 static struct ubifs_info *alloc_ubifs_info(struct ubi_volume_desc *ubi) in alloc_ubifs_info()
2269 struct ubi_volume_desc *ubi; in ubifs_mount()
Dubifs.h1383 struct ubi_volume_desc *ubi;