Lines Matching defs:lvd
1177 struct logvol_desc *lvd;
1183 lvd = calloc(1, sector_size);
1184 if (lvd == NULL)
1187 udf_inittag(&lvd->tag, TAGID_LOGVOL, /* loc */ 0);
1188 lvd->seq_num = udf_rw32(context.vds_seq); context.vds_seq++;
1190 udf_osta_charset(&lvd->desc_charset);
1191 udf_encode_osta_id(lvd->logvol_id, 128, context.logvol_name);
1192 lvd->lb_size = udf_rw32(sector_size);
1194 udf_set_regid(&lvd->domain_id, "*OSTA UDF Compliant");
1195 udf_add_domain_regid(&lvd->domain_id);
1198 lvd->mt_l = udf_rw32(0);
1199 lvd->n_pm = udf_rw32(0);
1201 udf_set_regid(&lvd->imp_id, context.impl_name);
1202 udf_add_impl_regid(&lvd->imp_id);
1204 lvd->integrity_seq_loc.loc = udf_rw32(layout.lvis);
1205 lvd->integrity_seq_loc.len = udf_rw32(layout.lvis_size * sector_size);
1208 lvd->lv_fsd_loc.len = udf_rw32(sector_size);
1209 lvd->lv_fsd_loc.loc.part_num = udf_rw16(context.metadata_part);
1210 lvd->lv_fsd_loc.loc.lb_num = udf_rw32(layout.fsd);
1213 lvd->tag.desc_crc_len = udf_rw16(crclen);
1215 context.logical_vol = lvd;
1966 size += udf_rw32(dscr->lvd.mt_l);