Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/drivers/net/ethernet/intel/iavf/
Diavf_txrx.c1166 struct iavf_rx_buffer *new_buff; in iavf_reuse_rx_page() local
1169 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()
/linux-6.1.9/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c1368 struct i40e_rx_buffer *new_buff; in i40e_reuse_rx_page() local
1371 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()
/linux-6.1.9/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.1.9/drivers/net/ethernet/freescale/dpaa/
Ddpaa_eth.c2188 void *new_buff, *aligned_data; in dpaa_a050385_wa_xdpf() local
2244 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()
/linux-6.1.9/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.1.9/drivers/net/ethernet/intel/igc/
Digc_main.c1930 struct igc_rx_buffer *new_buff; in igc_reuse_rx_page() local
1932 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()
/linux-6.1.9/drivers/net/ethernet/intel/igb/
Digb_main.c8345 struct igb_rx_buffer *new_buff; in igb_reuse_rx_page() local
8348 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()
/linux-6.1.9/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c1928 struct ixgbe_rx_buffer *new_buff; in ixgbe_reuse_rx_page() local
1931 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()