/external/crosvm/disk/src/qcow/ |
D | qcow_raw_file.rs | 16 cluster_size: u64, field 23 pub fn from(file: File, cluster_size: u64) -> Option<Self> { in from() 24 if cluster_size.count_ones() != 1 { in from() 29 cluster_size, in from() 30 cluster_mask: cluster_size - 1, in from() 56 let count = self.cluster_size / size_of::<u64>() as u64; in read_pointer_cluster() 85 let count = self.cluster_size / size_of::<u16>() as u64; in read_refcount_block() 111 let new_cluster_address: u64 = (file_end + self.cluster_size - 1) & !self.cluster_mask; in add_cluster_end() 117 self.file.set_len(new_cluster_address + self.cluster_size)?; in add_cluster_end() 133 pub fn cluster_size(&self) -> u64 { in cluster_size() method [all …]
|
D | mod.rs | 271 let cluster_size: u32 = 0x01 << cluster_bits; in create_for_size_and_path() localVariable 273 (cluster_size - V3_BARE_HEADER_SIZE - QCOW_EMPTY_HEADER_EXTENSION_SIZE) as usize; in create_for_size_and_path() 280 let l2_size: u32 = cluster_size / size_of::<u64>() as u32; in create_for_size_and_path() 281 let num_clusters: u32 = div_round_up_u64(size, u64::from(cluster_size)) as u32; in create_for_size_and_path() 283 let l1_clusters: u32 = div_round_up_u32(num_l2_clusters, cluster_size); in create_for_size_and_path() 284 let header_clusters = div_round_up_u32(size_of::<QcowHeader>() as u32, cluster_size); in create_for_size_and_path() 298 l1_table_offset: u64::from(cluster_size), in create_for_size_and_path() 300 refcount_table_offset: u64::from(cluster_size * (l1_clusters + 1)), in create_for_size_and_path() 307 cluster_size, in create_for_size_and_path() 313 cluster_size, in create_for_size_and_path() [all …]
|
D | refcount.rs | 56 cluster_size: u64, field 70 cluster_size: u64, in new() 78 let max_valid_cluster_offset = max_valid_cluster_index * cluster_size; in new() 84 cluster_size, in new() 248 let block_index = (address / self.cluster_size) % self.refcount_block_entries; in get_refcount_index() 249 let refcount_table_index = (address / self.cluster_size) / self.refcount_block_entries; in get_refcount_index()
|
/external/mtools/scripts/ |
D | amuFormat.sh | 57 cylinders=245 heads=2 cluster_size=8 62 cylinders=489 heads=4 cluster_size=4 67 cylinders=245 heads=2 cluster_size=8 73 cylinders=2327 heads=16 cluster_size=64 78 cylinders=489 heads=8 cluster_size=4 98 mformat -c$cluster_size -v "$1" "$drive"
|
/external/mtools/ |
D | mformat.c | 201 else if(Fs->cluster_size == 0 && in comp_fat_bits() 246 Fs->num_fat, Fs->cluster_size) in calc_fat_bits2() 264 Fs->cluster_size * Fs->sector_size * 2 in calc_fat_bits2() 266 Fs->cluster_size <<= 1; in calc_fat_bits2() 312 dirlen = Fs->cluster_size; in format_root() 347 for(Fs->cluster_size = 1; 1 ; Fs->cluster_size <<= 1) { in xdf_calc_fat_size() 348 Fs->num_clus = rem_sect / Fs->cluster_size; in xdf_calc_fat_size() 384 Fs->cluster_size %2 == 0) in calc_fat_size() 403 numerator = rem_sect+2*Fs->cluster_size; in calc_fat_size() 405 Fs->cluster_size * Fs->sector_size * 2 + in calc_fat_size() [all …]
|
D | old_dos.c | 51 unsigned int cluster_size) { in getOldDosByParams() argument 58 (cluster_size == 0 || in getOldDosByParams() 59 cluster_size == old_dos[i].cluster_size)) { in getOldDosByParams()
|
D | msdos.h | 247 #define DISK_SIZE(bits, sec_siz, clusters, n, cluster_size) \ argument 249 (clusters) * (cluster_size)) 251 #define TOTAL_DISK_SIZE(bits, sec_siz, clusters, n, cluster_size) \ argument 252 (DISK_SIZE(bits, sec_siz, clusters, n, cluster_size) + 2)
|
D | mbadblocks.c | 84 start = (cluster - 2) * Fs->cluster_size + Fs->clus_start; in scan() 172 in_len = Fs->cluster_size * Fs->sector_size; in mbadblocks() 227 offset = (offset-Fs->clus_start)/Fs->cluster_size + 2; in mbadblocks() 243 in_len = Fs->cluster_size * Fs->sector_size; in mbadblocks()
|
D | init.c | 296 This->cluster_size = params->cluster_size; in fs_init() 335 This->cluster_size = boot.boot.clsiz; in fs_init()
|
D | file.c | 99 clus_size = Fs->cluster_size * Fs->sector_size; in recalcPreallocSize() 171 This->sector_size * This->cluster_size; in countBytes() 228 clusSize = This->Fs->cluster_size * This->Fs->sector_size; in printFatWithOffset() 258 clus_size = Fs->cluster_size * Fs->sector_size; in normal_map() 350 (This->PreviousAbsCluNr-2) * Fs->cluster_size + in normal_map()
|
D | fs.h | 32 unsigned int cluster_size; member
|
/external/brotli/c/enc/ |
D | cluster_inc.h | 15 const HistogramType* out, const uint32_t* cluster_size, uint32_t idx1, 32 p.cost_diff = 0.5 * ClusterCostDiff(cluster_size[idx1], cluster_size[idx2]); 71 uint32_t* cluster_size, 90 FN(BrotliCompareAndPushToQueue)(out, cluster_size, clusters[idx1], 110 cluster_size[best_idx1] += cluster_size[best_idx2]; 149 FN(BrotliCompareAndPushToQueue)(out, cluster_size, best_idx1, clusters[i], 253 uint32_t* cluster_size = BROTLI_ALLOC(m, uint32_t, in_size); 262 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(cluster_size) || 268 cluster_size[i] = 1; 286 FN(BrotliHistogramCombine)(out, cluster_size, [all …]
|
D | block_splitter_inc.h | 203 uint32_t* cluster_size = BROTLI_ALLOC(m, uint32_t, cluster_size_capacity); in FN() local 224 BROTLI_IS_NULL(cluster_size) || BROTLI_IS_NULL(histograms) || in FN() 264 BROTLI_ENSURE_CAPACITY(m, uint32_t, cluster_size, in FN() 269 cluster_size[cluster_size_size++] = sizes[new_clusters[j]]; in FN() 295 all_histograms, cluster_size, histogram_symbols, clusters, pairs, in FN() 299 BROTLI_FREE(m, cluster_size); in FN()
|
/external/e2fsprogs/lib/ext2fs/ |
D | qcow2.c | 127 size = read(fd, *l2_table, img->cluster_size); in qcow2_read_l2_table() 128 if (size != img->cluster_size) in qcow2_read_l2_table() 181 img.cluster_size = 1 << img.cluster_bits; in qcow2_write_raw_image() 187 if (img.l1_offset & (img.cluster_size - 1)) in qcow2_write_raw_image() 191 img.cluster_size; in qcow2_write_raw_image() 195 ret = ext2fs_get_memzero(img.cluster_size, &l2_table); in qcow2_write_raw_image() 245 off_out, copy_buf, img.cluster_size); in qcow2_write_raw_image()
|
D | qcow2.h | 96 __u32 cluster_size; member
|
/external/llvm-project/mlir/test/Dialect/SPIRV/ |
D | non-uniform-ops.mlir | 105 …// CHECK: %{{.+}} = spv.GroupNonUniformFAdd "Workgroup" "ClusteredReduce" %{{.+}} cluster_size(%{{… 106 …%0 = spv.GroupNonUniformFAdd "Workgroup" "ClusteredReduce" %val cluster_size(%four) : vector<2xf32> 124 …// CHECK: %{{.+}} = spv.GroupNonUniformFMul "Workgroup" "ClusteredReduce" %{{.+}} cluster_size(%{{… 125 …%0 = spv.GroupNonUniformFMul "Workgroup" "ClusteredReduce" %val cluster_size(%four) : vector<2xf32> 171 …// CHECK: %{{.+}} = spv.GroupNonUniformIAdd "Workgroup" "ClusteredReduce" %{{.+}} cluster_size(%{{… 172 …%0 = spv.GroupNonUniformIAdd "Workgroup" "ClusteredReduce" %val cluster_size(%four) : vector<2xi32> 196 …%0 = spv.GroupNonUniformIAdd "Workgroup" "ClusteredReduce" %val cluster_size(%size) : vector<2xi32> 205 …%0 = spv.GroupNonUniformIAdd "Workgroup" "ClusteredReduce" %val cluster_size(%five) : vector<2xi32> 225 …// CHECK: %{{.+}} = spv.GroupNonUniformIMul "Workgroup" "ClusteredReduce" %{{.+}} cluster_size(%{{… 226 …%0 = spv.GroupNonUniformIMul "Workgroup" "ClusteredReduce" %val cluster_size(%four) : vector<2xi32>
|
/external/e2fsprogs/misc/ |
D | e2image.c | 874 img->cluster_size, &ref->refcount_table); in init_refcount() 879 ret = ext2fs_get_arrayzero(1, img->cluster_size, &ref->refcount_block); in init_refcount() 904 image->cluster_size = fs->blocksize; in initialize_qcow2_image() 915 offset = align_offset(header_size, image->cluster_size); in initialize_qcow2_image() 927 offset += align_offset(l1_size * sizeof(blk64_t), image->cluster_size); in initialize_qcow2_image() 938 offset += image->cluster_size; in initialize_qcow2_image() 944 offset += image->cluster_size; in initialize_qcow2_image() 996 memset(table->data, 0, img->cluster_size); in put_used_table() 1023 generic_write(fd, (char *)table->data, image->cluster_size, in flush_l2_cache() 1026 seek += image->cluster_size; in flush_l2_cache() [all …]
|
/external/f2fs-tools/fsck/ |
D | compress.c | 46 memset(cc->rbuf, 0, cc->cluster_size * F2FS_BLKSIZE); in reset_cc() 47 memset(cc->cbuf->cdata, 0, cc->cluster_size * F2FS_BLKSIZE in reset_cc() 55 size_t size = cc->cluster_size * F2FS_BLKSIZE; in lzo_compress_init() 76 size_t size = cc->cluster_size * F2FS_BLKSIZE; in lz4_compress_init()
|
/external/llvm-project/mlir/include/mlir/Dialect/SPIRV/ |
D | SPIRVNonUniformOps.td | 33 Optional<SPV_Integer>:$cluster_size 260 ssa-use ( `cluster_size` `(` ssa_use `)` )? 271 …%1 = spv.GroupNonUniformFAdd "Subgroup" "ClusteredReduce" %vector cluster_size(%four) : vector<4xf… 314 ssa-use ( `cluster_size` `(` ssa_use `)` )? 325 …%1 = spv.GroupNonUniformFMax "Subgroup" "ClusteredReduce" %vector cluster_size(%four) : vector<4xf… 368 ssa-use ( `cluster_size` `(` ssa_use `)` )? 379 …%1 = spv.GroupNonUniformFMin "Subgroup" "ClusteredReduce" %vector cluster_size(%four) : vector<4xf… 419 ssa-use ( `cluster_size` `(` ssa_use `)` )? 430 …%1 = spv.GroupNonUniformFMul "Subgroup" "ClusteredReduce" %vector cluster_size(%four) : vector<4xf… 468 ssa-use ( `cluster_size` `(` ssa_use `)` )? [all …]
|
/external/mesa3d/src/amd/compiler/ |
D | aco_reduce_assign.cpp | 118 unsigned cluster_size = static_cast<Pseudo_reduction_instruction *>(instr)->cluster_size; in setup_reduce_temp() local 127 if (program->chip_class >= GFX10 && cluster_size == 64) in setup_reduce_temp() 134 need_vtmp |= cluster_size == 32; in setup_reduce_temp()
|
/external/tensorflow/tensorflow/compiler/jit/tests/ |
D | auto_clustering_test_helper.cc | 49 std::map<int, int> cluster_size; in SummarizeClustering() local 60 cluster_size[cluster]++; in SummarizeClustering() 65 "\nUnclustered nodes: ", cluster_size[kNoCluster], in SummarizeClustering() 74 absl::StrAppend(&result, " size ", cluster_size[pair.first], "\n"); in SummarizeClustering()
|
/external/mesa3d/src/intel/compiler/ |
D | brw_fs_builder.h | 441 unsigned cluster_size, brw_conditional_mod mod) const in emit_scan() argument 453 ubld.emit_scan(opcode, left, cluster_size, mod); in emit_scan() 454 ubld.emit_scan(opcode, right, cluster_size, mod); in emit_scan() 455 if (cluster_size > half_width) { in emit_scan() 462 if (cluster_size > 1) { in emit_scan() 469 if (cluster_size > 2) { in emit_scan() 498 i < MIN2(cluster_size, dispatch_width()); in emit_scan()
|
/external/llvm-project/mlir/test/Dialect/SPIRV/Serialization/ |
D | non-uniform-ops.mlir | 64 …// CHECK: %{{.+}} = spv.GroupNonUniformIAdd "Workgroup" "ClusteredReduce" %{{.+}} cluster_size(%{{… 65 …%0 = spv.GroupNonUniformIAdd "Workgroup" "ClusteredReduce" %val cluster_size(%four) : vector<2xi32>
|
/external/mesa3d/src/compiler/spirv/ |
D | vtn_subgroup.c | 470 unsigned cluster_size = 0; in vtn_handle_subgroup() local 484 cluster_size = vtn_constant_uint(b, w[6]); in vtn_handle_subgroup() 492 reduction_op, cluster_size)); in vtn_handle_subgroup()
|
/external/tensorflow/tensorflow/compiler/jit/ |
D | mark_for_compilation_pass.cc | 154 DCHECK_EQ(cluster_size(), 1); in GetIdOfOnlyNode() 159 int cluster_size() const { return cluster_size_; } in cluster_size() function in tensorflow::__anonc4d28a150111::MarkForCompilationPassImpl::Cluster 217 if (cluster_size() == 1) { in DebugString() 222 return absl::StrCat("<", node->name(), " + ", cluster_size() - 1, in DebugString() 668 return cluster.cluster_size() == 1 in GetOnlyNodeIn() 1380 if (from->cluster_size() + to->cluster_size() > in TryToContractEdge()
|