Searched refs:vtbl_rec (Results 1 – 6 of 6) sorted by relevance
/u-boot/drivers/mtd/ubi/ |
A D | upd.c | 52 struct ubi_vtbl_record vtbl_rec; in set_update_marker() local 62 vtbl_rec = ubi->vtbl[vol->vol_id]; in set_update_marker() 63 vtbl_rec.upd_marker = 1; in set_update_marker() 66 err = ubi_change_vtbl_record(ubi, vol->vol_id, &vtbl_rec); in set_update_marker() 86 struct ubi_vtbl_record vtbl_rec; in clear_update_marker() local 90 vtbl_rec = ubi->vtbl[vol->vol_id]; in clear_update_marker() 91 ubi_assert(vol->upd_marker && vtbl_rec.upd_marker); in clear_update_marker() 92 vtbl_rec.upd_marker = 0; in clear_update_marker() 106 err = ubi_change_vtbl_record(ubi, vol->vol_id, &vtbl_rec); in clear_update_marker()
|
A D | vtbl.c | 101 struct ubi_vtbl_record *vtbl_rec) in ubi_change_vtbl_record() argument 108 if (!vtbl_rec) in ubi_change_vtbl_record() 109 vtbl_rec = &empty_vtbl_record; in ubi_change_vtbl_record() 112 vtbl_rec->crc = cpu_to_be32(crc); in ubi_change_vtbl_record() 139 struct ubi_vtbl_record *vtbl_rec = &ubi->vtbl[vol->vol_id]; in ubi_vtbl_rename_volumes() local 142 memcpy(vtbl_rec, &empty_vtbl_record, in ubi_vtbl_rename_volumes() 147 vtbl_rec->name_len = cpu_to_be16(re->new_name_len); in ubi_vtbl_rename_volumes() 148 memcpy(vtbl_rec->name, re->new_name, re->new_name_len); in ubi_vtbl_rename_volumes() 149 memset(vtbl_rec->name + re->new_name_len, 0, in ubi_vtbl_rename_volumes() 151 crc = crc32(UBI_CRC32_INIT, vtbl_rec, in ubi_vtbl_rename_volumes() [all …]
|
A D | vmt.c | 157 struct ubi_vtbl_record vtbl_rec; in ubi_create_volume() local 294 memset(&vtbl_rec, 0, sizeof(struct ubi_vtbl_record)); in ubi_create_volume() 297 vtbl_rec.data_pad = cpu_to_be32(vol->data_pad); in ubi_create_volume() 298 vtbl_rec.name_len = cpu_to_be16(vol->name_len); in ubi_create_volume() 300 vtbl_rec.vol_type = UBI_VID_DYNAMIC; in ubi_create_volume() 302 vtbl_rec.vol_type = UBI_VID_STATIC; in ubi_create_volume() 305 vtbl_rec.flags |= UBI_VTBL_SKIP_CRC_CHECK_FLG; in ubi_create_volume() 307 memcpy(vtbl_rec.name, vol->name, vol->name_len); in ubi_create_volume() 439 struct ubi_vtbl_record vtbl_rec; in ubi_resize_volume() local 498 vtbl_rec = ubi->vtbl[vol_id]; in ubi_resize_volume() [all …]
|
A D | build.c | 837 struct ubi_vtbl_record vtbl_rec; in autoresize() local 843 vtbl_rec = ubi->vtbl[vol_id]; in autoresize() 844 err = ubi_change_vtbl_record(ubi, vol_id, &vtbl_rec); in autoresize()
|
A D | ubi.h | 801 struct ubi_vtbl_record *vtbl_rec);
|
/u-boot/cmd/ |
A D | ubi.c | 464 struct ubi_vtbl_record vtbl_rec; in ubi_set_skip_check() local 474 vtbl_rec = ubi->vtbl[vol->vol_id]; in ubi_set_skip_check() 476 vtbl_rec.flags |= UBI_VTBL_SKIP_CRC_CHECK_FLG; in ubi_set_skip_check() 479 vtbl_rec.flags &= ~UBI_VTBL_SKIP_CRC_CHECK_FLG; in ubi_set_skip_check() 483 return ubi_change_vtbl_record(ubi, vol->vol_id, &vtbl_rec); in ubi_set_skip_check()
|
Completed in 14 milliseconds