Home
last modified time | relevance | path

Searched refs:ptr_ring_init (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/drivers/net/wireguard/
H A Dqueueing.c32 ret = ptr_ring_init(&queue->ring, len, GFP_KERNEL); in wg_packet_queue_init()
/openbmc/linux/tools/virtio/ringtest/
H A Dptr_ring.c120 int ret = ptr_ring_init(&array, ring_size, 0); in alloc_ring()
/openbmc/linux/include/linux/
H A Dskb_array.h182 return ptr_ring_init(&a->ring, size, gfp); in skb_array_init()
H A Dptr_ring.h487 static inline int ptr_ring_init(struct ptr_ring *r, int size, gfp_t gfp) in ptr_ring_init() function
/openbmc/linux/kernel/bpf/
H A Dcpumap.c421 err = ptr_ring_init(rcpu->queue, value->qsize, gfp); in __cpu_map_entry_alloc()
/openbmc/linux/net/core/
H A Dpage_pool.c224 if (ptr_ring_init(&pool->ring, ring_qsize, GFP_KERNEL) < 0) { in page_pool_init()
/openbmc/linux/drivers/net/
H A Dtap.c528 if (ptr_ring_init(&q->ring, tap->dev->tx_queue_len, GFP_KERNEL)) { in tap_open()
H A Dveth.c1060 err = ptr_ring_init(&rq->xdp_ring, VETH_RING_SIZE, GFP_KERNEL); in __veth_napi_enable_range()
H A Dtun.c3477 if (ptr_ring_init(&tfile->tx_ring, 0, GFP_KERNEL)) { in tun_chr_open()