Home
last modified time | relevance | path

Searched refs:new_buff (Results 1 – 9 of 9) sorted by relevance

/linux-6.6.21/net/batman-adv/
Dtvlv.c281 unsigned char *new_buff; in batadv_tvlv_realloc_packet_buff() local
283 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()
/linux-6.6.21/drivers/net/ethernet/intel/iavf/
Diavf_txrx.c1165 struct iavf_rx_buffer *new_buff; in iavf_reuse_rx_page() local
1168 new_buff = &rx_ring->rx_bi[nta]; in iavf_reuse_rx_page()
1175 new_buff->dma = old_buff->dma; in iavf_reuse_rx_page()
1176 new_buff->page = old_buff->page; in iavf_reuse_rx_page()
1177 new_buff->page_offset = old_buff->page_offset; in iavf_reuse_rx_page()
1178 new_buff->pagecnt_bias = old_buff->pagecnt_bias; in iavf_reuse_rx_page()
/linux-6.6.21/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c186 struct fm10k_rx_buffer *new_buff; in fm10k_reuse_rx_page() local
189 new_buff = &rx_ring->rx_buffer[nta]; in fm10k_reuse_rx_page()
196 *new_buff = *old_buff; in fm10k_reuse_rx_page()
/linux-6.6.21/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c1371 struct i40e_rx_buffer *new_buff; in i40e_reuse_rx_page() local
1374 new_buff = i40e_rx_bi(rx_ring, nta); in i40e_reuse_rx_page()
1381 new_buff->dma = old_buff->dma; in i40e_reuse_rx_page()
1382 new_buff->page = old_buff->page; in i40e_reuse_rx_page()
1383 new_buff->page_offset = old_buff->page_offset; in i40e_reuse_rx_page()
1384 new_buff->pagecnt_bias = old_buff->pagecnt_bias; in i40e_reuse_rx_page()
/linux-6.6.21/drivers/net/ethernet/freescale/dpaa/
Ddpaa_eth.c2199 void *new_buff, *aligned_data; in dpaa_a050385_wa_xdpf() local
2255 new_buff = page_address(p); in dpaa_a050385_wa_xdpf()
2256 memcpy(new_buff + headroom, xdpf->data, xdpf->len); in dpaa_a050385_wa_xdpf()
2261 new_xdpf = new_buff; in dpaa_a050385_wa_xdpf()
2262 new_xdpf->data = new_buff + headroom; in dpaa_a050385_wa_xdpf()
/linux-6.6.21/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c768 struct ixgbevf_rx_buffer *new_buff; in ixgbevf_reuse_rx_page() local
771 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()
/linux-6.6.21/drivers/net/ethernet/intel/igc/
Digc_main.c2027 struct igc_rx_buffer *new_buff; in igc_reuse_rx_page() local
2029 new_buff = &rx_ring->rx_buffer_info[nta]; in igc_reuse_rx_page()
2039 new_buff->dma = old_buff->dma; in igc_reuse_rx_page()
2040 new_buff->page = old_buff->page; in igc_reuse_rx_page()
2041 new_buff->page_offset = old_buff->page_offset; in igc_reuse_rx_page()
2042 new_buff->pagecnt_bias = old_buff->pagecnt_bias; in igc_reuse_rx_page()
/linux-6.6.21/drivers/net/ethernet/intel/igb/
Digb_main.c8432 struct igb_rx_buffer *new_buff; in igb_reuse_rx_page() local
8435 new_buff = &rx_ring->rx_buffer_info[nta]; in igb_reuse_rx_page()
8445 new_buff->dma = old_buff->dma; in igb_reuse_rx_page()
8446 new_buff->page = old_buff->page; in igb_reuse_rx_page()
8447 new_buff->page_offset = old_buff->page_offset; in igb_reuse_rx_page()
8448 new_buff->pagecnt_bias = old_buff->pagecnt_bias; in igb_reuse_rx_page()
/linux-6.6.21/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c1920 struct ixgbe_rx_buffer *new_buff; in ixgbe_reuse_rx_page() local
1923 new_buff = &rx_ring->rx_buffer_info[nta]; in ixgbe_reuse_rx_page()
1933 new_buff->dma = old_buff->dma; in ixgbe_reuse_rx_page()
1934 new_buff->page = old_buff->page; in ixgbe_reuse_rx_page()
1935 new_buff->page_offset = old_buff->page_offset; in ixgbe_reuse_rx_page()
1936 new_buff->pagecnt_bias = old_buff->pagecnt_bias; in ixgbe_reuse_rx_page()