Home
last modified time | relevance | path

Searched refs:cluster_offset (Results 1 – 13 of 13) sorted by relevance

/openbmc/qemu/block/
H A Dqcow.c96 decompress_cluster(BlockDriverState *bs, uint64_t cluster_offset);
366 uint64_t *l2_table, cluster_offset, tmp; in get_cluster_offset() local
437 cluster_offset = be64_to_cpu(l2_table[l2_index]); in get_cluster_offset()
438 if (!cluster_offset || in get_cluster_offset()
439 ((cluster_offset & QCOW_OFLAG_COMPRESSED) && allocate == 1)) { in get_cluster_offset()
445 if ((cluster_offset & QCOW_OFLAG_COMPRESSED) && in get_cluster_offset()
450 if (decompress_cluster(bs, cluster_offset) < 0) { in get_cluster_offset()
453 cluster_offset = bdrv_co_getlength(bs->file->bs); in get_cluster_offset()
454 if ((int64_t) cluster_offset < 0) { in get_cluster_offset()
455 return cluster_offset; in get_cluster_offset()
[all …]
H A Dqcow2-cluster.c539 do_perform_cow_write(BlockDriverState *bs, uint64_t cluster_offset, in do_perform_cow_write() argument
550 cluster_offset + offset_in_cluster, qiov->size, true); in do_perform_cow_write()
556 ret = bdrv_co_pwritev(s->data_file, cluster_offset + offset_in_cluster, in do_perform_cow_write()
834 int64_t cluster_offset; in qcow2_alloc_compressed_cluster_offset() local
848 cluster_offset = get_l2_entry(s, l2_slice, l2_index); in qcow2_alloc_compressed_cluster_offset()
849 if (cluster_offset & L2E_OFFSET_MASK) { in qcow2_alloc_compressed_cluster_offset()
854 cluster_offset = qcow2_alloc_bytes(bs, compressed_size); in qcow2_alloc_compressed_cluster_offset()
855 if (cluster_offset < 0) { in qcow2_alloc_compressed_cluster_offset()
857 return cluster_offset; in qcow2_alloc_compressed_cluster_offset()
861 (cluster_offset + compressed_size - 1) / QCOW2_COMPRESSED_SECTOR_SIZE - in qcow2_alloc_compressed_cluster_offset()
[all …]
H A Dvmdk.c1453 uint64_t cluster_offset, uint64_t offset, in get_whole_cluster() argument
1494 ret = bdrv_co_pwrite(extent->file, cluster_offset, skip_start_bytes, in get_whole_cluster()
1515 ret = bdrv_co_pwrite(extent->file, cluster_offset + skip_end_bytes, in get_whole_cluster()
1585 uint64_t *cluster_offset, uint64_t skip_start_bytes, in get_cluster_offset() argument
1601 *cluster_offset = extent->flat_start_offset; in get_cluster_offset()
1746 *cluster_offset = cluster_sector << BDRV_SECTOR_BITS; in get_cluster_offset()
1786 uint64_t cluster_offset; in vmdk_co_block_status() local
1794 ret = get_cluster_offset(bs, extent, NULL, offset, false, &cluster_offset, in vmdk_co_block_status()
1813 *map = cluster_offset + index_in_cluster; in vmdk_co_block_status()
1830 vmdk_write_extent(VmdkExtent *extent, int64_t cluster_offset, in vmdk_write_extent() argument
[all …]
H A Dqcow2-refcount.c815 int64_t start, last, cluster_offset; in update_refcount() local
838 for(cluster_offset = start; cluster_offset <= last; in update_refcount()
839 cluster_offset += s->cluster_size) in update_refcount()
843 int64_t cluster_index = cluster_offset >> s->cluster_bits; in update_refcount()
905 update_refcount_discard(bs, cluster_offset, s->cluster_size); in update_refcount()
927 dummy = update_refcount(bs, offset, cluster_offset - offset, addend, in update_refcount()
1532 uint64_t start, last, cluster_offset, k, refcount; in qcow2_inc_refcounts_imrt() local
1560 for(cluster_offset = start; cluster_offset <= last; in qcow2_inc_refcounts_imrt()
1561 cluster_offset += s->cluster_size) { in qcow2_inc_refcounts_imrt()
1562 k = cluster_offset >> s->cluster_bits; in qcow2_inc_refcounts_imrt()
[all …]
H A Dtrace-events17 …set, int64_t bytes, int64_t cluster_offset, int64_t cluster_bytes) "bs %p offset %" PRId64 " bytes…
H A Dqcow2.c4683 uint64_t cluster_offset; in qcow2_co_pwritev_compressed_task() local
4713 &cluster_offset); in qcow2_co_pwritev_compressed_task()
4719 ret = qcow2_pre_write_overlap_check(bs, 0, cluster_offset, out_len, true); in qcow2_co_pwritev_compressed_task()
4726 ret = bdrv_co_pwrite(s->data_file, cluster_offset, out_len, out_buf, 0); in qcow2_co_pwritev_compressed_task()
/openbmc/linux/drivers/clk/mvebu/
H A Dap-cpu-clk.c44 unsigned int cluster_offset; member
82 .cluster_offset = AP806_CA72MP2_0_PLL_CR_CLUSTER_OFFSET,
116 .cluster_offset = AP807_CA72MP2_0_PLL_CR_CLUSTER_OFFSET,
151 (clk->cluster * clk->pll_regs->cluster_offset); in ap_cpu_clk_recalc_rate()
167 (clk->cluster * clk->pll_regs->cluster_offset); in ap_cpu_clk_set_rate()
169 (clk->cluster * clk->pll_regs->cluster_offset); in ap_cpu_clk_set_rate()
171 (clk->cluster * clk->pll_regs->cluster_offset); in ap_cpu_clk_set_rate()
/openbmc/linux/drivers/platform/x86/intel/uncore-frequency/
H A Duncore-frequency-tpmi.c280 u64 cluster_offset; in uncore_probe() local
333 cluster_offset = readq(pd_info->uncore_base + in uncore_probe()
340 mask = (cluster_offset & UNCORE_CLUSTER_OFF_MASK); in uncore_probe()
362 cluster_offset >>= UNCORE_MAX_CLUSTER_PER_DOMAIN; in uncore_probe()
/openbmc/qemu/docs/interop/
H A Dqed_spec.txt124 cluster_offset = l2_table[l2_index] & offset_mask
125 return cluster_offset + byte_offset
H A Dqcow2.txt520 cluster_offset = l2_table[l2_index];
522 return cluster_offset + (offset % cluster_size)
/openbmc/qemu/hw/acpi/
H A Daml-build.c2142 uint32_t socket_offset = 0, cluster_offset = 0, core_offset = 0; in build_pptt() local
2173 cluster_offset = table_data->len - pptt_start; in build_pptt()
2179 cluster_offset = socket_offset; in build_pptt()
2186 cluster_offset, n, NULL, 0); in build_pptt()
2194 cluster_offset, core_id, NULL, 0); in build_pptt()
/openbmc/qemu/include/block/
H A Dblock-io.h206 int64_t *cluster_offset,
/openbmc/linux/fs/ext4/
H A Dextents.c4156 ext4_lblk_t cluster_offset; in ext4_ext_map_blocks() local
4256 cluster_offset = EXT4_LBLK_COFF(sbi, map->m_lblk); in ext4_ext_map_blocks()
4262 if (cluster_offset && ex && in ext4_ext_map_blocks()