Home
last modified time | relevance | path

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

/linux/drivers/xen/
H A Devtchn.c204 unsigned int c, p, bytes1 = 0, bytes2 = 0; in evtchn_read() local
243 bytes2 = evtchn_ring_offset(u, p) * sizeof(evtchn_port_t); in evtchn_read()
246 bytes2 = 0; in evtchn_read()
252 bytes2 = 0; in evtchn_read()
253 } else if ((bytes1 + bytes2) > count) { in evtchn_read()
254 bytes2 = count - bytes1; in evtchn_read()
260 ((bytes2 != 0) && in evtchn_read()
261 copy_to_user(&buf[bytes1], &u->ring[0], bytes2))) in evtchn_read()
264 WRITE_ONCE(u->ring_cons, c + (bytes1 + bytes2) / sizeof(evtchn_port_t)); in evtchn_read()
265 rc = bytes1 + bytes2; in evtchn_read()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dmeter.c586 u64 bytes2, packets2, lastuse2; in mlx5e_tc_meter_get_stats() local
589 mlx5_fc_query_cached(meter->drop_counter, &bytes2, &packets2, &lastuse2); in mlx5e_tc_meter_get_stats()
591 *bytes = bytes1 + bytes2; in mlx5e_tc_meter_get_stats()
/linux/drivers/devfreq/event/
H A Drockchip-dfi.c346 DFI_PMU_EVENT_ATTR(read-bytes2, ddr_pmu_read_bytes2, "event="__stringify(PERF_EVENT_READ_BYTES2));
347 DFI_PMU_EVENT_ATTR(write-bytes2, ddr_pmu_write_bytes2, "event="__stringify(PERF_EVENT_WRITE_BYTES2)…
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tc.c4980 u64 bytes2; in mlx5e_stats_flower() local
4992 mlx5_fc_query_cached(counter, &bytes2, &packets2, in mlx5e_stats_flower()
4995 bytes += bytes2; in mlx5e_stats_flower()