vtbl 1644 drivers/mtd/ubi/attach.c vfree(ubi->vtbl); vtbl 757 drivers/mtd/ubi/build.c ubi->vtbl[vol_id].flags &= ~UBI_VTBL_AUTORESIZE_FLG; vtbl 766 drivers/mtd/ubi/build.c vtbl_rec = ubi->vtbl[vol_id]; vtbl 1017 drivers/mtd/ubi/build.c vfree(ubi->vtbl); vtbl 1090 drivers/mtd/ubi/build.c vfree(ubi->vtbl); vtbl 577 drivers/mtd/ubi/ubi.h struct ubi_vtbl_record *vtbl; vtbl 49 drivers/mtd/ubi/upd.c ubi_assert(ubi->vtbl[vol->vol_id].upd_marker); vtbl 54 drivers/mtd/ubi/upd.c vtbl_rec = ubi->vtbl[vol->vol_id]; vtbl 82 drivers/mtd/ubi/upd.c vtbl_rec = ubi->vtbl[vol->vol_id]; vtbl 497 drivers/mtd/ubi/vmt.c vtbl_rec = ubi->vtbl[vol_id]; vtbl 644 drivers/mtd/ubi/vmt.c reserved_pebs = be32_to_cpu(ubi->vtbl[vol_id].reserved_pebs); vtbl 752 drivers/mtd/ubi/vmt.c alignment = be32_to_cpu(ubi->vtbl[vol_id].alignment); vtbl 753 drivers/mtd/ubi/vmt.c data_pad = be32_to_cpu(ubi->vtbl[vol_id].data_pad); vtbl 754 drivers/mtd/ubi/vmt.c name_len = be16_to_cpu(ubi->vtbl[vol_id].name_len); vtbl 755 drivers/mtd/ubi/vmt.c upd_marker = ubi->vtbl[vol_id].upd_marker; vtbl 756 drivers/mtd/ubi/vmt.c name = &ubi->vtbl[vol_id].name[0]; vtbl 757 drivers/mtd/ubi/vmt.c if (ubi->vtbl[vol_id].vol_type == UBI_VID_DYNAMIC) vtbl 776 drivers/mtd/ubi/vmt.c ubi_dump_vtbl_record(&ubi->vtbl[vol_id], vol_id); vtbl 70 drivers/mtd/ubi/vtbl.c err = ubi_eba_atomic_leb_change(ubi, layout_vol, i, ubi->vtbl, vtbl 105 drivers/mtd/ubi/vtbl.c memcpy(&ubi->vtbl[idx], vtbl_rec, sizeof(struct ubi_vtbl_record)); vtbl 129 drivers/mtd/ubi/vtbl.c struct ubi_vtbl_record *vtbl_rec = &ubi->vtbl[vol->vol_id]; vtbl 158 drivers/mtd/ubi/vtbl.c const struct ubi_vtbl_record *vtbl) vtbl 168 drivers/mtd/ubi/vtbl.c reserved_pebs = be32_to_cpu(vtbl[i].reserved_pebs); vtbl 169 drivers/mtd/ubi/vtbl.c alignment = be32_to_cpu(vtbl[i].alignment); vtbl 170 drivers/mtd/ubi/vtbl.c data_pad = be32_to_cpu(vtbl[i].data_pad); vtbl 171 drivers/mtd/ubi/vtbl.c upd_marker = vtbl[i].upd_marker; vtbl 172 drivers/mtd/ubi/vtbl.c vol_type = vtbl[i].vol_type; vtbl 173 drivers/mtd/ubi/vtbl.c name_len = be16_to_cpu(vtbl[i].name_len); vtbl 174 drivers/mtd/ubi/vtbl.c name = &vtbl[i].name[0]; vtbl 176 drivers/mtd/ubi/vtbl.c crc = crc32(UBI_CRC32_INIT, &vtbl[i], UBI_VTBL_RECORD_SIZE_CRC); vtbl 177 drivers/mtd/ubi/vtbl.c if (be32_to_cpu(vtbl[i].crc) != crc) { vtbl 179 drivers/mtd/ubi/vtbl.c i, crc, be32_to_cpu(vtbl[i].crc)); vtbl 180 drivers/mtd/ubi/vtbl.c ubi_dump_vtbl_record(&vtbl[i], i); vtbl 185 drivers/mtd/ubi/vtbl.c if (memcmp(&vtbl[i], &empty_vtbl_record, vtbl 253 drivers/mtd/ubi/vtbl.c int len1 = be16_to_cpu(vtbl[i].name_len); vtbl 254 drivers/mtd/ubi/vtbl.c int len2 = be16_to_cpu(vtbl[n].name_len); vtbl 257 drivers/mtd/ubi/vtbl.c !strncmp(vtbl[i].name, vtbl[n].name, len1)) { vtbl 259 drivers/mtd/ubi/vtbl.c i, n, vtbl[i].name); vtbl 260 drivers/mtd/ubi/vtbl.c ubi_dump_vtbl_record(&vtbl[i], i); vtbl 261 drivers/mtd/ubi/vtbl.c ubi_dump_vtbl_record(&vtbl[n], n); vtbl 271 drivers/mtd/ubi/vtbl.c ubi_dump_vtbl_record(&vtbl[i], i); vtbl 286 drivers/mtd/ubi/vtbl.c int copy, void *vtbl) vtbl 322 drivers/mtd/ubi/vtbl.c err = ubi_io_write_data(ubi, vtbl, new_aeb->pnum, 0, ubi->vtbl_size); vtbl 488 drivers/mtd/ubi/vtbl.c struct ubi_vtbl_record *vtbl; vtbl 490 drivers/mtd/ubi/vtbl.c vtbl = vzalloc(ubi->vtbl_size); vtbl 491 drivers/mtd/ubi/vtbl.c if (!vtbl) vtbl 495 drivers/mtd/ubi/vtbl.c memcpy(&vtbl[i], &empty_vtbl_record, UBI_VTBL_RECORD_SIZE); vtbl 500 drivers/mtd/ubi/vtbl.c err = create_vtbl(ubi, ai, i, vtbl); vtbl 502 drivers/mtd/ubi/vtbl.c vfree(vtbl); vtbl 507 drivers/mtd/ubi/vtbl.c return vtbl; vtbl 522 drivers/mtd/ubi/vtbl.c const struct ubi_vtbl_record *vtbl) vtbl 531 drivers/mtd/ubi/vtbl.c if (be32_to_cpu(vtbl[i].reserved_pebs) == 0) vtbl 538 drivers/mtd/ubi/vtbl.c vol->reserved_pebs = be32_to_cpu(vtbl[i].reserved_pebs); vtbl 539 drivers/mtd/ubi/vtbl.c vol->alignment = be32_to_cpu(vtbl[i].alignment); vtbl 540 drivers/mtd/ubi/vtbl.c vol->data_pad = be32_to_cpu(vtbl[i].data_pad); vtbl 541 drivers/mtd/ubi/vtbl.c vol->upd_marker = vtbl[i].upd_marker; vtbl 542 drivers/mtd/ubi/vtbl.c vol->vol_type = vtbl[i].vol_type == UBI_VID_DYNAMIC ? vtbl 544 drivers/mtd/ubi/vtbl.c vol->name_len = be16_to_cpu(vtbl[i].name_len); vtbl 546 drivers/mtd/ubi/vtbl.c memcpy(vol->name, vtbl[i].name, vol->name_len); vtbl 550 drivers/mtd/ubi/vtbl.c if (vtbl[i].flags & UBI_VTBL_SKIP_CRC_CHECK_FLG) vtbl 553 drivers/mtd/ubi/vtbl.c if (vtbl[i].flags & UBI_VTBL_AUTORESIZE_FLG) { vtbl 812 drivers/mtd/ubi/vtbl.c ubi->vtbl = create_empty_lvol(ubi, ai); vtbl 813 drivers/mtd/ubi/vtbl.c if (IS_ERR(ubi->vtbl)) vtbl 814 drivers/mtd/ubi/vtbl.c return PTR_ERR(ubi->vtbl); vtbl 827 drivers/mtd/ubi/vtbl.c ubi->vtbl = process_lvol(ubi, ai, av); vtbl 828 drivers/mtd/ubi/vtbl.c if (IS_ERR(ubi->vtbl)) vtbl 829 drivers/mtd/ubi/vtbl.c return PTR_ERR(ubi->vtbl); vtbl 838 drivers/mtd/ubi/vtbl.c err = init_volumes(ubi, ai, ubi->vtbl); vtbl 853 drivers/mtd/ubi/vtbl.c vfree(ubi->vtbl); vtbl 871 drivers/mtd/ubi/vtbl.c if (vtbl_check(ubi, ubi->vtbl)) {