Searched refs:sc_index (Results 1 – 4 of 4) sorted by relevance
/openbmc/qemu/block/ |
H A D | qcow2-cluster.c | 446 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() 656 type = qcow2_get_subcluster_type(bs, l2_entry, l2_bitmap, sc_index); 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() 1165 int sc_index, l2_index = offset_to_l2_slice_index(s, guest_offset); in calculate_l2_meta() local 1215 sc_index = offset_to_sc_index(s, guest_offset); in calculate_l2_meta() 1216 type = qcow2_get_subcluster_type(bs, l2_entry, l2_bitmap, sc_index); in calculate_l2_meta() [all …]
|
H A D | qcow2.h | 750 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 D | macsec_api.h | 272 u16 sc_index);
|
H A D | macsec_api.c | 1826 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()
|