Searched refs:vtbl (Results 1 – 7 of 7) sorted by relevance
/drivers/mtd/ubi/ |
D | vtbl.c | 97 memcpy(&ubi->vtbl[idx], vtbl_rec, sizeof(struct ubi_vtbl_record)); in ubi_change_vtbl_record() 103 err = ubi_eba_write_leb(ubi, layout_vol, i, ubi->vtbl, 0, in ubi_change_vtbl_record() 132 struct ubi_vtbl_record *vtbl_rec = &ubi->vtbl[vol->vol_id]; in ubi_vtbl_rename_volumes() 155 err = ubi_eba_write_leb(ubi, layout_vol, i, ubi->vtbl, 0, in ubi_vtbl_rename_volumes() 173 const struct ubi_vtbl_record *vtbl) in vtbl_check() argument 183 reserved_pebs = be32_to_cpu(vtbl[i].reserved_pebs); in vtbl_check() 184 alignment = be32_to_cpu(vtbl[i].alignment); in vtbl_check() 185 data_pad = be32_to_cpu(vtbl[i].data_pad); in vtbl_check() 186 upd_marker = vtbl[i].upd_marker; in vtbl_check() 187 vol_type = vtbl[i].vol_type; in vtbl_check() [all …]
|
D | vmt.c | 538 vtbl_rec = ubi->vtbl[vol_id]; in ubi_resize_volume() 708 reserved_pebs = be32_to_cpu(ubi->vtbl[vol_id].reserved_pebs); in self_check_volume() 810 alignment = be32_to_cpu(ubi->vtbl[vol_id].alignment); in self_check_volume() 811 data_pad = be32_to_cpu(ubi->vtbl[vol_id].data_pad); in self_check_volume() 812 name_len = be16_to_cpu(ubi->vtbl[vol_id].name_len); in self_check_volume() 813 upd_marker = ubi->vtbl[vol_id].upd_marker; in self_check_volume() 814 name = &ubi->vtbl[vol_id].name[0]; in self_check_volume() 815 if (ubi->vtbl[vol_id].vol_type == UBI_VID_DYNAMIC) in self_check_volume() 834 ubi_dump_vtbl_record(&ubi->vtbl[vol_id], vol_id); in self_check_volume()
|
D | upd.c | 62 ubi_assert(ubi->vtbl[vol->vol_id].upd_marker); in set_update_marker() 67 vtbl_rec = ubi->vtbl[vol->vol_id]; in set_update_marker() 95 vtbl_rec = ubi->vtbl[vol->vol_id]; in clear_update_marker()
|
D | Makefile | 3 ubi-y += vtbl.o vmt.o upd.o build.o cdev.o kapi.o eba.o io.o wl.o attach.o
|
D | build.c | 819 ubi->vtbl[vol_id].flags &= ~UBI_VTBL_AUTORESIZE_FLG; in autoresize() 828 vtbl_rec = ubi->vtbl[vol_id]; in autoresize() 1057 vfree(ubi->vtbl); in ubi_attach_mtd_dev() 1133 vfree(ubi->vtbl); in ubi_detach_mtd_dev()
|
D | ubi.h | 512 struct ubi_vtbl_record *vtbl; member
|
D | attach.c | 1479 vfree(ubi->vtbl); in ubi_attach()
|