Home
last modified time | relevance | path

Searched refs:cb_page (Results 1 – 10 of 10) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/sfc/siena/
Dtx_common.c44 tx_queue->cb_page = kcalloc(efx_tx_cb_page_count(tx_queue), in efx_siena_probe_tx_queue()
45 sizeof(tx_queue->cb_page[0]), GFP_KERNEL); in efx_siena_probe_tx_queue()
46 if (!tx_queue->cb_page) { in efx_siena_probe_tx_queue()
60 kfree(tx_queue->cb_page); in efx_siena_probe_tx_queue()
61 tx_queue->cb_page = NULL; in efx_siena_probe_tx_queue()
109 if (tx_queue->cb_page) { in efx_siena_remove_tx_queue()
112 &tx_queue->cb_page[i]); in efx_siena_remove_tx_queue()
113 kfree(tx_queue->cb_page); in efx_siena_remove_tx_queue()
114 tx_queue->cb_page = NULL; in efx_siena_remove_tx_queue()
Dtx.c31 &tx_queue->cb_page[index >> (PAGE_SHIFT - EFX_TX_CB_ORDER)]; in efx_tx_get_copy_buffer()
Dnet_driver.h268 struct efx_buffer *cb_page; member
Defx_channels.c627 tx_queue->cb_page = NULL; in efx_copy_channel()
/linux-6.12.1/drivers/net/ethernet/sfc/
Dtx_common.c44 tx_queue->cb_page = kcalloc(efx_tx_cb_page_count(tx_queue), in efx_probe_tx_queue()
45 sizeof(tx_queue->cb_page[0]), GFP_KERNEL); in efx_probe_tx_queue()
46 if (!tx_queue->cb_page) { in efx_probe_tx_queue()
60 kfree(tx_queue->cb_page); in efx_probe_tx_queue()
61 tx_queue->cb_page = NULL; in efx_probe_tx_queue()
136 if (tx_queue->cb_page) { in efx_remove_tx_queue()
139 &tx_queue->cb_page[i]); in efx_remove_tx_queue()
140 kfree(tx_queue->cb_page); in efx_remove_tx_queue()
141 tx_queue->cb_page = NULL; in efx_remove_tx_queue()
Dtx.c39 &tx_queue->cb_page[index >> (PAGE_SHIFT - EFX_TX_CB_ORDER)]; in efx_tx_get_copy_buffer()
Dnet_driver.h250 struct efx_buffer *cb_page; member
Defx_channels.c624 tx_queue->cb_page = NULL; in efx_copy_channel()
/linux-6.12.1/drivers/net/ethernet/sfc/falcon/
Dtx.c30 &tx_queue->cb_page[index >> (PAGE_SHIFT - EF4_TX_CB_ORDER)]; in ef4_tx_get_copy_buffer()
560 tx_queue->cb_page = kcalloc(ef4_tx_cb_page_count(tx_queue), in ef4_probe_tx_queue()
561 sizeof(tx_queue->cb_page[0]), GFP_KERNEL); in ef4_probe_tx_queue()
562 if (!tx_queue->cb_page) { in ef4_probe_tx_queue()
575 kfree(tx_queue->cb_page); in ef4_probe_tx_queue()
576 tx_queue->cb_page = NULL; in ef4_probe_tx_queue()
640 if (tx_queue->cb_page) { in ef4_remove_tx_queue()
643 &tx_queue->cb_page[i]); in ef4_remove_tx_queue()
644 kfree(tx_queue->cb_page); in ef4_remove_tx_queue()
645 tx_queue->cb_page = NULL; in ef4_remove_tx_queue()
Dnet_driver.h219 struct ef4_buffer *cb_page; member