Searched refs:BLKGETSIZE64 (Results 1 - 6 of 6) sorted by relevance

/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Ddevice_io.h62 #ifndef BLKGETSIZE64
63 # define BLKGETSIZE64 0x80041272 macro
H A Ddevice.c88 #if defined(linux) && defined(_IOR) && !defined(BLKGETSIZE64)
89 #define BLKGETSIZE64 _IOR(0x12,114,size_t) /* Get device size in bytes. */ macro
540 #ifdef BLKGETSIZE64
543 if (dev->d_ops->ioctl(dev, BLKGETSIZE64, &size) >= 0) {
544 ntfs_log_debug("BLKGETSIZE64 nr bytes = %llu (0x%llx)\n",
H A Dwin32_io.c1853 #if defined(BLKGETSIZE) | defined(BLKGETSIZE64)
1869 #if defined(BLKGETSIZE64)
1870 case BLKGETSIZE64:
1871 ntfs_log_debug("BLKGETSIZE64 detected.\n");
/haiku/src/add-ons/kernel/drivers/disk/nvme/libnvme/
H A Dnvme_common.c182 if (ioctl(fd, BLKGETSIZE64, &size) == 0)
/haiku/src/tools/fs_shell/
H A Dunistd.cpp170 // If BLKGETSIZE64 don't work for us, we will fall back to
176 if (ioctl(fd, BLKGETSIZE64, &size) == 0 && size > 0) {
/haiku/src/bin/makebootable/platform/bios_ia32/
H A Dmakebootable.cpp510 // get device size -- try BLKGETSIZE64, but, if it doesn't
514 if (ioctl(baseFD, BLKGETSIZE64, &deviceSize) == 0

Completed in 98 milliseconds