Searched refs:buf_pool (Results 1 – 11 of 11) sorted by relevance
/linux-6.3-rc2/drivers/scsi/qla2xxx/ |
A D | qla_mid.c | 1124 if (qp->buf_pool.buf_array[i] && qp->buf_pool.dma_array[i]) in qla_free_buf_pool() 1146 tag = find_first_zero_bit(qp->buf_pool.buf_map, qp->buf_pool.num_bufs); in qla_get_buf() 1173 qp->buf_pool.num_alloc++; in qla_get_buf() 1181 if (qp->buf_pool.num_active > qp->buf_pool.max_used) in qla_get_buf() 1182 qp->buf_pool.max_used = qp->buf_pool.num_active; in qla_get_buf() 1226 qp->buf_pool.prev_max = qp->buf_pool.max_used; in __qla_adjust_buf() 1227 qp->buf_pool.max_used = qp->buf_pool.num_active; in __qla_adjust_buf() 1229 if (qp->buf_pool.prev_max > qp->buf_pool.max_used && in __qla_adjust_buf() 1230 qp->buf_pool.num_alloc > qp->buf_pool.max_used) { in __qla_adjust_buf() 1232 trim = qp->buf_pool.num_alloc - qp->buf_pool.max_used; in __qla_adjust_buf() [all …]
|
A D | qla_def.h | 3801 struct qla_buf_pool buf_pool; member
|
/linux-6.3-rc2/drivers/net/ethernet/apm/xgene/ |
A D | xgene_enet_main.c | 25 if (!buf_pool) in xgene_enet_init_bufpool() 83 ndev = buf_pool->ndev; in xgene_enet_refill_pagepool() 689 buf_pool = rx_ring->buf_pool; in xgene_enet_rx_frame() 1088 buf_pool = ring->buf_pool; in xgene_enet_delete_desc_rings() 1342 if (!buf_pool) { in xgene_enet_create_desc_rings() 1350 buf_pool->rx_skb = devm_kcalloc(dev, buf_pool->slots, in xgene_enet_create_desc_rings() 1358 buf_pool->dst_ring_num = xgene_enet_dst_ring_num(buf_pool); in xgene_enet_create_desc_rings() 1359 rx_ring->buf_pool = buf_pool; in xgene_enet_create_desc_rings() 1833 buf_pool = pdata->rx_ring[i]->buf_pool; in xgene_enet_init_hw() 1850 buf_pool = pdata->rx_ring[0]->buf_pool; in xgene_enet_init_hw() [all …]
|
A D | xgene_enet_main.h | 118 struct xgene_enet_desc_ring *buf_pool; member
|
A D | xgene_enet_cle.c | 705 pool_id = pdata->rx_ring[idx]->buf_pool->id; in xgene_cle_set_rss_idt() 783 pool_id = pdata->rx_ring[0]->buf_pool->id; in xgene_enet_cle_init()
|
/linux-6.3-rc2/drivers/media/pci/cx18/ |
A D | cx18-queue.c | 248 list_move_tail(&buf->list, &s->buf_pool); in cx18_unload_queues() 284 if (list_empty(&s->buf_pool)) in cx18_load_queues() 287 buf = list_first_entry(&s->buf_pool, struct cx18_buffer, in cx18_load_queues() 392 list_add_tail(&buf->list, &s->buf_pool); in cx18_stream_alloc() 419 while (!list_empty(&s->buf_pool)) { in cx18_stream_free() 420 buf = list_first_entry(&s->buf_pool, struct cx18_buffer, list); in cx18_stream_free()
|
A D | cx18-driver.h | 379 struct list_head buf_pool; /* buffers not attached to an MDL */ member
|
A D | cx18-streams.c | 258 INIT_LIST_HEAD(&s->buf_pool); in cx18_stream_init()
|
/linux-6.3-rc2/drivers/net/usb/ |
A D | lan78xx.c | 491 if (skb_queue_empty(buf_pool)) in lan78xx_get_buf() 494 return skb_dequeue(buf_pool); in lan78xx_get_buf() 497 static void lan78xx_release_buf(struct sk_buff_head *buf_pool, in lan78xx_release_buf() argument 506 skb_queue_tail(buf_pool, buf); in lan78xx_release_buf() 509 static void lan78xx_free_buf_pool(struct sk_buff_head *buf_pool) in lan78xx_free_buf_pool() argument 514 while (!skb_queue_empty(buf_pool)) { in lan78xx_free_buf_pool() 515 buf = skb_dequeue(buf_pool); in lan78xx_free_buf_pool() 524 static int lan78xx_alloc_buf_pool(struct sk_buff_head *buf_pool, in lan78xx_alloc_buf_pool() argument 533 skb_queue_head_init(buf_pool); in lan78xx_alloc_buf_pool() 557 skb_queue_tail(buf_pool, buf); in lan78xx_alloc_buf_pool() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/stmicro/stmmac/ |
A D | stmmac.h | 101 struct stmmac_rx_buffer *buf_pool; member
|
A D | stmmac_main.c | 1431 struct stmmac_rx_buffer *buf = &rx_q->buf_pool[i]; in stmmac_init_rx_buffers() 1475 struct stmmac_rx_buffer *buf = &rx_q->buf_pool[i]; in stmmac_free_rx_buffer() 1591 struct stmmac_rx_buffer *buf = &rx_q->buf_pool[i]; in dma_free_rx_xskbufs() 1618 buf = &rx_q->buf_pool[i]; in stmmac_alloc_rx_buffers_zc() 1922 kfree(rx_q->buf_pool); in __free_dma_rx_desc_resources() 2027 rx_q->buf_pool = kcalloc(dma_conf->dma_rx_size, in __alloc_dma_rx_desc_resources() 2028 sizeof(*rx_q->buf_pool), in __alloc_dma_rx_desc_resources() 2030 if (!rx_q->buf_pool) in __alloc_dma_rx_desc_resources() 4594 struct stmmac_rx_buffer *buf = &rx_q->buf_pool[entry]; in stmmac_rx_refill() 5041 buf = &rx_q->buf_pool[entry]; in stmmac_rx_zc() [all …]
|
Completed in 85 milliseconds