Lines Matching defs:vrs
524 * three tracks can be open: a reserved track for delayed ISO VRS
3536 struct vrs_desc *vrs;
3570 /* we have to copy the ISO VRS from a former session */
3572 "blank or reserved track, copying VRS\n"));
3595 DPRINTF(VOLUMES, ("found possible former ISO VRS at\n"));
3599 * location of iso9660 vrs is defined as first sector AFTER 32kb,
3618 vrs = (struct vrs_desc *) pos;
3619 DPRINTF(VOLUMES, ("got VRS id `%4s`\n", vrs->identifier));
3620 if (strncmp(vrs->identifier, VRS_CD001, 5) == 0)
3622 if (strncmp(vrs->identifier, VRS_CDW02, 5) == 0)
3624 if (strncmp(vrs->identifier, VRS_BEA01, 5) == 0)
3626 if (strncmp(vrs->identifier, VRS_NSR02, 5) == 0)
3628 if (strncmp(vrs->identifier, VRS_NSR03, 5) == 0)
3630 if (strncmp(vrs->identifier, VRS_TEA01, 5) == 0)
3637 DPRINTF(VOLUMES, ("error reading old ISO VRS\n"));
3638 DPRINTF(VOLUMES, ("creating minimal ISO VRS\n"));
3642 vrs = (struct vrs_desc *) (buffer);
3643 vrs->struct_type = 0;
3644 vrs->version = 1;
3645 memcpy(vrs->identifier,VRS_BEA01, 5);
3647 vrs = (struct vrs_desc *) (buffer + 2048);
3648 vrs->struct_type = 0;
3649 vrs->version = 1;
3651 memcpy(vrs->identifier,VRS_NSR02, 5);
3653 memcpy(vrs->identifier,VRS_NSR03, 5);
3656 vrs = (struct vrs_desc *) (buffer + 4096);
3657 vrs->struct_type = 0;
3658 vrs->version = 1;
3659 memcpy(vrs->identifier, VRS_TEA01, 5);
3664 DPRINTF(VOLUMES, ("Got VRS of %d sectors long\n", vrs_len));
3667 * location of iso9660 vrs is defined as first sector AFTER 32kb,
3685 /* write out our ISO VRS */
3712 printf("udf_open_session: error writing iso vrs! : "