Searched refs:device_size (Results 1 – 11 of 11) sorted by relevance
/external/autotest/server/site_tests/brillo_DiskSizeTest/ |
D | brillo_DiskSizeTest.py | 33 device, device_size = df_output[1].split()[0:2] 34 if int(device_size) < int(min_size): 37 (device, device_size, min_size))
|
/external/f2fs-tools/lib/ |
D | libf2fs_io.c | 288 f2fs_sparse_file = sparse_file_new(F2FS_BLKSIZE, c.device_size); in f2fs_init_sparse_file() 295 c.device_size = sparse_file_len(f2fs_sparse_file, 0, 0); in f2fs_init_sparse_file() 296 c.device_size &= (~((u_int64_t)(F2FS_BLKSIZE - 1))); in f2fs_init_sparse_file() 303 blocks_count = c.device_size / F2FS_BLKSIZE; in f2fs_init_sparse_file() 335 c.device_size); in f2fs_finalize_device()
|
D | libf2fs.c | 859 dev->total_sectors = c.device_size / dev->sector_size; in get_device_info() 981 static int win_get_device_size(const char *file, uint64_t *device_size) in win_get_device_size() argument 1004 *device_size = pi.PartitionLength.QuadPart; in win_get_device_size() 1011 *device_size = gi.BytesPerSector * in win_get_device_size() 1018 *device_size = filesize.QuadPart; in win_get_device_size() 1025 *device_size = filesize; 1036 uint64_t device_size = 0; in get_device_info() local 1041 if (win_get_device_size(dev->path, &device_size)) { in get_device_info() 1046 device_size = c.device_size; in get_device_info() 1058 dev->total_sectors = device_size / dev->sector_size; in get_device_info()
|
/external/autotest/server/site_tests/brillo_RecoverFromBadImage/ |
D | brillo_RecoverFromBadImage.py | 110 device_size = int( 115 return block_size, device_size / block_size
|
/external/f2fs-tools/mkfs/ |
D | f2fs_format_main.c | 176 c.device_size = atoll(optarg); in f2fs_parse_options() 177 c.device_size &= (~((u_int64_t)(F2FS_BLKSIZE - 1))); in f2fs_parse_options()
|
/external/u-boot/drivers/ddr/marvell/a38x/ |
D | mv_ddr_plat.c | 967 u32 device_size_low, device_size_high, device_size; in ddr3_get_device_size() local 977 device_size = device_size_low | (device_size_high << 2); in ddr3_get_device_size() 979 switch (device_size) { in ddr3_get_device_size()
|
/external/libusb/examples/ |
D | xusb.c | 460 double device_size; in test_mass_storage() local 514 device_size = ((double)(max_lba+1))*block_size/(1024*1024*1024); in test_mass_storage() 515 printf(" Max LBA: %08X, Block Size: %08X (%.2f GB)\n", max_lba, block_size, device_size); in test_mass_storage()
|
/external/u-boot/drivers/mtd/ubi/ |
D | build.c | 608 uint64_t device_size; in get_bad_peb_limit() local 622 device_size = mtd_get_device_size(ubi->mtd); in get_bad_peb_limit() 623 device_pebs = mtd_div_by_eb(device_size, ubi->mtd); in get_bad_peb_limit()
|
/external/u-boot/fs/zfs/ |
D | zfs.c | 1889 uint64_t device_size = in zfs_mount() local 1893 P2ALIGN(device_size, (uint64_t) sizeof(vdev_label_t)); in zfs_mount()
|
/external/f2fs-tools/include/ |
D | f2fs_fs.h | 348 u_int64_t device_size; member
|
/external/libdrm/ |
D | xf86drm.c | 3279 size_t bus_size, size_t device_size, in drmDeviceAlloc() argument 3290 size = sizeof(*device) + extra + bus_size + device_size; in drmDeviceAlloc()
|