vtbl_rec 760 drivers/mtd/ubi/build.c struct ubi_vtbl_record vtbl_rec; vtbl_rec 766 drivers/mtd/ubi/build.c vtbl_rec = ubi->vtbl[vol_id]; vtbl_rec 767 drivers/mtd/ubi/build.c err = ubi_change_vtbl_record(ubi, vol_id, &vtbl_rec); vtbl_rec 838 drivers/mtd/ubi/ubi.h struct ubi_vtbl_record *vtbl_rec); vtbl_rec 44 drivers/mtd/ubi/upd.c struct ubi_vtbl_record vtbl_rec; vtbl_rec 54 drivers/mtd/ubi/upd.c vtbl_rec = ubi->vtbl[vol->vol_id]; vtbl_rec 55 drivers/mtd/ubi/upd.c vtbl_rec.upd_marker = 1; vtbl_rec 58 drivers/mtd/ubi/upd.c err = ubi_change_vtbl_record(ubi, vol->vol_id, &vtbl_rec); vtbl_rec 78 drivers/mtd/ubi/upd.c struct ubi_vtbl_record vtbl_rec; vtbl_rec 82 drivers/mtd/ubi/upd.c vtbl_rec = ubi->vtbl[vol->vol_id]; vtbl_rec 83 drivers/mtd/ubi/upd.c ubi_assert(vol->upd_marker && vtbl_rec.upd_marker); vtbl_rec 84 drivers/mtd/ubi/upd.c vtbl_rec.upd_marker = 0; vtbl_rec 98 drivers/mtd/ubi/upd.c err = ubi_change_vtbl_record(ubi, vol->vol_id, &vtbl_rec); vtbl_rec 148 drivers/mtd/ubi/vmt.c struct ubi_vtbl_record vtbl_rec; vtbl_rec 283 drivers/mtd/ubi/vmt.c memset(&vtbl_rec, 0, sizeof(struct ubi_vtbl_record)); vtbl_rec 284 drivers/mtd/ubi/vmt.c vtbl_rec.reserved_pebs = cpu_to_be32(vol->reserved_pebs); vtbl_rec 285 drivers/mtd/ubi/vmt.c vtbl_rec.alignment = cpu_to_be32(vol->alignment); vtbl_rec 286 drivers/mtd/ubi/vmt.c vtbl_rec.data_pad = cpu_to_be32(vol->data_pad); vtbl_rec 287 drivers/mtd/ubi/vmt.c vtbl_rec.name_len = cpu_to_be16(vol->name_len); vtbl_rec 289 drivers/mtd/ubi/vmt.c vtbl_rec.vol_type = UBI_VID_DYNAMIC; vtbl_rec 291 drivers/mtd/ubi/vmt.c vtbl_rec.vol_type = UBI_VID_STATIC; vtbl_rec 294 drivers/mtd/ubi/vmt.c vtbl_rec.flags |= UBI_VTBL_SKIP_CRC_CHECK_FLG; vtbl_rec 296 drivers/mtd/ubi/vmt.c memcpy(vtbl_rec.name, vol->name, vol->name_len); vtbl_rec 298 drivers/mtd/ubi/vmt.c err = ubi_change_vtbl_record(ubi, vol_id, &vtbl_rec); vtbl_rec 416 drivers/mtd/ubi/vmt.c struct ubi_vtbl_record vtbl_rec; vtbl_rec 497 drivers/mtd/ubi/vmt.c vtbl_rec = ubi->vtbl[vol_id]; vtbl_rec 498 drivers/mtd/ubi/vmt.c vtbl_rec.reserved_pebs = cpu_to_be32(reserved_pebs); vtbl_rec 499 drivers/mtd/ubi/vmt.c err = ubi_change_vtbl_record(ubi, vol_id, &vtbl_rec); vtbl_rec 91 drivers/mtd/ubi/vtbl.c struct ubi_vtbl_record *vtbl_rec) vtbl_rec 98 drivers/mtd/ubi/vtbl.c if (!vtbl_rec) vtbl_rec 99 drivers/mtd/ubi/vtbl.c vtbl_rec = &empty_vtbl_record; vtbl_rec 101 drivers/mtd/ubi/vtbl.c crc = crc32(UBI_CRC32_INIT, vtbl_rec, UBI_VTBL_RECORD_SIZE_CRC); vtbl_rec 102 drivers/mtd/ubi/vtbl.c vtbl_rec->crc = cpu_to_be32(crc); vtbl_rec 105 drivers/mtd/ubi/vtbl.c memcpy(&ubi->vtbl[idx], vtbl_rec, sizeof(struct ubi_vtbl_record)); vtbl_rec 129 drivers/mtd/ubi/vtbl.c struct ubi_vtbl_record *vtbl_rec = &ubi->vtbl[vol->vol_id]; vtbl_rec 132 drivers/mtd/ubi/vtbl.c memcpy(vtbl_rec, &empty_vtbl_record, vtbl_rec 137 drivers/mtd/ubi/vtbl.c vtbl_rec->name_len = cpu_to_be16(re->new_name_len); vtbl_rec 138 drivers/mtd/ubi/vtbl.c memcpy(vtbl_rec->name, re->new_name, re->new_name_len); vtbl_rec 139 drivers/mtd/ubi/vtbl.c memset(vtbl_rec->name + re->new_name_len, 0, vtbl_rec 141 drivers/mtd/ubi/vtbl.c crc = crc32(UBI_CRC32_INIT, vtbl_rec, vtbl_rec 143 drivers/mtd/ubi/vtbl.c vtbl_rec->crc = cpu_to_be32(crc);