Searched refs:bytes2 (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/xen/ |
H A D | evtchn.c | 204 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()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
H A D | meter.c | 586 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()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_tc.c | 4861 u64 bytes2; in mlx5e_stats_flower() local 4873 mlx5_fc_query_cached(counter, &bytes2, &packets2, in mlx5e_stats_flower() 4876 bytes += bytes2; in mlx5e_stats_flower()
|