/Linux-v5.10/kernel/printk/ |
D | printk_ringbuffer.c | 311 #define DESCS_COUNT(desc_ring) _DESCS_COUNT((desc_ring)->count_bits) argument 312 #define DESCS_COUNT_MASK(desc_ring) (DESCS_COUNT(desc_ring) - 1) argument 318 #define DESC_INDEX(desc_ring, n) ((n) & DESCS_COUNT_MASK(desc_ring)) argument 333 #define DESC_ID_PREV_WRAP(desc_ring, id) \ argument 334 DESC_ID((id) - DESCS_COUNT(desc_ring)) 355 static struct prb_desc *to_desc(struct prb_desc_ring *desc_ring, u64 n) in to_desc() argument 357 return &desc_ring->descs[DESC_INDEX(desc_ring, n)]; in to_desc() 364 static struct printk_info *to_info(struct prb_desc_ring *desc_ring, u64 n) in to_info() argument 366 return &desc_ring->infos[DESC_INDEX(desc_ring, n)]; in to_info() 432 static enum desc_state desc_read(struct prb_desc_ring *desc_ring, in desc_read() argument [all …]
|
D | printk_ringbuffer.h | 87 struct prb_desc_ring desc_ring; member 255 .desc_ring = { \
|
D | printk.c | 964 VMCOREINFO_OFFSET(printk_ringbuffer, desc_ring); in log_buf_vmcoreinfo_setup()
|
/Linux-v5.10/scripts/gdb/linux/ |
D | dmesg.py | 45 desc_ring = utils.read_memoryview(inf, addr, sz).tobytes() 49 desc_ring_count = 1 << utils.read_u32(desc_ring, off) 52 addr = utils.read_ulong(desc_ring, off) 58 addr = utils.read_ulong(desc_ring, off) 95 tail_id = utils.read_u64(desc_ring, off + counter_off) 97 head_id = utils.read_u64(desc_ring, off + counter_off)
|
/Linux-v5.10/drivers/net/ethernet/cavium/liquidio/ |
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() 209 droq->desc_ring, droq->desc_ring_dma); in octeon_delete_droq() 269 droq->desc_ring = lio_dma_alloc(oct, desc_ring_size, in octeon_init_droq() 272 if (!droq->desc_ring) { in octeon_init_droq() 279 q_no, droq->desc_ring, droq->desc_ring_dma); in octeon_init_droq() 390 struct octeon_droq_desc *desc_ring) in octeon_droq_refill_pullup_descs() argument 402 desc_ring[droq->refill_idx].buffer_ptr = in octeon_droq_refill_pullup_descs() [all …]
|
D | octeon_droq.h | 257 struct octeon_droq_desc *desc_ring; member
|
/Linux-v5.10/drivers/dma/ |
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-v5.10/drivers/net/ethernet/ti/ |
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() 926 priv->desc_ring = dma_alloc_coherent(&dev->dev, in cpmac_open() 930 if (!priv->desc_ring) { in cpmac_open() [all …]
|
/Linux-v5.10/drivers/net/ethernet/google/gve/ |
D | gve_rx.c | 29 dma_free_coherent(dev, bytes, rx->desc.desc_ring, rx->desc.bus); in gve_rx_free_ring() 30 rx->desc.desc_ring = NULL; in gve_rx_free_ring() 153 rx->desc.desc_ring = dma_alloc_coherent(hdev, bytes, &rx->desc.bus, in gve_rx_alloc_ring() 155 if (!rx->desc.desc_ring) { in gve_rx_alloc_ring() 393 desc = rx->desc.desc_ring + next_idx; in gve_rx_work_pending() 412 desc = rx->desc.desc_ring + idx; in gve_clean_rx_done() 427 desc = rx->desc.desc_ring + idx; in gve_clean_rx_done()
|
D | gve.h | 43 struct gve_rx_desc *desc_ring; /* the descriptor ring */ member
|
D | gve_adminq.c | 492 if (priv->rx_desc_cnt * sizeof(priv->rx->desc.desc_ring[0]) in gve_adminq_describe_device()
|
/Linux-v5.10/drivers/net/ethernet/socionext/ |
D | netsec.c | 292 struct netsec_desc_ring desc_ring[NETSEC_RING_MAX]; member 633 struct netsec_desc_ring *dring = &priv->desc_ring[NETSEC_RING_TX]; in netsec_clean_tx_dring() 725 struct netsec_desc_ring *dring = &priv->desc_ring[NETSEC_RING_RX]; in netsec_alloc_rx_data() 747 struct netsec_desc_ring *dring = &priv->desc_ring[NETSEC_RING_RX]; in netsec_rx_fill() 818 struct netsec_desc_ring *tx_ring = &priv->desc_ring[NETSEC_RING_TX]; in netsec_xdp_queue_one() 847 &priv->desc_ring[NETSEC_RING_RX]; in netsec_xdp_queue_one() 870 struct netsec_desc_ring *tx_ring = &priv->desc_ring[NETSEC_RING_TX]; in netsec_xdp_xmit_back() 887 struct netsec_desc_ring *dring = &priv->desc_ring[NETSEC_RING_RX]; in netsec_run_xdp() 939 struct netsec_desc_ring *dring = &priv->desc_ring[NETSEC_RING_RX]; in netsec_process_rx() 1107 struct netsec_desc_ring *dring = &priv->desc_ring[NETSEC_RING_TX]; in netsec_check_stop_tx() [all …]
|
/Linux-v5.10/Documentation/admin-guide/kdump/ |
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]
|
D | vmcoreinfo.rst | 223 (printk_ringbuffer, desc_ring|text_data_ring|dict_data_ring|fail)
|
/Linux-v5.10/drivers/net/ethernet/cortina/ |
D | gemini.c | 550 struct gmac_txdesc *desc_ring; in gmac_setup_txqs() local 563 desc_ring = dma_alloc_coherent(geth->dev, len * sizeof(*desc_ring), in gmac_setup_txqs() 566 if (!desc_ring) { in gmac_setup_txqs() 573 dma_free_coherent(geth->dev, len * sizeof(*desc_ring), in gmac_setup_txqs() 574 desc_ring, port->txq_dma_base); in gmac_setup_txqs() 583 txq->ring = desc_ring; in gmac_setup_txqs() 594 desc_ring += entries; in gmac_setup_txqs()
|
/Linux-v5.10/drivers/net/ethernet/rdc/ |
D | r6040.c | 292 static void r6040_init_ring_desc(struct r6040_descriptor *desc_ring, in r6040_init_ring_desc() argument 295 struct r6040_descriptor *desc = desc_ring; in r6040_init_ring_desc() 306 desc->vndescp = desc_ring; in r6040_init_ring_desc()
|