Searched refs:new_buff (Results 1 – 9 of 9) sorted by relevance
281 unsigned char *new_buff; in batadv_tvlv_realloc_packet_buff() local283 new_buff = kmalloc(min_packet_len + additional_packet_len, GFP_ATOMIC); in batadv_tvlv_realloc_packet_buff()286 if (!new_buff) in batadv_tvlv_realloc_packet_buff()289 memcpy(new_buff, *packet_buff, min_packet_len); in batadv_tvlv_realloc_packet_buff()291 *packet_buff = new_buff; in batadv_tvlv_realloc_packet_buff()
1166 struct iavf_rx_buffer *new_buff; in iavf_reuse_rx_page() local1169 new_buff = &rx_ring->rx_bi[nta]; in iavf_reuse_rx_page()1176 new_buff->dma = old_buff->dma; in iavf_reuse_rx_page()1177 new_buff->page = old_buff->page; in iavf_reuse_rx_page()1178 new_buff->page_offset = old_buff->page_offset; in iavf_reuse_rx_page()1179 new_buff->pagecnt_bias = old_buff->pagecnt_bias; in iavf_reuse_rx_page()
1368 struct i40e_rx_buffer *new_buff; in i40e_reuse_rx_page() local1371 new_buff = i40e_rx_bi(rx_ring, nta); in i40e_reuse_rx_page()1378 new_buff->dma = old_buff->dma; in i40e_reuse_rx_page()1379 new_buff->page = old_buff->page; in i40e_reuse_rx_page()1380 new_buff->page_offset = old_buff->page_offset; in i40e_reuse_rx_page()1381 new_buff->pagecnt_bias = old_buff->pagecnt_bias; in i40e_reuse_rx_page()
186 struct fm10k_rx_buffer *new_buff; in fm10k_reuse_rx_page() local189 new_buff = &rx_ring->rx_buffer[nta]; in fm10k_reuse_rx_page()196 *new_buff = *old_buff; in fm10k_reuse_rx_page()
2188 void *new_buff, *aligned_data; in dpaa_a050385_wa_xdpf() local2244 new_buff = page_address(p); in dpaa_a050385_wa_xdpf()2245 memcpy(new_buff + headroom, xdpf->data, xdpf->len); in dpaa_a050385_wa_xdpf()2250 new_xdpf = new_buff; in dpaa_a050385_wa_xdpf()2251 new_xdpf->data = new_buff + headroom; in dpaa_a050385_wa_xdpf()
768 struct ixgbevf_rx_buffer *new_buff; in ixgbevf_reuse_rx_page() local771 new_buff = &rx_ring->rx_buffer_info[nta]; in ixgbevf_reuse_rx_page()778 new_buff->page = old_buff->page; in ixgbevf_reuse_rx_page()779 new_buff->dma = old_buff->dma; in ixgbevf_reuse_rx_page()780 new_buff->page_offset = old_buff->page_offset; in ixgbevf_reuse_rx_page()781 new_buff->pagecnt_bias = old_buff->pagecnt_bias; in ixgbevf_reuse_rx_page()
1930 struct igc_rx_buffer *new_buff; in igc_reuse_rx_page() local1932 new_buff = &rx_ring->rx_buffer_info[nta]; in igc_reuse_rx_page()1942 new_buff->dma = old_buff->dma; in igc_reuse_rx_page()1943 new_buff->page = old_buff->page; in igc_reuse_rx_page()1944 new_buff->page_offset = old_buff->page_offset; in igc_reuse_rx_page()1945 new_buff->pagecnt_bias = old_buff->pagecnt_bias; in igc_reuse_rx_page()
8345 struct igb_rx_buffer *new_buff; in igb_reuse_rx_page() local8348 new_buff = &rx_ring->rx_buffer_info[nta]; in igb_reuse_rx_page()8358 new_buff->dma = old_buff->dma; in igb_reuse_rx_page()8359 new_buff->page = old_buff->page; in igb_reuse_rx_page()8360 new_buff->page_offset = old_buff->page_offset; in igb_reuse_rx_page()8361 new_buff->pagecnt_bias = old_buff->pagecnt_bias; in igb_reuse_rx_page()
1928 struct ixgbe_rx_buffer *new_buff; in ixgbe_reuse_rx_page() local1931 new_buff = &rx_ring->rx_buffer_info[nta]; in ixgbe_reuse_rx_page()1941 new_buff->dma = old_buff->dma; in ixgbe_reuse_rx_page()1942 new_buff->page = old_buff->page; in ixgbe_reuse_rx_page()1943 new_buff->page_offset = old_buff->page_offset; in ixgbe_reuse_rx_page()1944 new_buff->pagecnt_bias = old_buff->pagecnt_bias; in ixgbe_reuse_rx_page()