Searched refs:DIOCGSECTORSIZE (Results 1 - 25 of 41) sorted by relevance

12

/freebsd-11-stable/usr.sbin/fstyp/
H A Dgeli.c52 error = ioctl(fileno(fp), DIOCGSECTORSIZE, &sectorsize);
/freebsd-11-stable/sys/sys/
H A Ddisk.h30 #define DIOCGSECTORSIZE _IOR('d', 128, u_int) macro
/freebsd-11-stable/usr.sbin/fifolog/lib/
H A Dfifolog_create.c84 i = ioctl(fd, DIOCGSECTORSIZE, &u);
H A Dfifolog_int.c69 i = ioctl(f->fd, DIOCGSECTORSIZE, &f->recsize);
71 return ("ioctl(DIOCGSECTORSIZE) failed");
/freebsd-11-stable/stand/ofw/libofw/
H A Dofw_disk.c165 case DIOCGSECTORSIZE:
/freebsd-11-stable/sbin/fsck_ffs/
H A Dsetup.c484 if (ioctl(devfd, DIOCGSECTORSIZE, &secsize) == -1)
521 if (ioctl(devfd, DIOCGSECTORSIZE, &secsize) == -1 ||
555 ioctl(readfd, DIOCGSECTORSIZE, &secsize) == -1 ||
/freebsd-11-stable/stand/usb/storage/
H A Dumass_loader.c157 case DIOCGSECTORSIZE:
/freebsd-11-stable/lib/libgeom/
H A Dgeom_util.c111 if (g_ioctl_arg(fd, DIOCGSECTORSIZE, &sectorsize) == -1)
/freebsd-11-stable/stand/userboot/userboot/
H A Duserboot_disk.c93 if (CALLBACK(diskioctl, i, DIOCGSECTORSIZE,
/freebsd-11-stable/stand/uboot/lib/
H A Ddisk.c286 case DIOCGSECTORSIZE:
/freebsd-11-stable/sbin/hastd/
H A Dsubr.c113 if (ioctl(res->hr_localfd, DIOCGSECTORSIZE,
/freebsd-11-stable/stand/libsa/geli/
H A Dgelidev.c218 case DIOCGSECTORSIZE:
/freebsd-11-stable/stand/userboot/test/
H A Dtest.c265 case DIOCGSECTORSIZE:
/freebsd-11-stable/sbin/ggate/shared/
H A Dggate.c163 if (ioctl(fd, DIOCGSECTORSIZE, &secsize) == -1) {
/freebsd-11-stable/sbin/recoverdisk/
H A Drecoverdisk.c202 error = ioctl(fdr, DIOCGSECTORSIZE, &sectorsize);
204 err(1, "DIOCGSECTORSIZE failed");
/freebsd-11-stable/stand/common/
H A Ddisk.c206 case DIOCGSECTORSIZE:
/freebsd-11-stable/sbin/newfs/
H A Dnewfs.c347 if (ioctl(disk.d_fd, DIOCGSECTORSIZE, &sectorsize) == -1)
/freebsd-11-stable/sbin/gbde/
H A Dgbde.c341 error = ioctl(dfd, DIOCGSECTORSIZE, &sectorsize);
579 i = ioctl(dfd, DIOCGSECTORSIZE, &u);
/freebsd-11-stable/stand/libsa/zfs/
H A Dzfs.c375 ret = ioctl(fd, DIOCGSECTORSIZE, &secsz);
617 ret = ioctl(pa.fd, DIOCGSECTORSIZE, &pa.secsz);
/freebsd-11-stable/sbin/fdisk_pc98/
H A Dfdisk.c709 error = ioctl(fd, DIOCGSECTORSIZE, &u);
/freebsd-11-stable/sbin/savecore/
H A Dsavecore.c528 error = ioctl(fd, DIOCGSECTORSIZE, &sectorsize);
/freebsd-11-stable/usr.sbin/diskinfo/
H A Ddiskinfo.c196 error = ioctl(fd, DIOCGSECTORSIZE, &sectorsize);
198 warnx("%s: ioctl(DIOCGSECTORSIZE) failed, probably not a disk.", argv[i]);
/freebsd-11-stable/sys/dev/nvme/
H A Dnvme_ns.c94 case DIOCGSECTORSIZE:
/freebsd-11-stable/stand/pc98/libpc98/
H A Dbiosdisk.c393 case DIOCGSECTORSIZE:
/freebsd-11-stable/usr.sbin/bhyveload/
H A Dbhyveload.c320 case DIOCGSECTORSIZE:

Completed in 333 milliseconds

12