Lines Matching defs:fsd
439 * Pick fixed logical space sector numbers for main FSD, rootdir and
481 layout.fsd = mpos; mpos += 1;
486 layout.fsd = mpos; mpos += 1;
1207 /* just one fsd for now */
1210 lvd->lv_fsd_loc.loc.lb_num = udf_rw32(layout.fsd);
1591 struct fileset_desc *fsd;
1594 fsd = calloc(1, context.sector_size);
1595 if (fsd == NULL)
1598 udf_inittag(&fsd->tag, TAGID_FSD, /* loc */ 0);
1600 udf_set_timestamp_now(&fsd->time);
1601 fsd->ichg_lvl = udf_rw16(3); /* UDF 2.3.2.1 */
1602 fsd->max_ichg_lvl = udf_rw16(3); /* UDF 2.3.2.2 */
1604 fsd->charset_list = udf_rw32(1); /* only CS0 */
1605 fsd->max_charset_list = udf_rw32(1); /* only CS0 */
1607 fsd->fileset_num = udf_rw32(0); /* only one fsd */
1608 fsd->fileset_desc_num = udf_rw32(0); /* original */
1610 udf_osta_charset(&fsd->logvol_id_charset);
1611 udf_encode_osta_id(fsd->logvol_id, 128, context.logvol_name);
1613 udf_osta_charset(&fsd->fileset_charset);
1614 udf_encode_osta_id(fsd->fileset_id, 32, context.fileset_name);
1618 fsd->rootdir_icb.len = udf_rw32(context.sector_size);
1619 fsd->rootdir_icb.loc.lb_num = udf_rw32(layout.rootdir);
1620 fsd->rootdir_icb.loc.part_num = udf_rw16(context.metadata_part);
1622 udf_set_regid(&fsd->domain_id, "*OSTA UDF Compliant");
1623 udf_add_domain_regid(&fsd->domain_id);
1629 fsd->tag.desc_crc_len = udf_rw16(crclen);
1631 context.fileset_desc = fsd;
2895 assert((layout.rootdir < 2) && (layout.fsd < 2));
4998 /* create FSD and writeout */
5001 udf_mark_allocated(layout.fsd, metadata_part, 1);
5004 error = udf_write_dscr_virt(dscr, layout.fsd, metadata_part, 1);