Home
last modified time | relevance | path

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

/openbmc/qemu/block/
H A Dqcow2-cluster.c446 unsigned sc_index, uint64_t *l2_slice, in count_contiguous_subclusters() argument
458 unsigned first_sc = (i == 0) ? sc_index : 0; in count_contiguous_subclusters()
591 unsigned int l2_index, sc_index; in qcow2_get_host_offset() local
646 sc_index = offset_to_sc_index(s, offset); in qcow2_get_host_offset()
712 sc = count_contiguous_subclusters(bs, nb_clusters, sc_index, in qcow2_get_host_offset()
723 bytes_available = ((int64_t)sc + sc_index) << s->subcluster_bits; in qcow2_get_host_offset()
1215 sc_index = offset_to_sc_index(s, guest_offset); in calculate_l2_meta()
1237 cow_start_from = sc_index << s->subcluster_bits; in calculate_l2_meta()
1249 cow_start_from = sc_index << s->subcluster_bits; in calculate_l2_meta()
1260 sc_index = offset_to_sc_index(s, guest_offset + bytes - 1); in calculate_l2_meta()
[all …]
H A Dqcow2.h750 unsigned sc_index) in qcow2_get_subcluster_type() argument
754 assert(sc_index < s->subclusters_per_cluster); in qcow2_get_subcluster_type()
763 } else if (l2_bitmap & QCOW_OFLAG_SUB_ZERO(sc_index)) { in qcow2_get_subcluster_type()
765 } else if (l2_bitmap & QCOW_OFLAG_SUB_ALLOC(sc_index)) { in qcow2_get_subcluster_type()
773 } else if (l2_bitmap & QCOW_OFLAG_SUB_ZERO(sc_index)) { in qcow2_get_subcluster_type()
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/macsec/
H A Dmacsec_api.h272 u16 sc_index);
H A Dmacsec_api.c1826 u16 sc_index) in get_egress_sc_counters() argument
1831 if (sc_index >= NUMROWS_EGRESSSCRECORD) in get_egress_sc_counters()
1834 ret = get_raw_egress_record(hw, packed_record, 4, 3, sc_index * 8 + 4); in get_egress_sc_counters()
1842 ret = get_raw_egress_record(hw, packed_record, 4, 3, sc_index * 8 + 5); in get_egress_sc_counters()
1850 ret = get_raw_egress_record(hw, packed_record, 4, 3, sc_index * 8 + 6); in get_egress_sc_counters()
1858 ret = get_raw_egress_record(hw, packed_record, 4, 3, sc_index * 8 + 7); in get_egress_sc_counters()
1871 u16 sc_index) in aq_mss_get_egress_sc_counters() argument
1875 return AQ_API_CALL_SAFE(get_egress_sc_counters, hw, counters, sc_index); in aq_mss_get_egress_sc_counters()