Searched defs:secsz (Results 1 - 2 of 2) sorted by relevance

/osnet-11/usr/src/cmd/hal/utils/
H A Dfsutils.c113 walk_partitions(int fd, int startsec, uint_t secsz, argument
129 if (pread(fd, buf, bufsize, (off_t)sec * secsz) != bufsize) {
183 find_dos_drive(int fd, int num, uint_t secsz, off_t *offset) argument
190 walk_partitions(fd, 0, secsz, find_dos_drive_cb, &p);
192 *offset = (off_t)p.r_relsect * secsz;
210 get_num_dos_drives(int fd, uint_t secsz) argument
214 walk_partitions(fd, 0, secsz, get_num_dos_drives_cb, &count);
/osnet-11/usr/src/cmd/hal/probing/volume/
H A Dprobe-volume.c130 size_t secsz = ISO_SECTOR_SIZE; local
143 readoff = probe_offset + ISO_VOLDESC_SEC * secsz;
144 if (pread (fd, buf, secsz, readoff) != secsz) {
151 readoff += secsz;
152 if (pread (fd, buf, secsz, readoff) != secsz) {
170 readoff = probe_offset + ptbl_lbn * secsz;
171 if (pread (fd, buf, secsz, readoff) != secsz) {
[all...]

Completed in 31 milliseconds