/linux-6.3-rc2/kernel/printk/ |
A D | printk_ringbuffer.c | 357 return &desc_ring->descs[DESC_INDEX(desc_ring, n)]; in to_desc() 366 return &desc_ring->infos[DESC_INDEX(desc_ring, n)]; in to_info() 571 struct prb_desc_ring *desc_ring = &rb->desc_ring; in data_make_reusable() local 770 struct prb_desc_ring *desc_ring = &rb->desc_ring; in desc_push_tail() local 877 struct prb_desc_ring *desc_ring = &rb->desc_ring; in desc_reserve() local 1353 struct prb_desc_ring *desc_ring = &rb->desc_ring; in prb_reserve_in_last() local 1488 struct prb_desc_ring *desc_ring = &rb->desc_ring; in prb_reserve() local 1578 struct prb_desc_ring *desc_ring = &e->rb->desc_ring; in _prb_commit() local 1799 struct prb_desc_ring *desc_ring = &rb->desc_ring; in prb_read() local 1837 struct prb_desc_ring *desc_ring = &rb->desc_ring; in prb_first_seq() local [all …]
|
A D | printk_ringbuffer.h | 88 struct prb_desc_ring desc_ring; member 256 .desc_ring = { \
|
A D | printk.c | 989 VMCOREINFO_OFFSET(printk_ringbuffer, desc_ring); in log_buf_vmcoreinfo_setup()
|
/linux-6.3-rc2/drivers/net/ethernet/marvell/octeon_ep/ |
A D | octep_rx.c | 34 struct octep_oq_desc_hw *desc_ring = oq->desc_ring; in octep_oq_fill_ring_buffers() local 81 struct octep_oq_desc_hw *desc_ring = oq->desc_ring; in octep_oq_refill() local 155 if (unlikely(!oq->desc_ring)) { in octep_setup_oq() 182 oq->desc_ring, oq->desc_ring_dma); in octep_setup_oq() 183 oq->desc_ring = NULL; in octep_setup_oq() 200 struct octep_oq_desc_hw *desc_ring = oq->desc_ring; in octep_oq_free_ring_buffers() local 203 if (!oq->desc_ring || !oq->buff_info) in octep_oq_free_ring_buffers() 208 dma_unmap_page(oq->dev, desc_ring[i].buffer_ptr, in octep_oq_free_ring_buffers() 212 desc_ring[i].buffer_ptr = 0; in octep_oq_free_ring_buffers() 234 if (oq->desc_ring) in octep_free_oq() [all …]
|
A D | octep_tx.c | 200 iq->desc_ring = dma_alloc_coherent(iq->dev, desc_ring_size, in octep_setup_iq() 202 if (unlikely(!iq->desc_ring)) { in octep_setup_iq() 250 iq->desc_ring, iq->desc_ring_dma); in octep_setup_iq() 275 if (iq->desc_ring) in octep_free_iq() 277 iq->desc_ring, iq->desc_ring_dma); in octep_free_iq()
|
A D | octep_rx.h | 192 struct octep_oq_desc_hw *desc_ring; member
|
A D | octep_tx.h | 164 struct octep_tx_desc_hw *desc_ring; member
|
A D | octep_main.c | 649 hw_desc = &iq->desc_ring[wi]; in octep_start_xmit()
|
/linux-6.3-rc2/drivers/net/ethernet/google/gve/ |
A D | gve_rx_dqo.c | 203 if (rx->dqo.bufq.desc_ring) { in gve_rx_free_ring_dqo() 207 rx->dqo.bufq.desc_ring = NULL; in gve_rx_free_ring_dqo() 210 if (rx->dqo.complq.desc_ring) { in gve_rx_free_ring_dqo() 211 size = sizeof(rx->dqo.complq.desc_ring[0]) * in gve_rx_free_ring_dqo() 215 rx->dqo.complq.desc_ring = NULL; in gve_rx_free_ring_dqo() 264 size = sizeof(rx->dqo.complq.desc_ring[0]) * in gve_rx_alloc_ring_dqo() 266 rx->dqo.complq.desc_ring = in gve_rx_alloc_ring_dqo() 268 if (!rx->dqo.complq.desc_ring) in gve_rx_alloc_ring_dqo() 273 rx->dqo.bufq.desc_ring = in gve_rx_alloc_ring_dqo() 275 if (!rx->dqo.bufq.desc_ring) in gve_rx_alloc_ring_dqo() [all …]
|
A D | gve_rx.c | 59 dma_free_coherent(dev, bytes, rx->desc.desc_ring, rx->desc.bus); in gve_rx_free_ring() 60 rx->desc.desc_ring = NULL; in gve_rx_free_ring() 262 rx->desc.desc_ring = dma_alloc_coherent(hdev, bytes, &rx->desc.bus, in gve_rx_alloc_ring() 264 if (!rx->desc.desc_ring) { in gve_rx_alloc_ring() 710 desc = rx->desc.desc_ring + next_idx; in gve_rx_work_pending() 783 struct gve_rx_desc *desc = &rx->desc.desc_ring[idx]; in gve_clean_rx_done() 788 next_desc = &rx->desc.desc_ring[(idx + 1) & rx->mask]; in gve_clean_rx_done() 795 desc = &rx->desc.desc_ring[idx]; in gve_clean_rx_done()
|
A D | gve.h | 52 struct gve_rx_desc *desc_ring; /* the descriptor ring */ member 92 struct gve_rx_desc_dqo *desc_ring; member 101 struct gve_rx_compl_desc_dqo *desc_ring; member
|
A D | gve_adminq.c | 663 if (priv->rx_desc_cnt * sizeof(priv->rx->desc.desc_ring[0]) in gve_set_desc_cnt()
|
/linux-6.3-rc2/scripts/gdb/linux/ |
A D | dmesg.py | 44 desc_ring = utils.read_memoryview(inf, addr, sz).tobytes() 48 desc_ring_count = 1 << utils.read_u32(desc_ring, off) 51 desc_addr = utils.read_ulong(desc_ring, off) 56 info_addr = utils.read_ulong(desc_ring, off) 89 tail_id = utils.read_atomic_long(desc_ring, off) 91 head_id = utils.read_atomic_long(desc_ring, off)
|
/linux-6.3-rc2/drivers/net/ethernet/cavium/liquidio/ |
A D | octeon_droq.c | 172 struct octeon_droq_desc *desc_ring = droq->desc_ring; in octeon_droq_setup_ring_buffers() local 186 desc_ring[i].info_ptr = 0; in octeon_droq_setup_ring_buffers() 187 desc_ring[i].buffer_ptr = in octeon_droq_setup_ring_buffers() 207 if (droq->desc_ring) in octeon_delete_droq() 272 if (!droq->desc_ring) { in octeon_init_droq() 390 struct octeon_droq_desc *desc_ring) in octeon_droq_refill_pullup_descs() argument 403 desc_ring[refill_index].buffer_ptr; in octeon_droq_refill_pullup_descs() 405 desc_ring[refill_index].buffer_ptr = 0; in octeon_droq_refill_pullup_descs() 433 struct octeon_droq_desc *desc_ring; in octeon_droq_refill() local 439 desc_ring = droq->desc_ring; in octeon_droq_refill() [all …]
|
A D | octeon_droq.h | 257 struct octeon_droq_desc *desc_ring; member
|
/linux-6.3-rc2/drivers/dma/ |
A D | plx_dma.c | 116 struct plx_dma_desc **desc_ring; member 131 return plxdev->desc_ring[i & (PLX_DMA_RING_COUNT - 1)]; in plx_dma_get_desc() 381 plxdev->desc_ring = kcalloc(PLX_DMA_RING_COUNT, in plx_dma_alloc_desc() 382 sizeof(*plxdev->desc_ring), GFP_KERNEL); in plx_dma_alloc_desc() 383 if (!plxdev->desc_ring) in plx_dma_alloc_desc() 395 plxdev->desc_ring[i] = desc; in plx_dma_alloc_desc() 402 kfree(plxdev->desc_ring[i]); in plx_dma_alloc_desc() 403 kfree(plxdev->desc_ring); in plx_dma_alloc_desc() 480 kfree(plxdev->desc_ring[i]); in plx_dma_free_chan_resources() 482 kfree(plxdev->desc_ring); in plx_dma_free_chan_resources()
|
/linux-6.3-rc2/drivers/net/ethernet/ti/ |
A D | cpmac.c | 192 struct cpmac_desc *desc_ring; member 552 desc = &priv->desc_ring[queue]; in cpmac_start_xmit() 585 desc = &priv->desc_ring[queue]; in cpmac_end_xmit() 704 if (unlikely(!priv->desc_ring)) in cpmac_clear_tx() 707 priv->desc_ring[i].dataflags = 0; in cpmac_clear_tx() 708 if (priv->desc_ring[i].skb) { in cpmac_clear_tx() 709 dev_kfree_skb_any(priv->desc_ring[i].skb); in cpmac_clear_tx() 710 priv->desc_ring[i].skb = NULL; in cpmac_clear_tx() 934 if (!priv->desc_ring) { in cpmac_open() 992 priv->desc_ring, priv->dma_ring); in cpmac_open() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/socionext/ |
A D | netsec.c | 292 struct netsec_desc_ring desc_ring[NETSEC_RING_MAX]; member 861 &priv->desc_ring[NETSEC_RING_RX]; in netsec_xdp_queue_one() 1201 struct netsec_desc_ring *dring = &priv->desc_ring[id]; in netsec_uninit_pkt_dring() 1242 struct netsec_desc_ring *dring = &priv->desc_ring[id]; in netsec_free_dring() 1256 struct netsec_desc_ring *dring = &priv->desc_ring[id]; in netsec_alloc_dring() 1431 upper_32_bits(priv->desc_ring[NETSEC_RING_RX].desc_dma)); in netsec_reset_hardware() 1433 lower_32_bits(priv->desc_ring[NETSEC_RING_RX].desc_dma)); in netsec_reset_hardware() 1436 upper_32_bits(priv->desc_ring[NETSEC_RING_TX].desc_dma)); in netsec_reset_hardware() 1438 lower_32_bits(priv->desc_ring[NETSEC_RING_TX].desc_dma)); in netsec_reset_hardware() 1730 spin_lock_init(&priv->desc_ring[NETSEC_RING_TX].lock); in netsec_netdev_init() [all …]
|
/linux-6.3-rc2/Documentation/admin-guide/kdump/ |
A D | gdbmacros.txt | 298 set var $desc_count = 1U << prb->desc_ring.count_bits 301 set var $id = prb->desc_ring.tail_id.counter 302 set var $end_id = prb->desc_ring.head_id.counter 305 set var $desc = &prb->desc_ring.descs[$id % $desc_count] 306 set var $info = &prb->desc_ring.infos[$id % $desc_count]
|
A D | vmcoreinfo.rst | 229 (printk_ringbuffer, desc_ring|text_data_ring|dict_data_ring|fail)
|
/linux-6.3-rc2/drivers/net/ethernet/cortina/ |
A D | gemini.c | 552 struct gmac_txdesc *desc_ring; in gmac_setup_txqs() local 565 desc_ring = dma_alloc_coherent(geth->dev, len * sizeof(*desc_ring), in gmac_setup_txqs() 568 if (!desc_ring) { in gmac_setup_txqs() 575 dma_free_coherent(geth->dev, len * sizeof(*desc_ring), in gmac_setup_txqs() 576 desc_ring, port->txq_dma_base); in gmac_setup_txqs() 585 txq->ring = desc_ring; in gmac_setup_txqs() 596 desc_ring += entries; in gmac_setup_txqs()
|
/linux-6.3-rc2/drivers/net/ethernet/rdc/ |
A D | r6040.c | 294 static void r6040_init_ring_desc(struct r6040_descriptor *desc_ring, in r6040_init_ring_desc() argument 297 struct r6040_descriptor *desc = desc_ring; in r6040_init_ring_desc() 308 desc->vndescp = desc_ring; in r6040_init_ring_desc()
|