Home
last modified time | relevance | path

Searched refs:ring_bytes (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/uio/
H A Duio_hv_generic.c165 const size_t ring_bytes = HV_RING_SIZE * PAGE_SIZE; in hv_uio_new_channel() local
169 ret = vmbus_open(new_sc, ring_bytes, ring_bytes, NULL, 0, in hv_uio_new_channel()
/openbmc/linux/drivers/media/pci/netup_unidvb/
H A Dnetup_unidvb_core.c540 u32 copy_bytes, ring_bytes; in netup_unidvb_ring_copy() local
552 ring_bytes = dma->ring_buffer_size - dma->data_offset; in netup_unidvb_ring_copy()
553 copy_bytes = (ring_bytes > buff_bytes) ? in netup_unidvb_ring_copy()
554 buff_bytes : ring_bytes; in netup_unidvb_ring_copy()
565 ring_bytes = dma->data_size; in netup_unidvb_ring_copy()
566 copy_bytes = (ring_bytes > buff_bytes) ? in netup_unidvb_ring_copy()
567 buff_bytes : ring_bytes; in netup_unidvb_ring_copy()
/openbmc/qemu/accel/kvm/
H A Dkvm-all.c1611 uint64_t ring_bytes = ring_size * sizeof(struct kvm_dirty_gfn); in kvm_dirty_ring_init() local
1638 if (ring_bytes > ret) { in kvm_dirty_ring_init()
1645 ret = kvm_vm_enable_cap(s, capability, 0, ring_bytes); in kvm_dirty_ring_init()
1666 s->kvm_dirty_ring_bytes = ring_bytes; in kvm_dirty_ring_init()