Home
last modified time | relevance | path

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

/linux/include/linux/mtd/
H A Dubi.h225 struct ubi_volume_desc;
228 void ubi_get_volume_info(struct ubi_volume_desc *desc,
230 struct ubi_volume_desc *ubi_open_volume(int ubi_num, int vol_id, int mode);
231 struct ubi_volume_desc *ubi_open_volume_nm(int ubi_num, const char *name,
233 struct ubi_volume_desc *ubi_open_volume_path(const char *pathname, int mode);
239 void ubi_close_volume(struct ubi_volume_desc *desc);
240 int ubi_leb_read(struct ubi_volume_desc *desc, int lnum, char *buf, int offset,
242 int ubi_leb_read_sg(struct ubi_volume_desc *desc, int lnum, struct ubi_sgl *sgl,
244 int ubi_leb_write(struct ubi_volume_desc *desc, int lnum, const void *buf,
246 int ubi_leb_change(struct ubi_volume_desc *desc, int lnum, const void *buf,
[all …]
/linux/drivers/mtd/ubi/
H A 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()
325 struct ubi_volume_desc *ubi_open_volume_path(const char *pathname, int mode) in ubi_open_volume_path()
346 void ubi_close_volume(struct ubi_volume_desc *desc) in ubi_close_volume()
389 static int leb_read_sanity_check(struct ubi_volume_desc *desc, int lnum, in leb_read_sanity_check()
443 int ubi_leb_read(struct ubi_volume_desc *desc, int lnum, char *buf, int offset, in ubi_leb_read()
[all …]
H A 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 …]
H A Dubi.h218 struct ubi_volume_desc *desc;
222 struct ubi_volume_desc;
379 struct ubi_volume_desc { struct
846 int ubi_remove_volume(struct ubi_volume_desc *desc, int no_vtbl);
847 int ubi_resize_volume(struct ubi_volume_desc *desc, int reserved_pebs);
H A Dnvmem.c27 struct ubi_volume_desc *desc; in ubi_nvmem_reg_read()
H A Dvmt.c361 int ubi_remove_volume(struct ubi_volume_desc *desc, int no_vtbl) in ubi_remove_volume()
445 int ubi_resize_volume(struct ubi_volume_desc *desc, int reserved_pebs) in ubi_resize_volume()
H A Dgluebi.c46 struct ubi_volume_desc *desc;
H A Dblock.c74 struct ubi_volume_desc *desc;
H A Dbuild.c782 struct ubi_volume_desc desc; in autoresize()
/linux/fs/ubifs/
H A Dsuper.c2037 static struct ubi_volume_desc *open_ubi(struct fs_context *fc, int mode) in open_ubi()
2039 struct ubi_volume_desc *ubi; in open_ubi()
2082 static struct ubifs_info *alloc_ubifs_info(struct ubi_volume_desc *ubi) in alloc_ubifs_info()
2236 struct ubi_volume_desc *ubi; in ubifs_get_tree()
H A Dubifs.h1405 struct ubi_volume_desc *ubi;