Home
last modified time | relevance | path

Searched refs:ring (Results 1 – 11 of 11) sorted by relevance

/include/linux/
Dskb_array.h26 struct ptr_ring ring; member
34 return __ptr_ring_full(&a->ring); in __skb_array_full()
39 return ptr_ring_full(&a->ring); in skb_array_full()
44 return ptr_ring_produce(&a->ring, skb); in skb_array_produce()
49 return ptr_ring_produce_irq(&a->ring, skb); in skb_array_produce_irq()
54 return ptr_ring_produce_bh(&a->ring, skb); in skb_array_produce_bh()
59 return ptr_ring_produce_any(&a->ring, skb); in skb_array_produce_any()
68 return __ptr_ring_empty(&a->ring); in __skb_array_empty()
73 return __ptr_ring_peek(&a->ring); in __skb_array_peek()
78 return ptr_ring_empty(&a->ring); in skb_array_empty()
[all …]
Dthunderbolt.h559 void tb_ring_start(struct tb_ring *ring);
560 void tb_ring_stop(struct tb_ring *ring);
561 void tb_ring_free(struct tb_ring *ring);
563 int __tb_ring_enqueue(struct tb_ring *ring, struct ring_frame *frame);
581 static inline int tb_ring_rx(struct tb_ring *ring, struct ring_frame *frame) in tb_ring_rx() argument
583 WARN_ON(ring->is_tx); in tb_ring_rx()
584 return __tb_ring_enqueue(ring, frame); in tb_ring_rx()
602 static inline int tb_ring_tx(struct tb_ring *ring, struct ring_frame *frame) in tb_ring_tx() argument
604 WARN_ON(!ring->is_tx); in tb_ring_tx()
605 return __tb_ring_enqueue(ring, frame); in tb_ring_tx()
[all …]
Dif_tap.h72 struct ptr_ring ring; member
Dlibata.h666 struct ata_ering_entry ring[ATA_ERING_SIZE]; member
/include/uapi/linux/
Dvirtio_ring.h104 __virtio16 ring[]; member
118 struct vring_used_elem ring[]; member
164 #define vring_used_event(vr) ((vr)->avail->ring[(vr)->num])
165 #define vring_avail_event(vr) (*(__virtio16 *)&(vr)->used->ring[(vr)->num])
173 vr->used = (void *)(((uintptr_t)&vr->avail->ring[num] + sizeof(__virtio16) in vring_init()
/include/xen/interface/io/
Dconsole.h15 #define MASK_XENCONS_IDX(idx, ring) ((idx) & (sizeof(ring)-1)) argument
Dring.h31 (__RD32(((_sz) - offsetof(struct _s##_sring, ring)) / \
32 sizeof(((struct _s##_sring *)0)->ring[0])))
38 (__RD32(((_sz) - (long)&(_s)->ring + (long)(_s)) / sizeof((_s)->ring[0])))
87 union __name##_sring_entry ring[1]; /* variable-length */ \
185 (&((_r)->sring->ring[((_idx) & (RING_SIZE(_r) - 1))].req))
202 (&((_r)->sring->ring[((_idx) & (RING_SIZE(_r) - 1))].rsp))
/include/uapi/linux/genwqe/
Dgenwqe_card.h53 #define IO_EXTENDED_DIAG_MAP(ring) (0x00000500 | ((ring) << 3)) argument
55 #define GENWQE_EXTENDED_DIAG_SELECTOR(ring, trace) (((ring) << 8) | (trace)) argument
/include/net/
Dpage_pool.h106 struct ptr_ring ring; member
/include/uapi/drm/
Damdgpu_drm.h421 __u32 ring; member
439 __u32 ring; member
602 __u32 ring; member
608 __u32 ring; member
/include/
DKbuild1134 header-test- += xen/interface/io/ring.h