Searched refs:BLKGETSIZE64 (Results 1 - 6 of 6) sorted by relevance
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | device_io.h | 62 #ifndef BLKGETSIZE64 63 # define BLKGETSIZE64 0x80041272 macro
|
H A D | device.c | 88 #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 D | win32_io.c | 1853 #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 D | nvme_common.c | 182 if (ioctl(fd, BLKGETSIZE64, &size) == 0)
|
/haiku/src/tools/fs_shell/ |
H A D | unistd.cpp | 170 // 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 D | makebootable.cpp | 510 // get device size -- try BLKGETSIZE64, but, if it doesn't 514 if (ioctl(baseFD, BLKGETSIZE64, &deviceSize) == 0
|
Completed in 98 milliseconds