Lines Matching refs:sec
1636 for (int sec = 0; sec < page_length / 512; sec++) {
1637 tag[sec].magic = magic;
1638 tag[sec].block = block & 0xff;
1639 tag[sec].sector = sec & 0xff;
1640 tag[sec].pass = pass_ & 0xff;
1740 for (int sec = 0; sec < page_length / 512; sec++) {
1742 if ((tag[sec].magic != magic) ||
1743 (tag[sec].block != (block & 0xff)) ||
1744 (tag[sec].sector != (sec & 0xff)) ||
1745 (tag[sec].pass != (pass_ & 0xff))) {
1747 int offset = sec * sizeof(SectorTag);
1748 if (tag[sec].block != (block & 0xff))
1750 else if (tag[sec].sector != (sec & 0xff))
1752 else if (tag[sec].pass != (pass_ & 0xff))
1757 os_->error_diagnoser_->AddHDDSectorTagError(devicename_, tag[sec].block,
1759 tag[sec].sector,
1763 "sec %x/%x, block %d/%d, magic %x/%x, File: %s \n",
1764 block * page_length + 512 * sec,
1765 (pass_ & 0xff), (unsigned int)tag[sec].pass,
1766 sec, (unsigned int)tag[sec].sector,
1767 block, (unsigned int)tag[sec].block,
1768 magic, (unsigned int)tag[sec].magic,
1773 firstsector = (block * page_length / 512) + sec;
1774 lastsector = (block * page_length / 512) + sec;
1778 unsigned int *addr = (unsigned int *)(&tag[sec]);
1779 *addr = dst->pattern->pattern(512 * sec / sizeof(*addr));
2530 " Increments=%llu, Increments/sec = %.6lf\n",