Home
last modified time | relevance | path

Searched refs:l2_entry (Results 1 – 25 of 95) sorted by relevance

1234

/dports/net/nbdkit/nbdkit-1.20.4/common/sparse/
H A Dsparse.c99 struct l2_entry { struct
117 free_l2_dir (struct l2_entry *l2_dir) in free_l2_dir()
221 uint32_t *remaining, struct l2_entry **l2_entry) in lookup() argument
224 struct l2_entry *l2_dir; in lookup()
250 if (l2_entry) in lookup()
251 *l2_entry = &l2_dir[o]; in lookup()
370 struct l2_entry *l2_entry; in sparse_array_zero() local
373 p = lookup (sa, offset, false, &n, &l2_entry); in sparse_array_zero()
381 assert (p == l2_entry->page); in sparse_array_zero()
388 free (l2_entry->page); in sparse_array_zero()
[all …]
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/block/
H A Dqcow2-cluster.c632 l2_entry = get_l2_entry(s, l2_slice, l2_index); in qcow2_get_host_offset()
662 *host_offset = l2_entry; in qcow2_get_host_offset()
1149 uint64_t l2_entry, l2_bitmap; in calculate_l2_meta() local
1196 l2_entry = get_l2_entry(s, l2_slice, l2_index); in calculate_l2_meta()
1241 l2_entry = get_l2_entry(s, l2_slice, l2_index); in calculate_l2_meta()
1317 switch (qcow2_get_cluster_type(bs, l2_entry)) { in cluster_needs_new_alloc()
1320 if (l2_entry & QCOW_OFLAG_COPIED) { in cluster_needs_new_alloc()
1480 uint64_t l2_entry, cluster_offset; in handle_copied() local
1511 cluster_offset = l2_entry & L2E_OFFSET_MASK; in handle_copied()
1513 if (!cluster_needs_new_alloc(bs, l2_entry)) { in handle_copied()
[all …]
H A Dqcow2.h710 uint64_t l2_entry) in qcow2_get_cluster_type() argument
714 if (l2_entry & QCOW_OFLAG_COMPRESSED) { in qcow2_get_cluster_type()
716 } else if ((l2_entry & QCOW_OFLAG_ZERO) && !has_subclusters(s)) { in qcow2_get_cluster_type()
717 if (l2_entry & L2E_OFFSET_MASK) { in qcow2_get_cluster_type()
721 } else if (!(l2_entry & L2E_OFFSET_MASK)) { in qcow2_get_cluster_type()
726 if (has_data_file(bs) && (l2_entry & QCOW_OFLAG_COPIED)) { in qcow2_get_cluster_type()
745 uint64_t l2_entry, in qcow2_get_subcluster_type() argument
750 QCow2ClusterType type = qcow2_get_cluster_type(bs, l2_entry); in qcow2_get_subcluster_type()
871 void qcow2_free_any_cluster(BlockDriverState *bs, uint64_t l2_entry,
918 void qcow2_parse_compressed_l2_entry(BlockDriverState *bs, uint64_t l2_entry,
/dports/emulators/qemu/qemu-6.2.0/block/
H A Dqcow2-cluster.c645 l2_entry = get_l2_entry(s, l2_slice, l2_index); in qcow2_get_host_offset()
675 *host_offset = l2_entry; in qcow2_get_host_offset()
1162 uint64_t l2_entry, l2_bitmap; in calculate_l2_meta() local
1209 l2_entry = get_l2_entry(s, l2_slice, l2_index); in calculate_l2_meta()
1254 l2_entry = get_l2_entry(s, l2_slice, l2_index); in calculate_l2_meta()
1330 switch (qcow2_get_cluster_type(bs, l2_entry)) { in cluster_needs_new_alloc()
1333 if (l2_entry & QCOW_OFLAG_COPIED) { in cluster_needs_new_alloc()
1493 uint64_t l2_entry, cluster_offset; in handle_copied() local
1524 cluster_offset = l2_entry & L2E_OFFSET_MASK; in handle_copied()
1526 if (!cluster_needs_new_alloc(bs, l2_entry)) { in handle_copied()
[all …]
H A Dqcow2.h710 uint64_t l2_entry) in qcow2_get_cluster_type() argument
714 if (l2_entry & QCOW_OFLAG_COMPRESSED) { in qcow2_get_cluster_type()
716 } else if ((l2_entry & QCOW_OFLAG_ZERO) && !has_subclusters(s)) { in qcow2_get_cluster_type()
717 if (l2_entry & L2E_OFFSET_MASK) { in qcow2_get_cluster_type()
721 } else if (!(l2_entry & L2E_OFFSET_MASK)) { in qcow2_get_cluster_type()
726 if (has_data_file(bs) && (l2_entry & QCOW_OFLAG_COPIED)) { in qcow2_get_cluster_type()
745 uint64_t l2_entry, in qcow2_get_subcluster_type() argument
750 QCow2ClusterType type = qcow2_get_cluster_type(bs, l2_entry); in qcow2_get_subcluster_type()
871 void qcow2_free_any_cluster(BlockDriverState *bs, uint64_t l2_entry,
918 void qcow2_parse_compressed_l2_entry(BlockDriverState *bs, uint64_t l2_entry,
/dports/emulators/qemu60/qemu-6.0.0/block/
H A Dqcow2-cluster.c469 expected_offset = l2_entry & L2E_OFFSET_MASK; in count_contiguous_subclusters()
633 l2_entry = get_l2_entry(s, l2_slice, l2_index); in qcow2_get_host_offset()
1150 uint64_t l2_entry, l2_bitmap; in calculate_l2_meta() local
1197 l2_entry = get_l2_entry(s, l2_slice, l2_index); in calculate_l2_meta()
1242 l2_entry = get_l2_entry(s, l2_slice, l2_index); in calculate_l2_meta()
1318 switch (qcow2_get_cluster_type(bs, l2_entry)) { in cluster_needs_new_alloc()
1321 if (l2_entry & QCOW_OFLAG_COPIED) { in cluster_needs_new_alloc()
1463 uint64_t l2_entry, cluster_offset; in handle_copied() local
1493 l2_entry = get_l2_entry(s, l2_slice, l2_index); in handle_copied()
1494 cluster_offset = l2_entry & L2E_OFFSET_MASK; in handle_copied()
[all …]
H A Dqcow2.h709 uint64_t l2_entry) in qcow2_get_cluster_type() argument
713 if (l2_entry & QCOW_OFLAG_COMPRESSED) { in qcow2_get_cluster_type()
715 } else if ((l2_entry & QCOW_OFLAG_ZERO) && !has_subclusters(s)) { in qcow2_get_cluster_type()
716 if (l2_entry & L2E_OFFSET_MASK) { in qcow2_get_cluster_type()
720 } else if (!(l2_entry & L2E_OFFSET_MASK)) { in qcow2_get_cluster_type()
725 if (has_data_file(bs) && (l2_entry & QCOW_OFLAG_COPIED)) { in qcow2_get_cluster_type()
744 uint64_t l2_entry, in qcow2_get_subcluster_type() argument
749 QCow2ClusterType type = qcow2_get_cluster_type(bs, l2_entry); in qcow2_get_subcluster_type()
870 void qcow2_free_any_cluster(BlockDriverState *bs, uint64_t l2_entry,
/dports/emulators/qemu5/qemu-5.2.0/block/
H A Dqcow2-cluster.c469 expected_offset = l2_entry & L2E_OFFSET_MASK; in count_contiguous_subclusters()
633 l2_entry = get_l2_entry(s, l2_slice, l2_index); in qcow2_get_host_offset()
1150 uint64_t l2_entry, l2_bitmap; in calculate_l2_meta() local
1197 l2_entry = get_l2_entry(s, l2_slice, l2_index); in calculate_l2_meta()
1242 l2_entry = get_l2_entry(s, l2_slice, l2_index); in calculate_l2_meta()
1318 switch (qcow2_get_cluster_type(bs, l2_entry)) { in cluster_needs_new_alloc()
1321 if (l2_entry & QCOW_OFLAG_COPIED) { in cluster_needs_new_alloc()
1463 uint64_t l2_entry, cluster_offset; in handle_copied() local
1493 l2_entry = get_l2_entry(s, l2_slice, l2_index); in handle_copied()
1494 cluster_offset = l2_entry & L2E_OFFSET_MASK; in handle_copied()
[all …]
H A Dqcow2.h709 uint64_t l2_entry) in qcow2_get_cluster_type() argument
713 if (l2_entry & QCOW_OFLAG_COMPRESSED) { in qcow2_get_cluster_type()
715 } else if ((l2_entry & QCOW_OFLAG_ZERO) && !has_subclusters(s)) { in qcow2_get_cluster_type()
716 if (l2_entry & L2E_OFFSET_MASK) { in qcow2_get_cluster_type()
720 } else if (!(l2_entry & L2E_OFFSET_MASK)) { in qcow2_get_cluster_type()
725 if (has_data_file(bs) && (l2_entry & QCOW_OFLAG_COPIED)) { in qcow2_get_cluster_type()
744 uint64_t l2_entry, in qcow2_get_subcluster_type() argument
749 QCow2ClusterType type = qcow2_get_cluster_type(bs, l2_entry); in qcow2_get_subcluster_type()
870 void qcow2_free_any_cluster(BlockDriverState *bs, uint64_t l2_entry,
/dports/graphics/libosmesa-gallium/mesa-21.3.6/src/intel/common/
H A Dintel_aux_map.c368 uint64_t *l2_entry = &l2_map[l2_index]; in get_aux_entry() local
371 if ((*l2_entry & INTEL_AUX_MAP_ENTRY_VALID_BIT) == 0) { in get_aux_entry()
379 *l2_entry = (l1_addr & 0xffffffffe000ULL) | 1; in get_aux_entry()
381 l1_addr = intel_canonical_address(*l2_entry & ~0x1fffULL); in get_aux_entry()
490 uint64_t *l2_entry = &l2_map[l2_index]; in remove_mapping() local
493 if ((*l2_entry & INTEL_AUX_MAP_ENTRY_VALID_BIT) == 0) { in remove_mapping()
496 uint64_t l1_addr = intel_canonical_address(*l2_entry & ~0x1fffULL); in remove_mapping()
/dports/lang/clover/mesa-21.3.6/src/intel/common/
H A Dintel_aux_map.c368 uint64_t *l2_entry = &l2_map[l2_index]; in get_aux_entry() local
371 if ((*l2_entry & INTEL_AUX_MAP_ENTRY_VALID_BIT) == 0) { in get_aux_entry()
379 *l2_entry = (l1_addr & 0xffffffffe000ULL) | 1; in get_aux_entry()
381 l1_addr = intel_canonical_address(*l2_entry & ~0x1fffULL); in get_aux_entry()
490 uint64_t *l2_entry = &l2_map[l2_index]; in remove_mapping() local
493 if ((*l2_entry & INTEL_AUX_MAP_ENTRY_VALID_BIT) == 0) { in remove_mapping()
496 uint64_t l1_addr = intel_canonical_address(*l2_entry & ~0x1fffULL); in remove_mapping()
/dports/graphics/libosmesa/mesa-21.3.6/src/intel/common/
H A Dintel_aux_map.c368 uint64_t *l2_entry = &l2_map[l2_index]; in get_aux_entry() local
371 if ((*l2_entry & INTEL_AUX_MAP_ENTRY_VALID_BIT) == 0) { in get_aux_entry()
379 *l2_entry = (l1_addr & 0xffffffffe000ULL) | 1; in get_aux_entry()
381 l1_addr = intel_canonical_address(*l2_entry & ~0x1fffULL); in get_aux_entry()
490 uint64_t *l2_entry = &l2_map[l2_index]; in remove_mapping() local
493 if ((*l2_entry & INTEL_AUX_MAP_ENTRY_VALID_BIT) == 0) { in remove_mapping()
496 uint64_t l1_addr = intel_canonical_address(*l2_entry & ~0x1fffULL); in remove_mapping()
/dports/graphics/mesa-libs/mesa-21.3.6/src/intel/common/
H A Dintel_aux_map.c368 uint64_t *l2_entry = &l2_map[l2_index]; in get_aux_entry() local
371 if ((*l2_entry & INTEL_AUX_MAP_ENTRY_VALID_BIT) == 0) { in get_aux_entry()
379 *l2_entry = (l1_addr & 0xffffffffe000ULL) | 1; in get_aux_entry()
381 l1_addr = intel_canonical_address(*l2_entry & ~0x1fffULL); in get_aux_entry()
490 uint64_t *l2_entry = &l2_map[l2_index]; in remove_mapping() local
493 if ((*l2_entry & INTEL_AUX_MAP_ENTRY_VALID_BIT) == 0) { in remove_mapping()
496 uint64_t l1_addr = intel_canonical_address(*l2_entry & ~0x1fffULL); in remove_mapping()
/dports/graphics/mesa-gallium-xa/mesa-21.3.6/src/intel/common/
H A Dintel_aux_map.c368 uint64_t *l2_entry = &l2_map[l2_index]; in get_aux_entry() local
371 if ((*l2_entry & INTEL_AUX_MAP_ENTRY_VALID_BIT) == 0) { in get_aux_entry()
379 *l2_entry = (l1_addr & 0xffffffffe000ULL) | 1; in get_aux_entry()
381 l1_addr = intel_canonical_address(*l2_entry & ~0x1fffULL); in get_aux_entry()
490 uint64_t *l2_entry = &l2_map[l2_index]; in remove_mapping() local
493 if ((*l2_entry & INTEL_AUX_MAP_ENTRY_VALID_BIT) == 0) { in remove_mapping()
496 uint64_t l1_addr = intel_canonical_address(*l2_entry & ~0x1fffULL); in remove_mapping()
/dports/graphics/mesa-gallium-vdpau/mesa-21.3.6/src/intel/common/
H A Dintel_aux_map.c368 uint64_t *l2_entry = &l2_map[l2_index]; in get_aux_entry() local
371 if ((*l2_entry & INTEL_AUX_MAP_ENTRY_VALID_BIT) == 0) { in get_aux_entry()
379 *l2_entry = (l1_addr & 0xffffffffe000ULL) | 1; in get_aux_entry()
381 l1_addr = intel_canonical_address(*l2_entry & ~0x1fffULL); in get_aux_entry()
490 uint64_t *l2_entry = &l2_map[l2_index]; in remove_mapping() local
493 if ((*l2_entry & INTEL_AUX_MAP_ENTRY_VALID_BIT) == 0) { in remove_mapping()
496 uint64_t l1_addr = intel_canonical_address(*l2_entry & ~0x1fffULL); in remove_mapping()
/dports/graphics/mesa-dri-gallium/mesa-21.3.6/src/intel/common/
H A Dintel_aux_map.c368 uint64_t *l2_entry = &l2_map[l2_index]; in get_aux_entry() local
371 if ((*l2_entry & INTEL_AUX_MAP_ENTRY_VALID_BIT) == 0) { in get_aux_entry()
379 *l2_entry = (l1_addr & 0xffffffffe000ULL) | 1; in get_aux_entry()
381 l1_addr = intel_canonical_address(*l2_entry & ~0x1fffULL); in get_aux_entry()
490 uint64_t *l2_entry = &l2_map[l2_index]; in remove_mapping() local
493 if ((*l2_entry & INTEL_AUX_MAP_ENTRY_VALID_BIT) == 0) { in remove_mapping()
496 uint64_t l1_addr = intel_canonical_address(*l2_entry & ~0x1fffULL); in remove_mapping()
/dports/graphics/mesa-gallium-va/mesa-21.3.6/src/intel/common/
H A Dintel_aux_map.c368 uint64_t *l2_entry = &l2_map[l2_index]; in get_aux_entry() local
371 if ((*l2_entry & INTEL_AUX_MAP_ENTRY_VALID_BIT) == 0) { in get_aux_entry()
379 *l2_entry = (l1_addr & 0xffffffffe000ULL) | 1; in get_aux_entry()
381 l1_addr = intel_canonical_address(*l2_entry & ~0x1fffULL); in get_aux_entry()
490 uint64_t *l2_entry = &l2_map[l2_index]; in remove_mapping() local
493 if ((*l2_entry & INTEL_AUX_MAP_ENTRY_VALID_BIT) == 0) { in remove_mapping()
496 uint64_t l1_addr = intel_canonical_address(*l2_entry & ~0x1fffULL); in remove_mapping()
/dports/graphics/mesa-devel/mesa-22.0-branchpoint-2059-ge8a63cf61ec/src/intel/common/
H A Dintel_aux_map.c368 uint64_t *l2_entry = &l2_map[l2_index]; in get_aux_entry() local
371 if ((*l2_entry & INTEL_AUX_MAP_ENTRY_VALID_BIT) == 0) { in get_aux_entry()
379 *l2_entry = (l1_addr & 0xffffffffe000ULL) | 1; in get_aux_entry()
381 l1_addr = intel_canonical_address(*l2_entry & ~0x1fffULL); in get_aux_entry()
490 uint64_t *l2_entry = &l2_map[l2_index]; in remove_mapping() local
493 if ((*l2_entry & INTEL_AUX_MAP_ENTRY_VALID_BIT) == 0) { in remove_mapping()
496 uint64_t l1_addr = intel_canonical_address(*l2_entry & ~0x1fffULL); in remove_mapping()
/dports/graphics/mesa-dri/mesa-21.3.6/src/intel/common/
H A Dintel_aux_map.c368 uint64_t *l2_entry = &l2_map[l2_index]; in get_aux_entry() local
371 if ((*l2_entry & INTEL_AUX_MAP_ENTRY_VALID_BIT) == 0) { in get_aux_entry()
379 *l2_entry = (l1_addr & 0xffffffffe000ULL) | 1; in get_aux_entry()
381 l1_addr = intel_canonical_address(*l2_entry & ~0x1fffULL); in get_aux_entry()
490 uint64_t *l2_entry = &l2_map[l2_index]; in remove_mapping() local
493 if ((*l2_entry & INTEL_AUX_MAP_ENTRY_VALID_BIT) == 0) { in remove_mapping()
496 uint64_t l1_addr = intel_canonical_address(*l2_entry & ~0x1fffULL); in remove_mapping()
/dports/graphics/mesa-dri-classic/mesa-20.2.3/src/intel/common/
H A Dgen_aux_map.c351 uint64_t *l2_entry = &l2_map[l2_index]; in get_aux_entry() local
354 if ((*l2_entry & GEN_AUX_MAP_ENTRY_VALID_BIT) == 0) { in get_aux_entry()
362 *l2_entry = (l1_addr & 0xffffffffe000ULL) | 1; in get_aux_entry()
364 l1_addr = gen_canonical_address(*l2_entry & ~0x1fffULL); in get_aux_entry()
482 uint64_t *l2_entry = &l2_map[l2_index]; in remove_mapping() local
485 if ((*l2_entry & GEN_AUX_MAP_ENTRY_VALID_BIT) == 0) { in remove_mapping()
488 uint64_t l1_addr = gen_canonical_address(*l2_entry & ~0x1fffULL); in remove_mapping()
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/block/
H A Dqcow2-refcount.c1151 switch (qcow2_get_cluster_type(l2_entry)) { in qcow2_free_any_clusters()
1155 nb_csectors = ((l2_entry >> s->csize_shift) & in qcow2_free_any_clusters()
1557 uint64_t *l2_table, l2_entry; in check_refcounts_l2() local
1574 l2_entry = be64_to_cpu(l2_table[i]); in check_refcounts_l2()
1576 switch (qcow2_get_cluster_type(l2_entry)) { in check_refcounts_l2()
1579 if (l2_entry & QCOW_OFLAG_COPIED) { in check_refcounts_l2()
1583 l2_entry &= ~QCOW_OFLAG_COPIED; in check_refcounts_l2()
1588 nb_csectors = ((l2_entry >> s->csize_shift) & in check_refcounts_l2()
1590 l2_entry &= s->cluster_offset_mask; in check_refcounts_l2()
1627 if (qcow2_get_cluster_type(l2_entry) == in check_refcounts_l2()
[all …]
/dports/emulators/qemu42/qemu-4.2.1/block/
H A Dqcow2.h552 uint64_t l2_entry) in qcow2_get_cluster_type() argument
554 if (l2_entry & QCOW_OFLAG_COMPRESSED) { in qcow2_get_cluster_type()
556 } else if (l2_entry & QCOW_OFLAG_ZERO) { in qcow2_get_cluster_type()
557 if (l2_entry & L2E_OFFSET_MASK) { in qcow2_get_cluster_type()
561 } else if (!(l2_entry & L2E_OFFSET_MASK)) { in qcow2_get_cluster_type()
566 if (has_data_file(bs) && (l2_entry & QCOW_OFLAG_COPIED)) { in qcow2_get_cluster_type()
645 void qcow2_free_any_clusters(BlockDriverState *bs, uint64_t l2_entry,
/dports/emulators/qemu-utils/qemu-4.2.1/block/
H A Dqcow2.h552 uint64_t l2_entry) in qcow2_get_cluster_type() argument
554 if (l2_entry & QCOW_OFLAG_COMPRESSED) { in qcow2_get_cluster_type()
556 } else if (l2_entry & QCOW_OFLAG_ZERO) { in qcow2_get_cluster_type()
557 if (l2_entry & L2E_OFFSET_MASK) { in qcow2_get_cluster_type()
561 } else if (!(l2_entry & L2E_OFFSET_MASK)) { in qcow2_get_cluster_type()
566 if (has_data_file(bs) && (l2_entry & QCOW_OFLAG_COPIED)) { in qcow2_get_cluster_type()
645 void qcow2_free_any_clusters(BlockDriverState *bs, uint64_t l2_entry,
/dports/emulators/qemu-guest-agent/qemu-5.0.1/block/
H A Dqcow2.h549 uint64_t l2_entry)
551 if (l2_entry & QCOW_OFLAG_COMPRESSED) {
553 } else if (l2_entry & QCOW_OFLAG_ZERO) {
554 if (l2_entry & L2E_OFFSET_MASK) {
558 } else if (!(l2_entry & L2E_OFFSET_MASK)) {
563 if (has_data_file(bs) && (l2_entry & QCOW_OFLAG_COPIED)) {
642 void qcow2_free_any_clusters(BlockDriverState *bs, uint64_t l2_entry,
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/block/
H A Dqcow2.h552 uint64_t l2_entry) in qcow2_get_cluster_type() argument
554 if (l2_entry & QCOW_OFLAG_COMPRESSED) { in qcow2_get_cluster_type()
556 } else if (l2_entry & QCOW_OFLAG_ZERO) { in qcow2_get_cluster_type()
557 if (l2_entry & L2E_OFFSET_MASK) { in qcow2_get_cluster_type()
561 } else if (!(l2_entry & L2E_OFFSET_MASK)) { in qcow2_get_cluster_type()
566 if (has_data_file(bs) && (l2_entry & QCOW_OFLAG_COPIED)) { in qcow2_get_cluster_type()
645 void qcow2_free_any_clusters(BlockDriverState *bs, uint64_t l2_entry,

1234