Lines Matching refs:temp_ring
274 struct igbvf_ring *temp_ring; in igbvf_set_ringparam() local
304 temp_ring = vmalloc(sizeof(struct igbvf_ring)); in igbvf_set_ringparam()
305 if (!temp_ring) { in igbvf_set_ringparam()
318 memcpy(temp_ring, adapter->tx_ring, sizeof(struct igbvf_ring)); in igbvf_set_ringparam()
320 temp_ring->count = new_tx_count; in igbvf_set_ringparam()
321 err = igbvf_setup_tx_resources(adapter, temp_ring); in igbvf_set_ringparam()
327 memcpy(adapter->tx_ring, temp_ring, sizeof(struct igbvf_ring)); in igbvf_set_ringparam()
331 memcpy(temp_ring, adapter->rx_ring, sizeof(struct igbvf_ring)); in igbvf_set_ringparam()
333 temp_ring->count = new_rx_count; in igbvf_set_ringparam()
334 err = igbvf_setup_rx_resources(adapter, temp_ring); in igbvf_set_ringparam()
340 memcpy(adapter->rx_ring, temp_ring,sizeof(struct igbvf_ring)); in igbvf_set_ringparam()
344 vfree(temp_ring); in igbvf_set_ringparam()