Searched refs:B_GET_GEOMETRY (Results 1 - 25 of 34) sorted by relevance

12

/haiku/src/add-ons/kernel/file_systems/shared/
H A DDeviceOpener.cpp56 if (!ioctl(fDevice, B_GET_GEOMETRY, &geometry,
113 if (ioctl(fDevice, B_GET_GEOMETRY, &geometry,
/haiku/src/bin/
H A Ddriveinfo.c57 if (ioctl(dev, bios?B_GET_BIOS_GEOMETRY:B_GET_GEOMETRY, &geom, sizeof(geom)) < 0) {
58 perror(bios ? "ioctl(B_GET_BIOS_GEOMETRY)" : "ioctl(B_GET_GEOMETRY)");
/haiku/src/add-ons/kernel/partitioning_systems/session/
H A Dsession.cpp51 && ioctl(fd, B_GET_GEOMETRY, &geometry, sizeof(geometry)) == 0
/haiku/headers/os/drivers/
H A DDrivers.h77 B_GET_GEOMETRY, /* get info about device geometry */ enumerator in enum:__anon2
123 /* B_GET_GEOMETRY data structure */
/haiku/src/tests/kits/storage/virtualdrive/
H A Dvirtualdrive.cpp503 case B_GET_GEOMETRY:
634 case B_GET_GEOMETRY:
635 TRACE(("virtualdrive: B_GET_GEOMETRY\n"));
/haiku/src/system/kernel/disk_device_manager/
H A DKDiskDevice.cpp383 if (ioctl(fFD, B_GET_GEOMETRY, geometry, sizeof(*geometry)) != 0)
/haiku/src/add-ons/kernel/drivers/disk/virtual/remote_disk/
H A Dremote_disk.cpp252 case B_GET_GEOMETRY:
255 op == B_GET_BIOS_GEOMETRY ? "B_GET_BIOS_GEOMETRY" : "B_GET_GEOMETRY"));
/haiku/src/bin/debug/strace/
H A Dioctl.cpp43 IOCTL_INFO_ENTRY(B_GET_GEOMETRY),
/haiku/src/add-ons/kernel/drivers/disk/norflash/
H A Dnorflash.cpp117 case B_GET_GEOMETRY:
/haiku/src/tests/add-ons/kernel/partitioning_systems/
H A DPartitioningSystemsTest.cpp55 if (ioctl(fd, B_GET_GEOMETRY, &device->geometry) < 0) {
/haiku/src/tools/fs_shell/
H A Dunistd.cpp154 if (ioctl(fd, B_GET_GEOMETRY, &systemGeometry) == 0) {
/haiku/src/tests/system/kernel/file_corruption/fs/
H A DVolume.cpp102 if (ioctl(fFD, B_GET_GEOMETRY, &geometry, sizeof(geometry)) < 0)
/haiku/src/system/kernel/device_manager/
H A DFileDevice.cpp314 case B_GET_GEOMETRY:
/haiku/src/tests/system/kernel/file_corruption/driver/
H A Dchecksum_device.cpp352 if (ioctl(fFD, B_GET_GEOMETRY, &geometry, sizeof(geometry)) < 0)
1103 case B_GET_GEOMETRY:
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Ddevice.c611 else if (dev->d_ops->ioctl(dev, B_GET_GEOMETRY, &geometry) == 0) {
/haiku/src/bin/bfs_tools/lib/
H A DDisk.cpp146 } else if (ioctl(device, B_GET_GEOMETRY, &geometry, sizeof(device_geometry))
/haiku/src/add-ons/kernel/file_systems/fat/
H A Dmkdos.cpp136 hasDeviceGeometry = B_OK == ioctl(fd, B_GET_GEOMETRY, &deviceGeometry,
/haiku/src/add-ons/kernel/drivers/disk/scsi/scsi_disk/
H A Dscsi_disk.cpp342 case B_GET_GEOMETRY:
/haiku/src/add-ons/kernel/file_systems/udf/
H A Dkernel_interface.cpp517 \todo I'm using the B_GET_GEOMETRY ioctl() to find out where the end of the
524 \todo Looks like B_GET_GEOMETRY doesn't work on non-device files (i.e.
557 // and see if we can get the device size with B_GET_GEOMETRY syscall, since
576 } else if (ioctl(device, B_GET_GEOMETRY, &geometry, sizeof(device_geometry)) == 0) {
/haiku/src/add-ons/kernel/drivers/disk/virtual/virtio_block/
H A Dvirtio_block.cpp390 case B_GET_GEOMETRY:
/haiku/src/add-ons/kernel/drivers/disk/mmc/
H A Dmmc_disk.cpp582 // Legacy ioctl, use B_GET_GEOMETRY
591 case B_GET_GEOMETRY:
/haiku/src/add-ons/kernel/drivers/disk/virtual/nbd/
H A Dnbd.c589 case B_GET_GEOMETRY:
/haiku/src/add-ons/kernel/file_systems/iso9660/
H A Diso9660.cpp52 if (ioctl(fd, B_GET_GEOMETRY, &geometry, sizeof(device_geometry)) < 0) {
/haiku/src/tests/system/kernel/device_manager/
H A Ddma_resource_test.cpp1317 case B_GET_GEOMETRY:
/haiku/src/apps/diskprobe/
H A DDataEditor.cpp502 if (device < 0 || ioctl(device, B_GET_GEOMETRY, &geometry,

Completed in 532 milliseconds

12