Searched refs:data_ring (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/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.1.9/drivers/net/ethernet/google/gve/ |
D | gve_rx.c | 31 &rx->data.data_ring[i]); in gve_rx_unfill_pages() 62 bytes = sizeof(*rx->data.data_ring) * slots; in gve_rx_free_ring() 63 dma_free_coherent(dev, bytes, rx->data.data_ring, in gve_rx_free_ring() 65 rx->data.data_ring = NULL; in gve_rx_free_ring() 129 &rx->data.data_ring[i].qpl_offset); in gve_prefill_rx_pages() 133 &rx->data.data_ring[i]); in gve_prefill_rx_pages() 143 &rx->data.data_ring[i]); in gve_prefill_rx_pages() 178 bytes = sizeof(*rx->data.data_ring) * slots; in gve_rx_alloc_ring() 179 rx->data.data_ring = dma_alloc_coherent(hdev, bytes, in gve_rx_alloc_ring() 182 if (!rx->data.data_ring) in gve_rx_alloc_ring() [all …]
|
D | gve.h | 78 union gve_rx_data_slot *data_ring; /* read by NIC */ member
|
/linux-6.1.9/drivers/net/vmxnet3/ |
D | vmxnet3_drv.c | 468 if (tq->data_ring.base) { in vmxnet3_tq_destroy() 470 tq->data_ring.size * tq->txdata_desc_size, in vmxnet3_tq_destroy() 471 tq->data_ring.base, tq->data_ring.basePA); in vmxnet3_tq_destroy() 472 tq->data_ring.base = NULL; in vmxnet3_tq_destroy() 508 memset(tq->data_ring.base, 0, in vmxnet3_tq_init() 509 tq->data_ring.size * tq->txdata_desc_size); in vmxnet3_tq_init() 530 BUG_ON(tq->tx_ring.base || tq->data_ring.base || in vmxnet3_tq_create() 541 tq->data_ring.base = dma_alloc_coherent(&adapter->pdev->dev, in vmxnet3_tq_create() 542 tq->data_ring.size * tq->txdata_desc_size, in vmxnet3_tq_create() 543 &tq->data_ring.basePA, GFP_KERNEL); in vmxnet3_tq_create() [all …]
|
D | vmxnet3_int.h | 247 struct vmxnet3_tx_data_ring data_ring; member 301 struct vmxnet3_rx_data_ring data_ring; member
|
D | vmxnet3_ethtool.c | 539 buf[j++] = VMXNET3_GET_ADDR_LO(tq->data_ring.basePA); in vmxnet3_get_regs() 540 buf[j++] = VMXNET3_GET_ADDR_HI(tq->data_ring.basePA); in vmxnet3_get_regs() 541 buf[j++] = tq->data_ring.size; in vmxnet3_get_regs() 576 buf[j++] = VMXNET3_GET_ADDR_LO(rq->data_ring.basePA); in vmxnet3_get_regs() 577 buf[j++] = VMXNET3_GET_ADDR_HI(rq->data_ring.basePA); in vmxnet3_get_regs() 579 buf[j++] = rq->data_ring.desc_size; in vmxnet3_get_regs()
|