Home
last modified time | relevance | path

Searched defs:vol_id (Results 1 – 25 of 41) sorted by relevance

12

/openbmc/u-boot/drivers/mtd/ubi/
H A Deba.c71 static int ubi_get_compat(const struct ubi_device *ubi, int vol_id) in ubi_get_compat()
128 int vol_id, int lnum) in ltree_add_entry()
197 static int leb_read_lock(struct ubi_device *ubi, int vol_id, int lnum) in leb_read_lock()
214 static void leb_read_unlock(struct ubi_device *ubi, int vol_id, int lnum) in leb_read_unlock()
239 static int leb_write_lock(struct ubi_device *ubi, int vol_id, int lnum) in leb_write_lock()
319 int err, pnum, vol_id = vol->vol_id; in ubi_eba_unmap_leb() local
367 int err, pnum, scrub = 0, vol_id = vol->vol_id; in ubi_eba_read_leb() local
657 int err, pnum, tries = 0, vol_id = vol->vol_id; in ubi_eba_write_leb() local
790 int err, pnum, tries = 0, data_size = len, vol_id = vol->vol_id; in ubi_eba_write_leb_st() local
907 int err, pnum, old_pnum, tries = 0, vol_id = vol->vol_id; in ubi_eba_atomic_leb_change() local
[all …]
H A Dkapi.c121 struct ubi_volume_desc *ubi_open_volume(int ubi_num, int vol_id, int mode) in ubi_open_volume()
242 int i, vol_id = -1, len; in ubi_open_volume_nm() local
299 int error, ubi_num, vol_id, mod; in ubi_open_volume_path() local
379 int vol_id = vol->vol_id; in leb_read_sanity_check() local
433 int err, vol_id = vol->vol_id; in ubi_leb_read() local
473 int err, vol_id = vol->vol_id; in ubi_leb_read_sg() local
525 int vol_id = vol->vol_id; in ubi_leb_write() local
570 int vol_id = vol->vol_id; in ubi_leb_change() local
792 int ubi_flush(int ubi_num, int vol_id, int lnum) in ubi_flush()
H A Dvmt.c153 int i, err, vol_id = req->vol_id, do_free = 1; in ubi_create_volume() local
358 int i, err, vol_id = vol->vol_id, reserved_pebs = vol->reserved_pebs; in ubi_remove_volume() local
431 int vol_id = vol->vol_id; in ubi_resize_volume() local
586 int err, vol_id = vol->vol_id; in ubi_add_volume() local
646 static int self_check_volume(struct ubi_device *ubi, int vol_id) in self_check_volume()
H A Dattach.c114 static int add_to_list(struct ubi_attach_info *ai, int pnum, int vol_id, in add_to_list()
192 int vol_id = be32_to_cpu(vid_hdr->vol_id); in validate_vid_hdr() local
254 int vol_id, int pnum, in add_volume()
447 int err, vol_id, lnum; in ubi_add_to_av() local
601 int vol_id) in ubi_find_av()
818 int err, bitflips = 0, vol_id = -1, ec_err = 0; in scan_peb() local
1350 int vol_id = -1; in scan_fast() local
H A Dwl.c604 int vol_id, int lnum, int torture) in schedule_erase()
641 int vol_id, int lnum, int torture) in do_sync_erase()
674 int vol_id = -1, lnum = -1; local
1065 int vol_id = wl_wrk->vol_id; local
1198 int ubi_wl_put_peb(struct ubi_device *ubi, int vol_id, int lnum,
1355 int ubi_wl_flush(struct ubi_device *ubi, int vol_id, int lnum)
H A Dmisc.c49 int ubi_check_volume(struct ubi_device *ubi, int vol_id) in ubi_check_volume()
H A Dubi.h197 int vol_id; member
315 int vol_id; member
649 int vol_id; member
682 int vol_id; member
768 int vol_id; member
1099 static inline int vol_id2idx(const struct ubi_device *ubi, int vol_id) in vol_id2idx()
H A Dfastmap-wl.c329 int vol_id, pnum = fm_e->pnum; in ubi_wl_put_fm_peb() local
H A Dfastmap.c112 static struct ubi_vid_hdr *new_fm_vhdr(struct ubi_device *ubi, int vol_id) in new_fm_vhdr()
183 static struct ubi_ainf_volume *add_vol(struct ubi_attach_info *ai, int vol_id, in add_vol()
/openbmc/linux/drivers/mtd/ubi/
H A Deba.c90 static int ubi_get_compat(const struct ubi_device *ubi, int vol_id) in ubi_get_compat()
250 int vol_id, int lnum) in ltree_add_entry()
319 static int leb_read_lock(struct ubi_device *ubi, int vol_id, int lnum) in leb_read_lock()
453 int err, pnum, vol_id = vol->vol_id; in ubi_eba_unmap_leb() local
598 int err, pnum, scrub = 0, vol_id = vol->vol_id; in ubi_eba_read_leb() local
812 int new_pnum, err, vol_id = vol->vol_id, data_size; in try_recover_peb() local
949 int pnum, opnum, err, err2, vol_id = vol->vol_id; in try_write_vid_and_data() local
1019 int err, pnum, tries, vol_id = vol->vol_id; in ubi_eba_write_leb() local
1122 int err, tries, data_size = len, vol_id = vol->vol_id; in ubi_eba_write_leb_st() local
1200 int err, tries, vol_id = vol->vol_id; in ubi_eba_atomic_leb_change() local
[all …]
H A Dkapi.c115 struct ubi_volume_desc *ubi_open_volume(int ubi_num, int vol_id, int mode) in ubi_open_volume()
236 int i, vol_id = -1, len; in ubi_open_volume_nm() local
292 int error, ubi_num, vol_id; in ubi_open_volume_path() local
374 int vol_id = vol->vol_id; in leb_read_sanity_check() local
428 int err, vol_id = vol->vol_id; in ubi_leb_read() local
468 int err, vol_id = vol->vol_id; in ubi_leb_read_sg() local
519 int vol_id = vol->vol_id; in ubi_leb_write() local
564 int vol_id = vol->vol_id; in ubi_leb_change() local
786 int ubi_flush(int ubi_num, int vol_id, int lnum) in ubi_flush()
H A Dattach.c104 int vol_id, unsigned int flags, in find_or_add_av()
162 int vol_id, bool *created) in ubi_find_or_add_av()
229 static int add_to_list(struct ubi_attach_info *ai, int pnum, int vol_id, in add_to_list()
335 int vol_id = be32_to_cpu(vid_hdr->vol_id); in validate_vid_hdr() local
397 int vol_id, int pnum, in add_volume()
566 int err, vol_id, lnum; in ubi_add_to_av() local
717 struct ubi_ainf_volume *ubi_add_av(struct ubi_attach_info *ai, int vol_id) in ubi_add_av()
733 int vol_id) in ubi_find_av()
915 static bool vol_ignored(int vol_id) in vol_ignored()
948 int err, bitflips = 0, vol_id = -1, ec_err = 0; in scan_peb() local
H A Dvmt.c140 int i, err, vol_id = req->vol_id; in ubi_create_volume() local
337 int i, err, vol_id = vol->vol_id, reserved_pebs = vol->reserved_pebs; in ubi_remove_volume() local
411 int vol_id = vol->vol_id; in ubi_resize_volume() local
572 int err, vol_id = vol->vol_id; in ubi_add_volume() local
630 static int self_check_volume(struct ubi_device *ubi, int vol_id) in self_check_volume()
H A Dblock.c59 int vol_id; member
76 int vol_id; member
170 static struct ubiblock *find_dev_nolock(int ubi_num, int vol_id) in find_dev_nolock()
572 open_volume_desc(const char *name, int ubi_num, int vol_id) in open_volume_desc()
H A Dwl.c584 int vol_id, int lnum, int torture, bool nested) in schedule_erase()
621 int vol_id, int lnum, int torture) in do_sync_erase()
651 int erase = 0, keep = 0, vol_id = -1, lnum = -1; local
1090 int vol_id = wl_wrk->vol_id; local
1248 int ubi_wl_put_peb(struct ubi_device *ubi, int vol_id, int lnum,
1417 int ubi_wl_flush(struct ubi_device *ubi, int vol_id, int lnum)
H A Dcdev.c95 int vol_id = iminor(inode) - 1, mode, ubi_num; in vol_cdev_open() local
726 int vol_id = req->ents[i].vol_id; in rename_volumes() local
879 int vol_id; in ubi_cdev_ioctl() local
H A Dgluebi.c48 int vol_id; member
66 static struct gluebi_device *find_gluebi_nolock(int ubi_num, int vol_id) in find_gluebi_nolock()
H A Dfastmap.c104 static struct ubi_vid_io_buf *new_fm_vbuf(struct ubi_device *ubi, int vol_id) in new_fm_vbuf()
175 static struct ubi_ainf_volume *add_vol(struct ubi_attach_info *ai, int vol_id, in add_vol()
340 int vol_id = be32_to_cpu(new_vh->vol_id); in process_pool_aeb() local
H A Dubi.h203 int vol_id; member
342 int vol_id; member
678 int vol_id; member
711 int vol_id; member
806 int vol_id; member
1169 static inline int vol_id2idx(const struct ubi_device *ubi, int vol_id) in vol_id2idx()
1194 static inline bool ubi_is_fm_vol(int vol_id) in ubi_is_fm_vol()
H A Dmisc.c48 int ubi_check_volume(struct ubi_device *ubi, int vol_id) in ubi_check_volume()
/openbmc/u-boot/drivers/mtd/ubispl/
H A Dubispl.c124 struct ubi_vid_hdr *vh, u32 vol_id, in ubi_add_peb_to_vol()
196 u32 vol_id, lnum; in ubi_scan_vid_hdr() local
226 u32 vol_id, u32 vol_type, u32 used) in assign_aeb_to_av()
394 u32 vol_id, vol_type, used, reserved; in ubi_attach_fastmap() local
718 struct ubi_vol_info *vi, u32 vol_id, u32 lnum, in ubi_load_block()
845 static int ipl_load(struct ubi_scan_info *ubi, const u32 vol_id, uint8_t *laddr) in ipl_load()
/openbmc/u-boot/include/mtd/
H A Dubi-user.h306 __s32 vol_id; member
329 __s32 vol_id; member
367 __s32 vol_id; member
/openbmc/linux/include/uapi/mtd/
H A Dubi-user.h345 __s32 vol_id; member
368 __s32 vol_id; member
406 __s32 vol_id; member
/openbmc/u-boot/include/
H A Dubispl.h76 int vol_id; member
/openbmc/linux/fs/nfsd/
H A Dblocklayoutxdr.h12 struct nfsd4_deviceid vol_id; member

12