Searched refs:vm (Results 1 – 2 of 2) sorted by relevance
186 static bool ldm_parse_vmdb (const u8 *data, struct vmdb *vm) in ldm_parse_vmdb() argument188 BUG_ON (!data || !vm); in ldm_parse_vmdb()195 vm->ver_major = get_unaligned_be16(data + 0x12); in ldm_parse_vmdb()196 vm->ver_minor = get_unaligned_be16(data + 0x14); in ldm_parse_vmdb()197 if ((vm->ver_major != 4) || (vm->ver_minor != 10)) { in ldm_parse_vmdb()199 "Aborting.", 4, 10, vm->ver_major, vm->ver_minor); in ldm_parse_vmdb()203 vm->vblk_size = get_unaligned_be32(data + 0x08); in ldm_parse_vmdb()204 if (vm->vblk_size == 0) { in ldm_parse_vmdb()209 vm->vblk_offset = get_unaligned_be32(data + 0x0C); in ldm_parse_vmdb()210 vm->last_vblk_seq = get_unaligned_be32(data + 0x04); in ldm_parse_vmdb()[all …]
202 struct vmdb vm; member