Home | History | Annotate | Download | only in fsck_udf

Lines Matching defs:vat

184 /* shadow VAT build */
203 int vat_writeout = 0; /* write out the VAT anyway */
317 /* Note: only for VAT media since we don't allocate in bitmap */
1708 /* ------------------------- VAT support ------------------------- */
1714 * Note that it doesn't update the VAT structure!
1756 udf_print_timestamp("\tFound VAT timestamped at ",
1784 /* TODO sanity check vat length */
1797 struct udf_vat *vat;
1802 const char *extstr = "*UDF VAT LVExtension";
1815 /* read in VAT contents */
1846 /* extract info from our VAT data */
1848 /* VAT 1.50 format */
1857 pwarn("Possible VAT 1.50 detected without tail\n");
1864 pwarn("VAT format 1.50 rejected\n");
1870 * The following VAT extensions are optional and ignored but
1871 * demand a clean VAT write out for sanity.
1875 /* VAT LVExtension extended attribute missing */
1884 /* VAT LVExtension checksum failed */
1892 /* VAT LVExtension size doesn't compute */
1899 * We have found our "VAT LVExtension attribute. BUT due to a
1912 /* VAT LVExtension out of date */
1916 /* VAT 2.xy format */
1918 vat = (struct udf_vat *) (*vat_contents);
1919 vat_offset = udf_rw16(vat->header_len);
1923 if (vat->impl_use_len == 0) {
1925 start_val = udf_rw32(*((uint32_t *) vat->data));
1928 pwarn("Heuristics found corrupted MS Windows VAT\n");
1930 vat->impl_use_len = udf_rw16(32);
1931 vat->header_len = udf_rw16(udf_rw16(vat->header_len) + 32);
1939 lvinfo->num_files = vat->num_files;
1940 lvinfo->num_directories = vat->num_directories;
1941 lvinfo->min_udf_readver = vat->min_udf_readver;
1942 lvinfo->min_udf_writever = vat->min_udf_writever;
1943 lvinfo->max_udf_writever = vat->max_udf_writever;
1945 udf_update_logvolname(vat->logvol_id);
1957 * The following VAT violations are ignored but demand a clean VAT
1961 /* VAT specification violation:
1962 * VAT has no cleared streamdir reference */
1966 /* VAT specification violation:
1967 * VAT has no cleared extended attribute reference */
1971 /* VAT specification violation:
1972 * VAT has invalid object size */
2013 * Start reading forward in blocks from the first possible vat
2054 printf("Full VAT range search from %d to %d\n",
2072 pwarn("\nchecking for VAT in sector %8d\n", vat_loc);
2102 /* check if newer vat time stamp is the same */
2118 // pwarn("Unreadable or malformed VAT encountered\n");
2123 /* accept new vat */
2139 /* VAT accepted */
2148 if (!ask_noauto(0, "\tSearch older VAT"))
2174 pwarn("No valid VAT found!\n");
2181 pwarn("Selected VAT is not the latest or not at the end of "
2580 /* search and load VAT */
2968 /* writeout our VAT contents */
3813 * Record our FSD in this shadow VAT since its the only one outside
3844 pwarn("%d unused VAT entries cleaned\n", difference);
4015 /* shadow VAT */
4210 vat_writeout = 0; /* to write out the VAT anyway */