Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
Drx.c163 struct xdp_buff **buffs; in mlx5e_xsk_alloc_rx_wqes_batched() local
170 buffs = rq->wqe.alloc_units->xsk_buffs; in mlx5e_xsk_alloc_rx_wqes_batched()
173 alloc = xsk_buff_alloc_batch(rq->xsk_pool, buffs + ix, wqe_bulk); in mlx5e_xsk_alloc_rx_wqes_batched()
175 alloc = xsk_buff_alloc_batch(rq->xsk_pool, buffs + ix, contig); in mlx5e_xsk_alloc_rx_wqes_batched()
177 alloc += xsk_buff_alloc_batch(rq->xsk_pool, buffs, wqe_bulk - contig); in mlx5e_xsk_alloc_rx_wqes_batched()
/linux-6.6.21/drivers/net/ethernet/xscale/
Dixp4xx_eth.c1294 int buffs = RX_DESCS; /* allocated RX buffers */ in eth_close() local
1303 buffs--; in eth_close()
1315 buffs--; in eth_close()
1316 if (!buffs) in eth_close()
1333 if (buffs) in eth_close()
1335 " left in NPE\n", buffs); in eth_close()
1337 if (!buffs) in eth_close()
1341 buffs = TX_DESCS; in eth_close()
1343 buffs--; /* cancel TX */ in eth_close()
1348 buffs--; in eth_close()
[all …]
/linux-6.6.21/drivers/net/wan/
Dixp4xx_hss.c1157 int i, buffs = RX_DESCS; /* allocated RX buffers */ in hss_hdlc_close() local
1168 buffs--; in hss_hdlc_close()
1170 buffs--; in hss_hdlc_close()
1172 if (buffs) in hss_hdlc_close()
1174 buffs); in hss_hdlc_close()
1176 buffs = TX_DESCS; in hss_hdlc_close()
1178 buffs--; /* cancel TX */ in hss_hdlc_close()
1183 buffs--; in hss_hdlc_close()
1184 if (!buffs) in hss_hdlc_close()
1188 if (buffs) in hss_hdlc_close()
[all …]
Dhd64570.c161 u16 buffs = transmit ? card->tx_ring_buffers in sca_init_port() local
164 for (i = 0; i < buffs; i++) { in sca_init_port()
186 sca_outw(desc_offset(port, buffs - 1, transmit), in sca_init_port()
Dhd64572.c131 u16 buffs = transmit ? card->tx_ring_buffers in sca_init_port() local
134 for (i = 0; i < buffs; i++) { in sca_init_port()
/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_xsk.c458 u16 buffs; in ice_fill_rx_descs() local
461 buffs = xsk_buff_alloc_batch(pool, xdp, count); in ice_fill_rx_descs()
462 for (i = 0; i < buffs; i++) { in ice_fill_rx_descs()
471 return buffs; in ice_fill_rx_descs()
/linux-6.6.21/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2.h1417 struct mvpp2_txq_pcpu_buf *buffs; member
Dmvpp2_main.c313 txq_pcpu->buffs + txq_pcpu->txq_put_index; in mvpp2_txq_inc_put()
2823 txq_pcpu->buffs + txq_pcpu->txq_get_index; in mvpp2_txq_bufs_free()
3155 txq_pcpu->buffs = kmalloc_array(txq_pcpu->size, in mvpp2_txq_init()
3156 sizeof(*txq_pcpu->buffs), in mvpp2_txq_init()
3158 if (!txq_pcpu->buffs) in mvpp2_txq_init()
3191 kfree(txq_pcpu->buffs); in mvpp2_txq_deinit()
/linux-6.6.21/drivers/md/
Draid1.c2625 int buffs; in init_resync() local
2627 buffs = RESYNC_WINDOW / RESYNC_BLOCK_SIZE; in init_resync()
2630 return mempool_init(&conf->r1buf_pool, buffs, r1buf_pool_alloc, in init_resync()
Draid10.c3179 int ret, buffs, i; in init_resync() local
3181 buffs = RESYNC_WINDOW / RESYNC_BLOCK_SIZE; in init_resync()
3187 ret = mempool_init(&conf->r10buf_pool, buffs, in init_resync()