Searched refs:data_ring (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/kernel/printk/ |
D | printk_ringbuffer.c | 308 #define DATA_SIZE(data_ring) _DATA_SIZE((data_ring)->size_bits) argument 309 #define DATA_SIZE_MASK(data_ring) (DATA_SIZE(data_ring) - 1) argument 315 #define DATA_INDEX(data_ring, lpos) ((lpos) & DATA_SIZE_MASK(data_ring)) argument 321 #define DATA_WRAPS(data_ring, lpos) ((lpos) >> (data_ring)->size_bits) argument 329 #define DATA_THIS_WRAP_START_LPOS(data_ring, lpos) \ argument 330 ((lpos) & ~DATA_SIZE_MASK(data_ring)) 369 static struct prb_data_block *to_block(struct prb_data_ring *data_ring, in to_block() argument 372 return (void *)&data_ring->data[DATA_INDEX(data_ring, begin_lpos)]; in to_block() 394 static bool data_check_size(struct prb_data_ring *data_ring, unsigned int size) in data_check_size() argument 407 if (size > DATA_SIZE(data_ring) - sizeof(db->id)) in data_check_size() [all …]
|
/linux-6.6.21/drivers/net/ethernet/google/gve/ |
D | gve_rx.c | 34 &rx->data.data_ring[i]); in gve_rx_unfill_pages() 71 bytes = sizeof(*rx->data.data_ring) * slots; in gve_rx_free_ring() 72 dma_free_coherent(dev, bytes, rx->data.data_ring, in gve_rx_free_ring() 74 rx->data.data_ring = NULL; in gve_rx_free_ring() 143 &rx->data.data_ring[i].qpl_offset); in gve_prefill_rx_pages() 147 &rx->data.data_ring[i]); in gve_prefill_rx_pages() 197 &rx->data.data_ring[i]); in gve_prefill_rx_pages() 231 bytes = sizeof(*rx->data.data_ring) * slots; in gve_rx_alloc_ring() 232 rx->data.data_ring = dma_alloc_coherent(hdev, bytes, in gve_rx_alloc_ring() 235 if (!rx->data.data_ring) in gve_rx_alloc_ring() [all …]
|
D | gve.h | 104 union gve_rx_data_slot *data_ring; /* read by NIC */ member
|
/linux-6.6.21/drivers/net/vmxnet3/ |
D | vmxnet3_drv.c | 495 if (tq->data_ring.base) { in vmxnet3_tq_destroy() 497 tq->data_ring.size * tq->txdata_desc_size, in vmxnet3_tq_destroy() 498 tq->data_ring.base, tq->data_ring.basePA); in vmxnet3_tq_destroy() 499 tq->data_ring.base = NULL; in vmxnet3_tq_destroy() 535 memset(tq->data_ring.base, 0, in vmxnet3_tq_init() 536 tq->data_ring.size * tq->txdata_desc_size); in vmxnet3_tq_init() 557 BUG_ON(tq->tx_ring.base || tq->data_ring.base || in vmxnet3_tq_create() 568 tq->data_ring.base = dma_alloc_coherent(&adapter->pdev->dev, in vmxnet3_tq_create() 569 tq->data_ring.size * tq->txdata_desc_size, in vmxnet3_tq_create() 570 &tq->data_ring.basePA, GFP_KERNEL); in vmxnet3_tq_create() [all …]
|
D | vmxnet3_int.h | 254 struct vmxnet3_tx_data_ring data_ring; member 315 struct vmxnet3_rx_data_ring data_ring; member
|
D | vmxnet3_ethtool.c | 562 buf[j++] = VMXNET3_GET_ADDR_LO(tq->data_ring.basePA); in vmxnet3_get_regs() 563 buf[j++] = VMXNET3_GET_ADDR_HI(tq->data_ring.basePA); in vmxnet3_get_regs() 564 buf[j++] = tq->data_ring.size; in vmxnet3_get_regs() 599 buf[j++] = VMXNET3_GET_ADDR_LO(rq->data_ring.basePA); in vmxnet3_get_regs() 600 buf[j++] = VMXNET3_GET_ADDR_HI(rq->data_ring.basePA); in vmxnet3_get_regs() 602 buf[j++] = rq->data_ring.desc_size; in vmxnet3_get_regs()
|