Searched refs:ring_bytes (Results 1 – 3 of 3) sorted by relevance
165 const size_t ring_bytes = HV_RING_SIZE * PAGE_SIZE; in hv_uio_new_channel() local169 ret = vmbus_open(new_sc, ring_bytes, ring_bytes, NULL, 0, in hv_uio_new_channel()
540 u32 copy_bytes, ring_bytes; in netup_unidvb_ring_copy() local552 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()
1611 uint64_t ring_bytes = ring_size * sizeof(struct kvm_dirty_gfn); in kvm_dirty_ring_init() local1638 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()