Searched refs:vtbl_rec (Results 1 - 4 of 4) sorted by relevance
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mtd/ubi/ |
H A D | upd.c | 56 struct ubi_vtbl_record vtbl_rec; local 67 memcpy(&vtbl_rec, &ubi->vtbl[vol_id], sizeof(struct ubi_vtbl_record)); 68 vtbl_rec.upd_marker = 1; 70 err = ubi_change_vtbl_record(ubi, vol_id, &vtbl_rec); 89 struct ubi_vtbl_record vtbl_rec; local 94 memcpy(&vtbl_rec, &ubi->vtbl[vol_id], sizeof(struct ubi_vtbl_record)); 95 ubi_assert(vol->upd_marker && vtbl_rec.upd_marker); 96 vtbl_rec.upd_marker = 0; 109 err = ubi_change_vtbl_record(ubi, vol_id, &vtbl_rec);
|
H A D | vmt.c | 187 struct ubi_vtbl_record vtbl_rec; local 322 memset(&vtbl_rec, 0, sizeof(struct ubi_vtbl_record)); 323 vtbl_rec.reserved_pebs = cpu_to_ubi32(vol->reserved_pebs); 324 vtbl_rec.alignment = cpu_to_ubi32(vol->alignment); 325 vtbl_rec.data_pad = cpu_to_ubi32(vol->data_pad); 326 vtbl_rec.name_len = cpu_to_ubi16(vol->name_len); 328 vtbl_rec.vol_type = UBI_VID_DYNAMIC; 330 vtbl_rec.vol_type = UBI_VID_STATIC; 331 memcpy(vtbl_rec.name, vol->name, vol->name_len + 1); 333 err = ubi_change_vtbl_record(ubi, vol_id, &vtbl_rec); 455 struct ubi_vtbl_record vtbl_rec; local [all...] |
H A D | vtbl.c | 77 * @vtbl_rec: new volume table record 79 * This function changes volume table record @idx. If @vtbl_rec is %NULL, empty 85 struct ubi_vtbl_record *vtbl_rec) 92 if (!vtbl_rec) 93 vtbl_rec = &empty_vtbl_record; 95 crc = crc32(UBI_CRC32_INIT, vtbl_rec, UBI_VTBL_RECORD_SIZE_CRC); 96 vtbl_rec->crc = cpu_to_ubi32(crc); 100 ubi_dbg_dump_vtbl_record(vtbl_rec, idx); 103 memcpy(&ubi->vtbl[idx], vtbl_rec, sizeof(struct ubi_vtbl_record)); 84 ubi_change_vtbl_record(struct ubi_device *ubi, int idx, struct ubi_vtbl_record *vtbl_rec) argument
|
H A D | ubi.h | 353 struct ubi_vtbl_record *vtbl_rec);
|
Completed in 99 milliseconds