Home
last modified time | relevance | path

Searched refs:sc_index (Results 1 – 14 of 14) sorted by relevance

/dports/emulators/qemu60/qemu-6.0.0/block/
H A Dqcow2-cluster.c454 unsigned first_sc = (i == 0) ? sc_index : 0; in count_contiguous_subclusters()
577 unsigned int l2_index, sc_index; in qcow2_get_host_offset() local
632 sc_index = offset_to_sc_index(s, offset); in qcow2_get_host_offset()
642 type = qcow2_get_subcluster_type(bs, l2_entry, l2_bitmap, sc_index); in qcow2_get_host_offset()
698 sc = count_contiguous_subclusters(bs, nb_clusters, sc_index, in qcow2_get_host_offset()
709 bytes_available = ((int64_t)sc + sc_index) << s->subcluster_bits; in qcow2_get_host_offset()
1199 sc_index = offset_to_sc_index(s, guest_offset); in calculate_l2_meta()
1221 cow_start_from = sc_index << s->subcluster_bits; in calculate_l2_meta()
1233 cow_start_from = sc_index << s->subcluster_bits; in calculate_l2_meta()
1244 sc_index = offset_to_sc_index(s, guest_offset + bytes - 1); in calculate_l2_meta()
[all …]
H A Dqcow2.h746 unsigned sc_index) in qcow2_get_subcluster_type() argument
750 assert(sc_index < s->subclusters_per_cluster); in qcow2_get_subcluster_type()
759 } else if (l2_bitmap & QCOW_OFLAG_SUB_ZERO(sc_index)) { in qcow2_get_subcluster_type()
761 } else if (l2_bitmap & QCOW_OFLAG_SUB_ALLOC(sc_index)) { in qcow2_get_subcluster_type()
769 } else if (l2_bitmap & QCOW_OFLAG_SUB_ZERO(sc_index)) { in qcow2_get_subcluster_type()
/dports/emulators/qemu5/qemu-5.2.0/block/
H A Dqcow2-cluster.c454 unsigned first_sc = (i == 0) ? sc_index : 0; in count_contiguous_subclusters()
577 unsigned int l2_index, sc_index; in qcow2_get_host_offset() local
632 sc_index = offset_to_sc_index(s, offset); in qcow2_get_host_offset()
642 type = qcow2_get_subcluster_type(bs, l2_entry, l2_bitmap, sc_index); in qcow2_get_host_offset()
698 sc = count_contiguous_subclusters(bs, nb_clusters, sc_index, in qcow2_get_host_offset()
709 bytes_available = ((int64_t)sc + sc_index) << s->subcluster_bits; in qcow2_get_host_offset()
1199 sc_index = offset_to_sc_index(s, guest_offset); in calculate_l2_meta()
1221 cow_start_from = sc_index << s->subcluster_bits; in calculate_l2_meta()
1233 cow_start_from = sc_index << s->subcluster_bits; in calculate_l2_meta()
1244 sc_index = offset_to_sc_index(s, guest_offset + bytes - 1); in calculate_l2_meta()
[all …]
H A Dqcow2.h746 unsigned sc_index) in qcow2_get_subcluster_type() argument
750 assert(sc_index < s->subclusters_per_cluster); in qcow2_get_subcluster_type()
759 } else if (l2_bitmap & QCOW_OFLAG_SUB_ZERO(sc_index)) { in qcow2_get_subcluster_type()
761 } else if (l2_bitmap & QCOW_OFLAG_SUB_ALLOC(sc_index)) { in qcow2_get_subcluster_type()
769 } else if (l2_bitmap & QCOW_OFLAG_SUB_ZERO(sc_index)) { in qcow2_get_subcluster_type()
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/block/
H A Dqcow2-cluster.c454 unsigned first_sc = (i == 0) ? sc_index : 0; in count_contiguous_subclusters()
576 unsigned int l2_index, sc_index; in qcow2_get_host_offset() local
631 sc_index = offset_to_sc_index(s, offset); in qcow2_get_host_offset()
641 type = qcow2_get_subcluster_type(bs, l2_entry, l2_bitmap, sc_index); in qcow2_get_host_offset()
697 sc = count_contiguous_subclusters(bs, nb_clusters, sc_index, in qcow2_get_host_offset()
708 bytes_available = ((int64_t)sc + sc_index) << s->subcluster_bits; in qcow2_get_host_offset()
1198 sc_index = offset_to_sc_index(s, guest_offset); in calculate_l2_meta()
1220 cow_start_from = sc_index << s->subcluster_bits; in calculate_l2_meta()
1232 cow_start_from = sc_index << s->subcluster_bits; in calculate_l2_meta()
1243 sc_index = offset_to_sc_index(s, guest_offset + bytes - 1); in calculate_l2_meta()
[all …]
H A Dqcow2.h747 unsigned sc_index) in qcow2_get_subcluster_type() argument
751 assert(sc_index < s->subclusters_per_cluster); in qcow2_get_subcluster_type()
760 } else if (l2_bitmap & QCOW_OFLAG_SUB_ZERO(sc_index)) { in qcow2_get_subcluster_type()
762 } else if (l2_bitmap & QCOW_OFLAG_SUB_ALLOC(sc_index)) { in qcow2_get_subcluster_type()
770 } else if (l2_bitmap & QCOW_OFLAG_SUB_ZERO(sc_index)) { in qcow2_get_subcluster_type()
/dports/emulators/qemu/qemu-6.2.0/block/
H A Dqcow2-cluster.c454 unsigned first_sc = (i == 0) ? sc_index : 0; in count_contiguous_subclusters()
589 unsigned int l2_index, sc_index; in qcow2_get_host_offset() local
644 sc_index = offset_to_sc_index(s, offset); in qcow2_get_host_offset()
654 type = qcow2_get_subcluster_type(bs, l2_entry, l2_bitmap, sc_index); in qcow2_get_host_offset()
710 sc = count_contiguous_subclusters(bs, nb_clusters, sc_index, in qcow2_get_host_offset()
721 bytes_available = ((int64_t)sc + sc_index) << s->subcluster_bits; in qcow2_get_host_offset()
1211 sc_index = offset_to_sc_index(s, guest_offset); in calculate_l2_meta()
1233 cow_start_from = sc_index << s->subcluster_bits; in calculate_l2_meta()
1245 cow_start_from = sc_index << s->subcluster_bits; in calculate_l2_meta()
1256 sc_index = offset_to_sc_index(s, guest_offset + bytes - 1); in calculate_l2_meta()
[all …]
H A Dqcow2.h747 unsigned sc_index) in qcow2_get_subcluster_type() argument
751 assert(sc_index < s->subclusters_per_cluster); in qcow2_get_subcluster_type()
760 } else if (l2_bitmap & QCOW_OFLAG_SUB_ZERO(sc_index)) { in qcow2_get_subcluster_type()
762 } else if (l2_bitmap & QCOW_OFLAG_SUB_ALLOC(sc_index)) { in qcow2_get_subcluster_type()
770 } else if (l2_bitmap & QCOW_OFLAG_SUB_ZERO(sc_index)) { in qcow2_get_subcluster_type()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/aquantia/atlantic/macsec/
H A Dmacsec_api.h272 u16 sc_index);
H A Dmacsec_api.c1822 u16 sc_index) in get_egress_sc_counters() argument
1827 if (sc_index >= NUMROWS_EGRESSSCRECORD) in get_egress_sc_counters()
1830 ret = get_raw_egress_record(hw, packed_record, 4, 3, sc_index * 8 + 4); in get_egress_sc_counters()
1838 ret = get_raw_egress_record(hw, packed_record, 4, 3, sc_index * 8 + 5); in get_egress_sc_counters()
1846 ret = get_raw_egress_record(hw, packed_record, 4, 3, sc_index * 8 + 6); in get_egress_sc_counters()
1854 ret = get_raw_egress_record(hw, packed_record, 4, 3, sc_index * 8 + 7); in get_egress_sc_counters()
1867 u16 sc_index) in aq_mss_get_egress_sc_counters() argument
1871 return AQ_API_CALL_SAFE(get_egress_sc_counters, hw, counters, sc_index); in aq_mss_get_egress_sc_counters()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/aquantia/atlantic/macsec/
H A Dmacsec_api.h272 u16 sc_index);
H A Dmacsec_api.c1822 u16 sc_index) in get_egress_sc_counters() argument
1827 if (sc_index >= NUMROWS_EGRESSSCRECORD) in get_egress_sc_counters()
1830 ret = get_raw_egress_record(hw, packed_record, 4, 3, sc_index * 8 + 4); in get_egress_sc_counters()
1838 ret = get_raw_egress_record(hw, packed_record, 4, 3, sc_index * 8 + 5); in get_egress_sc_counters()
1846 ret = get_raw_egress_record(hw, packed_record, 4, 3, sc_index * 8 + 6); in get_egress_sc_counters()
1854 ret = get_raw_egress_record(hw, packed_record, 4, 3, sc_index * 8 + 7); in get_egress_sc_counters()
1867 u16 sc_index) in aq_mss_get_egress_sc_counters() argument
1871 return AQ_API_CALL_SAFE(get_egress_sc_counters, hw, counters, sc_index); in aq_mss_get_egress_sc_counters()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/aquantia/atlantic/macsec/
H A Dmacsec_api.h272 u16 sc_index);
H A Dmacsec_api.c1822 u16 sc_index) in get_egress_sc_counters() argument
1827 if (sc_index >= NUMROWS_EGRESSSCRECORD) in get_egress_sc_counters()
1830 ret = get_raw_egress_record(hw, packed_record, 4, 3, sc_index * 8 + 4); in get_egress_sc_counters()
1838 ret = get_raw_egress_record(hw, packed_record, 4, 3, sc_index * 8 + 5); in get_egress_sc_counters()
1846 ret = get_raw_egress_record(hw, packed_record, 4, 3, sc_index * 8 + 6); in get_egress_sc_counters()
1854 ret = get_raw_egress_record(hw, packed_record, 4, 3, sc_index * 8 + 7); in get_egress_sc_counters()
1867 u16 sc_index) in aq_mss_get_egress_sc_counters() argument
1871 return AQ_API_CALL_SAFE(get_egress_sc_counters, hw, counters, sc_index); in aq_mss_get_egress_sc_counters()