/system/vold/ |
VoldUtil.cpp | 23 if ((ioctl(fd, BLKGETSIZE, nr_sec)) == -1) {
|
Utils.cpp | 575 if ((ioctl(fd, BLKGETSIZE, &nr_sec)) == -1) {
|
/external/e2fsprogs/misc/ |
partinfo.c | 23 #if defined(__linux__) && defined(_IO) && !defined(BLKGETSIZE) 24 #define BLKGETSIZE _IO(0x12,96) /* return device size */ 64 if (ioctl(fd, BLKGETSIZE, &size) < 0) {
|
/external/e2fsprogs/lib/blkid/ |
getsize.c | 50 #if defined(__linux__) && defined(_IO) && !defined(BLKGETSIZE) 51 #define BLKGETSIZE _IO(0x12,96) /* return device size */ 59 #define BLKGETSIZE DKIOCGETBLOCKCOUNT32 111 #ifdef BLKGETSIZE 115 if (ioctl(fd, BLKGETSIZE, &size) >= 0)
|
/external/ltp/testcases/kernel/syscalls/ioctl/ |
ioctl05.c | 18 * Basic test for the BLKGETSIZE and BLKGETSIZE64 ioctls. 20 * - BLKGETSIZE returns size in 512 byte blocks BLKGETSIZE64 in bytes 42 SAFE_IOCTL(fd, BLKGETSIZE, &size); 46 tst_res(TPASS, "BLKGETSIZE returned %lu, BLKGETSIZE64 %llu", 50 "BLKGETSIZE returned %lu, BLKGETSIZE64 returned %llu",
|
/external/toybox/toys/other/ |
blockdev.c | 41 int cmds[] = {BLKRRPART, BLKFLSBUF, BLKGETSIZE64, BLKGETSIZE, BLKGETSIZE64,
|
/external/e2fsprogs/lib/ext2fs/ |
getsize.c | 51 #if defined(__linux__) && defined(_IO) && !defined(BLKGETSIZE) 52 #define BLKGETSIZE _IO(0x12,96) /* return device size */ 60 #define BLKGETSIZE DKIOCGETBLOCKCOUNT32 180 #ifdef BLKGETSIZE 184 if (ioctl(fd, BLKGETSIZE, &size) >= 0) {
|
/external/syslinux/utils/ |
mkdiskimage.in | 76 $BLKGETSIZE = 0x1260; 124 if ( ioctl(OUTPUT, $BLKGETSIZE, $blksize) == 0 ) {
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/i386-linux-gnu/sys/ |
mount.h | 105 #define BLKGETSIZE _IO(0x12, 96) /* Return device size. */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/sys/ |
mount.h | 105 #define BLKGETSIZE _IO(0x12, 96) /* Return device size. */
|
/external/strace/ |
block.c | 200 case BLKGETSIZE:
|
/external/strace/tests/ |
ioctl_block.c | 73 TEST_NULL_ARG(BLKGETSIZE);
|
/external/strace/tests-m32/ |
ioctl_block.c | 73 TEST_NULL_ARG(BLKGETSIZE);
|
/external/strace/tests-mx32/ |
ioctl_block.c | 73 TEST_NULL_ARG(BLKGETSIZE);
|
/system/extras/zram-perf/ |
zram-perf.cpp | 52 int result = ioctl(m_fd, BLKGETSIZE, &blockSize);
|
/external/syslinux/bios/utils/ |
mkdiskimage | 76 $BLKGETSIZE = 0x1260; 124 if ( ioctl(OUTPUT, $BLKGETSIZE, $blksize) == 0 ) {
|
/bionic/libc/kernel/uapi/linux/ |
fs.h | 139 #define BLKGETSIZE _IO(0x12, 96)
|
/external/f2fs-tools/lib/ |
libf2fs.c | 762 #if defined(__linux__) && defined(_IO) && !defined(BLKGETSIZE) 763 #define BLKGETSIZE _IO(0x12,96) 776 #define BLKGETSIZE DKIOCGETBLOCKCOUNT 851 if (ioctl(fd, BLKGETSIZE, &total_sectors) < 0) {
|
/external/gptfdisk/ |
diskio-unix.cc | 430 *err = ioctl(fd, BLKGETSIZE, &sz);
|
/external/kernel-headers/original/uapi/linux/ |
fs.h | 194 #define BLKGETSIZE _IO(0x12,96) /* return device size /512 (long *arg) */
|
/external/ltp/testcases/kernel/io/disktest/ |
main.h | 54 #define BLKGETSIZE _IO(0x12,96) /* IOCTL for getting the device size */
|
sfunc.c | 637 if (ioctl(fd, BLKGETSIZE, &size) == -1)
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
fs.h | 288 #define BLKGETSIZE _IO(0x12,96) /* return device size /512 (long *arg) */
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_platform_limits_posix.cc | 559 unsigned IOCTL_BLKGETSIZE = BLKGETSIZE; [all...] |
/external/syslinux/extlinux/ |
main.c | 107 if (!ioctl(devfd, BLKGETSIZE, §s)) [all...] |