Lines Matching defs:vd
66 struct volume_descriptor *vd;
130 vd = (struct volume_descriptor *) volume_id_get_buffer(id, off + (256 * bs), 0x200);
131 if (vd == NULL)
134 type = le16_to_cpu(vd->tag.id);
139 count = le32_to_cpu(vd->type.anchor.length) / bs;
140 loc = le32_to_cpu(vd->type.anchor.location);
145 vd = (struct volume_descriptor *) volume_id_get_buffer(id, off + ((loc + b) * bs), 0x200);
146 if (vd == NULL)
149 type = le16_to_cpu(vd->tag.id);
155 if (le32_to_cpu(vd->tag.location) != loc + b)
164 volume_id_set_label_raw(id, &(vd->type.primary.ident.clen), 32);
166 clen = vd->type.primary.ident.clen;
169 volume_id_set_label_string(id, vd->type.primary.ident.c, 31);
171 volume_id_set_label_unicode16(id, vd->type.primary.ident.c, BE,31);