Home
last modified time | relevance | path

Searched refs:DIOCGMEDIASIZE (Results 1 - 4 of 4) sorted by relevance

/third_party/FreeBSD/sbin/newfs_msdos/
H A Dmkfs_define.h55 * DIOCGMEDIASIZE,DIOCGFWSECTORS,DIOCGSECTORSIZE,DIOCGFWHEADS
59 #define DIOCGMEDIASIZE _IOR('d', 129, off_t) /* Get media size in bytes */ macro
H A Dmkfs_msdos.c922 if (ioctl(fd, DIOCGMEDIASIZE, &ms) == -1) { in getdiskinfo()
/third_party/ntfs-3g/libntfs-3g/
H A Ddevice.c569 #ifdef DIOCGMEDIASIZE in ntfs_device_size_get()
574 if (dev->d_ops->ioctl(dev, DIOCGMEDIASIZE, &size) >= 0) { in ntfs_device_size_get()
575 ntfs_log_debug("DIOCGMEDIASIZE nr bytes = %llu (0x%llx)\n", in ntfs_device_size_get()
/third_party/gptfdisk/
H A Ddiskio-unix.cc466 *err = ioctl(fd, DIOCGMEDIASIZE, &bytes); in DiskSize()

Completed in 5 milliseconds