Lines Matching defs:sectorsize
563 DoRegularFile(int fd, off_t dumpsize, u_int sectorsize, bool sparse,
601 nr = read(fd, buf, roundup(wl, sectorsize));
602 if (nr != roundup(wl, sectorsize)) {
709 u_int sectorsize, xostyle;
746 error = ioctl(fddev, DIOCGSECTORSIZE, §orsize);
755 printf("sectorsize = %u bytes\n", sectorsize);
758 if (sectorsize < sizeof(kdhl)) {
765 lasthd = mediasize - sectorsize;
766 temp = malloc(sectorsize);
772 read(fddev, temp, sectorsize) != (ssize_t)sectorsize) {
865 firsthd = lasthd - dumpextent - sectorsize - dumpkeysize;
867 read(fddev, temp, sectorsize) != (ssize_t)sectorsize) {
1017 if (DoRegularFile(fddev, dumplength, sectorsize,
1072 write(fddev, temp, sectorsize) != (ssize_t)sectorsize)