Home
last modified time | relevance | path

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

/linux/drivers/xen/
H A Devtchn.c321 evtchn_port_t *new_ring, *old_ring; in evtchn_resize_ring() local
335 new_ring = kvmalloc_array(new_size, sizeof(*new_ring), GFP_KERNEL); in evtchn_resize_ring()
336 if (!new_ring) in evtchn_resize_ring()
359 memcpy(new_ring, old_ring, u->ring_size * sizeof(*u->ring)); in evtchn_resize_ring()
360 memcpy(new_ring + u->ring_size, old_ring, in evtchn_resize_ring()
363 u->ring = new_ring; in evtchn_resize_ring()
/linux/drivers/usb/host/
H A Dxhci-mem.c417 struct xhci_ring new_ring; in xhci_ring_expansion() local
423 new_ring.num_segs = num_new_segs; in xhci_ring_expansion()
424 new_ring.bounce_buf_len = ring->bounce_buf_len; in xhci_ring_expansion()
425 new_ring.type = ring->type; in xhci_ring_expansion()
426 ret = xhci_alloc_segments_for_ring(xhci, &new_ring, flags); in xhci_ring_expansion()
430 xhci_initialize_ring_segments(xhci, &new_ring); in xhci_ring_expansion()
434 new_ring.first_seg, flags); in xhci_ring_expansion()
439 xhci_link_rings(xhci, &new_ring, ring); in xhci_ring_expansion()
448 xhci_ring_segments_free(xhci, &new_ring); in xhci_ring_expansion()
1488 virt_dev->eps[ep_index].new_ring = in xhci_endpoint_init()
[all …]
H A Dxhci.c3158 if (!virt_dev->eps[i].new_ring) in xhci_check_bandwidth()
3167 virt_dev->eps[i].ring = virt_dev->eps[i].new_ring; in xhci_check_bandwidth()
3168 virt_dev->eps[i].new_ring = NULL; in xhci_check_bandwidth()
3194 if (virt_dev->eps[i].new_ring) { in xhci_reset_bandwidth()
3196 xhci_ring_free(xhci, virt_dev->eps[i].new_ring); in xhci_reset_bandwidth()
3197 virt_dev->eps[i].new_ring = NULL; in xhci_reset_bandwidth()
H A Dxhci.h661 struct xhci_ring *new_ring; member