Searched refs:bytes1 (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/xen/ |
D | evtchn.c | 204 unsigned int c, p, bytes1 = 0, bytes2 = 0; in evtchn_read() local 241 bytes1 = (u->ring_size - evtchn_ring_offset(u, c)) * in evtchn_read() 245 bytes1 = (p - c) * sizeof(evtchn_port_t); in evtchn_read() 250 if (bytes1 > count) { in evtchn_read() 251 bytes1 = count; in evtchn_read() 253 } else if ((bytes1 + bytes2) > count) { in evtchn_read() 254 bytes2 = count - bytes1; in evtchn_read() 259 if (copy_to_user(buf, evtchn_ring_entry(u, c), bytes1) || 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() [all …]
|
/linux-6.12.1/sound/usb/ |
D | pcm.c | 1324 unsigned int bytes1 = subs->buffer_bytes - oldptr; in retire_capture_urb() local 1326 memcpy(runtime->dma_area + oldptr, cp, bytes1); in retire_capture_urb() 1327 memcpy(runtime->dma_area, cp + bytes1, bytes - bytes1); in retire_capture_urb() 1430 unsigned int bytes1 = subs->buffer_bytes - subs->hwptr_done; in copy_to_urb() local 1433 runtime->dma_area + subs->hwptr_done, bytes1); in copy_to_urb() 1434 memcpy(urb->transfer_buffer + offset + bytes1, in copy_to_urb() 1435 runtime->dma_area, bytes - bytes1); in copy_to_urb()
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
D | meter.c | 585 u64 bytes1, packets1, lastuse1; in mlx5e_tc_meter_get_stats() local 588 mlx5_fc_query_cached(meter->act_counter, &bytes1, &packets1, &lastuse1); in mlx5e_tc_meter_get_stats() 591 *bytes = bytes1 + bytes2; in mlx5e_tc_meter_get_stats()
|
/linux-6.12.1/drivers/devfreq/event/ |
D | rockchip-dfi.c | 343 DFI_PMU_EVENT_ATTR(read-bytes1, ddr_pmu_read_bytes1, "event="__stringify(PERF_EVENT_READ_BYTES1)); 344 DFI_PMU_EVENT_ATTR(write-bytes1, ddr_pmu_write_bytes1, "event="__stringify(PERF_EVENT_WRITE_BYTES1)…
|