Home
last modified time | relevance | path

Searched refs:tmpsec (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/cmd/diskscan/
H A Ddiskscan.c178 diskaddr_t tmpsec = 0; in scandisk() local
269 for (tmpsec = cursec; tmpsec < tmpend; tmpsec++) { in scandisk()
275 if (llseek(devfd, tmpsec * sector_size, in scandisk()
279 tmpsec, cursec / cylsiz); in scandisk()
283 report("Writing", tmpsec); in scandisk()
288 "%llu\n", tmpsec + unix_base); in scandisk()
315 for (tmpsec = cursec; tmpsec < tmpend; tmpsec++) { in scandisk()
316 if (llseek(devfd, tmpsec * sector_size, in scandisk()
320 tmpsec, cursec / cylsiz); in scandisk()
323 report("Reading", tmpsec); in scandisk()
[all …]
/titanic_41/usr/src/cmd/format/
H A Ddisk_generic.c121 offset_t tmpsec, status, tmpblk; local
124 tmpsec = (offset_t)secnt * cur_blksz;
138 status = read(fd, bufaddr, (size_t)tmpsec);
139 if (status != tmpsec)
140 ret = (int)tmpsec;
150 status = write(fd, bufaddr, (size_t)tmpsec);
151 if (status != tmpsec)
152 ret = (int)tmpsec;
H A Dctlr_ata.c151 int tmpsec; in ata_rdwr() local
158 tmpsec = secnt * cur_blksz; in ata_rdwr()
164 dadkio_rwcmd.buflen = tmpsec; in ata_rdwr()