Home
last modified time | relevance | path

Searched refs:BLKGETSIZE64 (Results 1 – 25 of 33) sorted by relevance

12

/external/e2fsprogs/lib/blkid/
Dgetsize.c54 #if defined(__linux__) && defined(_IOR) && !defined(BLKGETSIZE64)
55 #define BLKGETSIZE64 _IOR(0x12,114,size_t) /* return device size in bytes (u64 *arg) */ macro
90 #ifdef BLKGETSIZE64 in blkid_get_dev_size()
102 ioctl(fd, BLKGETSIZE64, &size64) >= 0) { in blkid_get_dev_size()
/external/e2fsprogs/lib/ext2fs/
Dgetsize.c55 #if defined(__linux__) && defined(_IOR) && !defined(BLKGETSIZE64)
56 #define BLKGETSIZE64 _IOR(0x12,114,size_t) /* return device size in bytes (u64 *arg) */ macro
161 #ifdef BLKGETSIZE64 in ext2fs_get_device_size2()
173 ioctl(fd, BLKGETSIZE64, &size64) >= 0) { in ext2fs_get_device_size2()
/external/syslinux/libinstaller/
Dlinuxioctl.h54 #ifndef BLKGETSIZE64
56 # define BLKGETSIZE64 _IOR(0x12,114,size_t) macro
/external/toybox/toys/other/
Dblockdev.c41 int cmds[] = {BLKRRPART, BLKFLSBUF, BLKGETSIZE64, BLKGETSIZE, BLKGETSIZE64,
/external/fio/os/
Dos-android.h177 #ifndef BLKGETSIZE64
178 #define BLKGETSIZE64 _IOR(0x12,114,size_t) macro
196 if (!ioctl(f->fd, BLKGETSIZE64, bytes)) in blockdev_size()
Dos-linux.h129 #ifndef BLKGETSIZE64
130 #define BLKGETSIZE64 _IOR(0x12,114,size_t) macro
148 if (!ioctl(f->fd, BLKGETSIZE64, bytes)) in blockdev_size()
/external/bsdiff/
Dfile.cc99 #if defined(BLKGETSIZE64) in GetSize()
100 return ioctl(fd_, BLKGETSIZE64, size); in GetSize()
/external/f2fs-tools/tools/sg_write_buffer/include/
Dsg_linux_inc.h19 #ifdef BLKGETSIZE64
/external/ltp/lib/newlib_tests/
Dtst_device.c37 SAFE_IOCTL(fd, BLKGETSIZE64, &ltp_dev_size); in do_test()
/external/avb/libavb_user/
Davb_ops_user.cpp131 if (ioctl(fd, BLKGETSIZE64, &partition_size) != 0) { in read_from_partition()
273 if (ioctl(fd, BLKGETSIZE64, out_size_in_bytes) != 0) { in get_size_of_partition()
/external/f2fs-tools/lib/
Dlibf2fs.c766 #if defined(__linux__) && defined(_IOR) && !defined(BLKGETSIZE64)
767 #define BLKGETSIZE64 _IOR(0x12,114, size_t) macro
785 #ifndef BLKGETSIZE64 in get_device_info()
844 #ifdef BLKGETSIZE64 in get_device_info()
845 if (ioctl(fd, BLKGETSIZE64, &dev->total_sectors) < 0) { in get_device_info()
/external/ltp/testcases/kernel/syscalls/ioctl/
Dioctl05.c43 SAFE_IOCTL(fd, BLKGETSIZE64, &size64); in verify_ioctl()
/external/strace/tests-m32/
Dioctl_block.c74 TEST_NULL_ARG(BLKGETSIZE64); in main()
/external/strace/
Dblock.c209 case BLKGETSIZE64: in MPERS_PRINTER_DECL()
Dconfigure.ac748 AC_CACHE_CHECK([for BLKGETSIZE64], [ac_cv_have_blkgetsize64],
751 #include <linux/fs.h>], [return !BLKGETSIZE64;])],
754 AC_DEFINE([HAVE_BLKGETSIZE64], [1], [Define to 1 if you have BLKGETSIZE64.])
/external/strace/tests-mx32/
Dioctl_block.c74 TEST_NULL_ARG(BLKGETSIZE64); in main()
/external/strace/tests/
Dioctl_block.c74 TEST_NULL_ARG(BLKGETSIZE64); in main()
/external/kernel-headers/original/uapi/linux/
Dfs.h216 #define BLKGETSIZE64 _IOR(0x12,114,size_t) /* return device size in bytes (u64 *arg) */ macro
/external/ltp/lib/
Dtst_device.c249 if (ioctl(fd, BLKGETSIZE64, &ltp_dev_size)) { in tst_acquire_device__()
/external/vboot_reference/futility/
Dmisc.c248 ioctl(fd, BLKGETSIZE64, &sb.st_size); in futil_map_file()
Dcmd_vbutil_kernel.c187 ioctl(fd, BLKGETSIZE64, &file_size); in ReadOldKPartFromFileOrDie()
/external/gptfdisk/
Ddiskio-unix.cc435 *err = ioctl(fd, BLKGETSIZE64, &b); in DiskSize()
/external/syslinux/extlinux/
Dmain.c103 #ifdef BLKGETSIZE64 in get_size()
104 if (!ioctl(devfd, BLKGETSIZE64, &bytes)) in get_size()
/external/vboot_reference/cgpt/
Dcgpt_common.c272 if (ioctl(fd, BLKGETSIZE64, size) < 0) { in ObtainDriveSize()
/external/toybox/toys/pending/
Dfdisk.c166 if (ioctl(dev_fd, BLKGETSIZE64, &sec64) == 0) { in read_size()

12