Searched refs:disk_size (Results 1 – 8 of 8) sorted by relevance
/external/crosvm/devices/src/virtio/ |
D | block.rs | 256 disk_size: Arc<Mutex<u64>>, field 269 disk_size: u64, in process_one_request() 294 disk_size, in process_one_request() 320 let disk_size = self.disk_size.lock(); in process_queue() localVariable 331 *disk_size, in process_queue() 372 let mut disk_size = self.disk_size.lock(); in resize() localVariable 373 *disk_size = new_disk_size; in resize() 500 disk_size: Arc<Mutex<u64>>, field 510 fn build_config_space(disk_size: u64, seg_max: u32, block_size: u32) -> virtio_blk_config { in build_config_space() 513 capacity: Le64::from(disk_size >> SECTOR_SHIFT), in build_config_space() [all …]
|
D | block_async.rs | 238 disk_size: Arc<AtomicU64>, field 440 disk_state.disk_size.store(new_disk_size, Ordering::Release); in resize() 568 disk_size: Arc<AtomicU64>, field 578 fn build_config_space(disk_size: u64, seg_max: u32, block_size: u32) -> virtio_blk_config { in build_config_space() 581 capacity: Le64::from(disk_size >> SECTOR_SHIFT), in build_config_space() 613 let disk_size = disk_image.get_len()?; in new() localVariable 614 if disk_size % block_size as u64 != 0 { in new() 618 disk_size, block_size, in new() 647 disk_size: Arc::new(AtomicU64::new(disk_size)), in new() 688 disk_size: u64, in execute_request() [all …]
|
/external/mtools/ |
D | init.c | 255 int disk_size = 0; /* In case we don't happen to set this below */ in fs_init() local 360 disk_size = (dev.tracks) ? cylinder_size : 512; in fs_init() 362 disk_size = (dev.tracks) ? dev.sectors : 512; in fs_init() 369 disk_size = 0; in fs_init() 373 disk_size = cylinder_size; in fs_init() 377 if(disk_size > 256) { in fs_init() 378 disk_size = dev.sectors; in fs_init() 380 disk_size <<= 1; in fs_init() 383 if (disk_size % 2) in fs_init() 384 disk_size *= 2; in fs_init() [all …]
|
D | NEWS | 1111 init.c: fs_init(): initialized disk_size to 0. The section
|
/external/autotest/client/site_tests/hardware_DiskSize/ |
D | hardware_DiskSize.py | 77 disk_size = utils.get_disk_size(root_dev) 78 if not disk_size: 83 gb = float(disk_size) / (10 ** 9)
|
/external/crosvm/disk/src/ |
D | disk.rs | 270 let disk_size = f.get_len().map_err(Error::SeekingFile)?; in detect_image_type() localVariable 277 let magic_read_len = if disk_size > MAGIC_BLOCK_SIZE as u64 { in detect_image_type() 282 disk_size as usize in detect_image_type()
|
/external/python/pyfakefs/pyfakefs/tests/ |
D | fake_filesystem_test.py | 2082 disk_size = 1024 * 1024 * 1024 2084 self.filesystem.set_disk_usage(disk_size, real_dir_path) 2089 self.assertEqual(disk_size, 2096 self.assertGreater(disk_size, 2100 disk_size = 1024 * 1024 * 1024 2101 self.filesystem.set_disk_usage(disk_size, self.pyfakefs_path) 2106 self.assertGreater(disk_size, self.filesystem.get_disk_usage(
|
/external/cros/system_api/dbus/vm_concierge/ |
D | service.proto | 212 uint64 disk_size = 3; field
|