Home
last modified time | relevance | path

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

/openbmc/qemu/block/
H A Dqcow.c438 if (!cluster_offset || in get_cluster_offset()
457 cluster_offset = QEMU_ALIGN_UP(cluster_offset, s->cluster_size); in get_cluster_offset()
472 cluster_offset = QEMU_ALIGN_UP(cluster_offset, s->cluster_size); in get_cluster_offset()
528 *result = cluster_offset; in get_cluster_offset()
540 uint64_t cluster_offset; in qcow_co_block_status() local
554 if (!cluster_offset) { in qcow_co_block_status()
635 uint64_t cluster_offset; in qcow_co_preadv() local
663 if (!cluster_offset) { in qcow_co_preadv()
730 uint64_t cluster_offset; in qcow_co_pwritev() local
763 if (!cluster_offset || (cluster_offset & 511) != 0) { in qcow_co_pwritev()
[all …]
H A Dqcow2-cluster.c834 int64_t cluster_offset; in qcow2_alloc_compressed_cluster_offset() local
855 if (cluster_offset < 0) { in qcow2_alloc_compressed_cluster_offset()
857 return cluster_offset; in qcow2_alloc_compressed_cluster_offset()
865 assert((cluster_offset & s->cluster_offset_mask) == cluster_offset); in qcow2_alloc_compressed_cluster_offset()
1500 uint64_t l2_entry, cluster_offset; in handle_copied() local
1623 int64_t cluster_offset = in do_alloc_cluster_offset() local
1625 if (cluster_offset < 0) { in do_alloc_cluster_offset()
1626 return cluster_offset; in do_alloc_cluster_offset()
1628 *host_offset = cluster_offset; in do_alloc_cluster_offset()
1790 uint64_t cluster_offset; in qcow2_alloc_host_offset() local
[all …]
H A Dvmdk.c1453 uint64_t cluster_offset, uint64_t offset, in get_whole_cluster() 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
1813 *map = cluster_offset + index_in_cluster; in vmdk_co_block_status()
1886 write_offset = cluster_offset + offset_in_cluster; in vmdk_write_extent()
1912 vmdk_read_extent(VmdkExtent *extent, int64_t cluster_offset, in vmdk_read_extent() argument
1986 uint64_t cluster_offset; in vmdk_co_preadv() local
2067 uint64_t cluster_offset; in vmdk_pwritev() local
2963 uint64_t cluster_offset; in vmdk_co_check() local
[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/include/block/
H A Dblock-io.h206 int64_t *cluster_offset,
/openbmc/qemu/hw/acpi/
H A Daml-build.c2060 uint32_t socket_offset = 0, cluster_offset = 0, core_offset = 0; in build_pptt() local
2091 cluster_offset = table_data->len - pptt_start; in build_pptt()
2097 cluster_offset = socket_offset; in build_pptt()
2104 cluster_offset, n, NULL, 0); in build_pptt()
2112 cluster_offset, core_id, NULL, 0); in build_pptt()
/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()