Home
last modified time | relevance | path

Searched refs:DIOCGSECTORSIZE (Results 1 – 25 of 42) sorted by relevance

12

/src/usr.sbin/fstyp/
H A Dgeli.c52 error = ioctl(fileno(fp), DIOCGSECTORSIZE, &sectorsize); in fstyp_geli()
/src/sys/sys/
H A Ddisk.h28 #define DIOCGSECTORSIZE _IOR('d', 128, u_int) macro
/src/usr.sbin/fifolog/lib/
H A Dfifolog_create.c83 i = ioctl(fd, DIOCGSECTORSIZE, &uu); in fifolog_create()
H A Dfifolog_int.c67 i = ioctl(f->fd, DIOCGSECTORSIZE, &f->recsize); in fifolog_int_open_i()
/src/tests/sys/geom/class/eli/
H A Dunaligned_io.c66 if (ioctl(fd, DIOCGSECTORSIZE, &secsz) != 0) in main()
/src/sbin/fsck_ffs/
H A Dsetup.c520 if (ioctl(devfd, DIOCGSECTORSIZE, &secsize) == -1 || in chkrecovery()
559 ioctl(readfd, DIOCGSECTORSIZE, &secsize) == -1 || in saverecovery()
/src/stand/usb/storage/
H A Dumass_loader.c158 case DIOCGSECTORSIZE: in umass_disk_ioctl()
/src/stand/libofw/
H A Dofw_disk.c168 case DIOCGSECTORSIZE: in ofwd_ioctl()
/src/lib/libgeom/
H A Dgeom_util.c108 if (g_ioctl_arg(fd, DIOCGSECTORSIZE, &sectorsize) == -1) in g_sectorsize()
/src/sbin/hastd/
H A Dsubr.c110 if (ioctl(res->hr_localfd, DIOCGSECTORSIZE, in provinfo()
/src/stand/userboot/userboot/
H A Duserboot_disk.c92 if (CALLBACK(diskioctl, i, DIOCGSECTORSIZE, in userdisk_init()
/src/stand/uboot/
H A Duboot_disk.c286 case DIOCGSECTORSIZE: in stor_ioctl()
/src/stand/libsa/geli/
H A Dgelidev.c243 case DIOCGSECTORSIZE: in geli_dev_ioctl()
/src/sbin/recoverdisk/
H A Drecoverdisk.c569 #ifdef DIOCGSECTORSIZE in determine_read_sizes()
571 error = ioctl(read_fd, DIOCGSECTORSIZE, &sectorsize); in determine_read_sizes()
/src/sbin/ggate/shared/
H A Dggate.c161 if (ioctl(fd, DIOCGSECTORSIZE, &secsize) == -1) { in g_gate_sectorsize()
/src/stand/common/
H A Dvdisk.c357 case DIOCGSECTORSIZE: in vdisk_ioctl()
H A Ddisk.c211 case DIOCGSECTORSIZE: in disk_ioctl()
/src/tools/tools/nvmf/nvmfd/
H A Ddevices.c90 if (ioctl(fd, DIOCGSECTORSIZE, &dev->sector_size) != 0) in init_chardevice()
/src/sbin/newfs/
H A Dnewfs.c340 if (ioctl(disk.d_fd, DIOCGSECTORSIZE, &sectorsize) == -1) in main()
/src/stand/userboot/test/
H A Dtest.c411 case DIOCGSECTORSIZE: in test_diskioctl()
/src/stand/libsa/zfs/
H A Dzfs.c470 ret = ioctl(fd, DIOCGSECTORSIZE, &secsz); in vdev_read()
593 ret = ioctl(fd, DIOCGSECTORSIZE, &secsz); in vdev_write()
1491 ret = ioctl(pa.fd, DIOCGSECTORSIZE, &pa.secsz); in zfs_probe_dev()
/src/sys/dev/nvmf/host/
H A Dnvmf_ns.c287 case DIOCGSECTORSIZE: in nvmf_ns_ioctl()
/src/stand/kboot/kboot/
H A Dhostdisk.c368 case DIOCGSECTORSIZE: in hostdisk_ioctl()
/src/sys/dev/nvdimm/
H A Dnvdimm_spa.c250 case DIOCGSECTORSIZE: in nvdimm_spa_ioctl()
/src/sys/dev/nvme/
H A Dnvme_ns.c99 case DIOCGSECTORSIZE: in nvme_ns_ioctl()

12