Home
last modified time | relevance | path

Searched refs:device_size (Results 1 – 8 of 8) sorted by relevance

/external/autotest/server/site_tests/brillo_DiskSizeTest/
Dbrillo_DiskSizeTest.py33 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/
Dlibf2fs.c834 dev->total_sectors = c.device_size / dev->sector_size; in get_device_info()
961 static int win_get_device_size(const char *file, uint64_t *device_size) in win_get_device_size() argument
984 *device_size = pi.PartitionLength.QuadPart; in win_get_device_size()
991 *device_size = gi.BytesPerSector * in win_get_device_size()
998 *device_size = filesize.QuadPart; in win_get_device_size()
1005 *device_size = filesize;
1016 uint64_t device_size = 0; in get_device_info() local
1021 if (win_get_device_size(dev->path, &device_size)) { in get_device_info()
1026 device_size = c.device_size; in get_device_info()
1038 dev->total_sectors = device_size / dev->sector_size; in get_device_info()
Dlibf2fs_io.c283 f2fs_sparse_file = sparse_file_new(F2FS_BLKSIZE, c.device_size); in f2fs_init_sparse_file()
290 c.device_size = sparse_file_len(f2fs_sparse_file, 0, 0); in f2fs_init_sparse_file()
291 c.device_size &= (~((u_int64_t)(F2FS_BLKSIZE - 1))); in f2fs_init_sparse_file()
298 blocks_count = c.device_size / F2FS_BLKSIZE; in f2fs_init_sparse_file()
325 c.device_size); in f2fs_finalize_device()
/external/autotest/server/site_tests/brillo_RecoverFromBadImage/
Dbrillo_RecoverFromBadImage.py110 device_size = int(
115 return block_size, device_size / block_size
/external/f2fs-tools/mkfs/
Df2fs_format_main.c159 c.device_size = atoll(optarg); in f2fs_parse_options()
160 c.device_size &= (~((u_int64_t)(F2FS_BLKSIZE - 1))); in f2fs_parse_options()
/external/libusb/examples/
Dxusb.c460 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/f2fs-tools/include/
Df2fs_fs.h335 u_int64_t device_size; member
/external/libdrm/
Dxf86drm.c3257 size_t bus_size, size_t device_size, in drmDeviceAlloc() argument
3268 size = sizeof(*device) + extra + bus_size + device_size; in drmDeviceAlloc()