Lines Matching defs:sector
39 * places: sector 256, sector n (the max sector of the disk), or sector
40 * n - 256. It's a pretty good bet that one will exist at sector 256 though.
41 * One caveat is unclosed CD media. For that, sector 256 cannot be written,
42 * so the Anchor Volume Descriptor Pointer can exist at sector 512 until the
305 uint32_t sector, size, mvds_start, mvds_end;
372 * Get the Anchor Volume Descriptor Pointer from sector 256.
373 * XXX Should also check sector n - 256, n, and 512.
375 sector = 256;
376 if ((error = bread(devvp, sector * btodb(logical_secsize), bsize,
394 for (sector = mvds_start; sector < mvds_end; sector++) {
395 if ((error = bread(devvp, sector * btodb(logical_secsize),
397 printf("Can't read sector %d of VDS\n", sector);
446 sector = udfmp->part_start + fsd_offset;
447 if ((error = RDSECTOR(devvp, sector, udfmp->bsize, &bp)) != 0) {
448 printf("Cannot read sector %d of FSD\n", sector);
470 sector = le32toh(udfmp->root_icb.loc.lb_num) + udfmp->part_start;
477 if ((error = udf_readdevblks(udfmp, sector, size, &bp)) != 0) {
478 printf("Cannot read sector %d\n", sector);
586 int error, sector, size;
637 sector = ino + udfmp->part_start;
639 if ((error = RDSECTOR(devvp, sector, udfmp->bsize, &bp)) != 0) {
640 printf("Cannot read sector %d\n", sector);
806 printf("Failed to read Sparing Table at sector %d\n",