Home
last modified time | relevance | path

Searched refs:ring (Results 1 – 14 of 14) 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 …]
Dkvm_dirty_ring.h40 static inline int kvm_dirty_ring_alloc(struct kvm_dirty_ring *ring, in kvm_dirty_ring_alloc() argument
52 struct kvm_dirty_ring *ring) in kvm_dirty_ring_reset() argument
57 static inline void kvm_dirty_ring_push(struct kvm_dirty_ring *ring, in kvm_dirty_ring_push() argument
62 static inline struct page *kvm_dirty_ring_get_page(struct kvm_dirty_ring *ring, in kvm_dirty_ring_get_page() argument
68 static inline void kvm_dirty_ring_free(struct kvm_dirty_ring *ring) in kvm_dirty_ring_free() argument
72 static inline bool kvm_dirty_ring_soft_full(struct kvm_dirty_ring *ring) in kvm_dirty_ring_soft_full() argument
80 int kvm_dirty_ring_alloc(struct kvm_dirty_ring *ring, int index, u32 size);
87 int kvm_dirty_ring_reset(struct kvm *kvm, struct kvm_dirty_ring *ring);
93 void kvm_dirty_ring_push(struct kvm_dirty_ring *ring, u32 slot, u64 offset);
96 struct page *kvm_dirty_ring_get_page(struct kvm_dirty_ring *ring, u32 offset);
[all …]
Dthunderbolt.h594 void tb_ring_start(struct tb_ring *ring);
595 void tb_ring_stop(struct tb_ring *ring);
596 void tb_ring_free(struct tb_ring *ring);
598 int __tb_ring_enqueue(struct tb_ring *ring, struct ring_frame *frame);
616 static inline int tb_ring_rx(struct tb_ring *ring, struct ring_frame *frame) in tb_ring_rx() argument
618 WARN_ON(ring->is_tx); in tb_ring_rx()
619 return __tb_ring_enqueue(ring, frame); in tb_ring_rx()
637 static inline int tb_ring_tx(struct tb_ring *ring, struct ring_frame *frame) in tb_ring_tx() argument
639 WARN_ON(!ring->is_tx); in tb_ring_tx()
640 return __tb_ring_enqueue(ring, frame); in tb_ring_tx()
[all …]
Dif_tap.h72 struct ptr_ring ring; member
Dlibata.h686 struct ata_ering_entry ring[ATA_ERING_SIZE]; member
/include/linux/soc/ti/
Dk3-ringacc.h127 void k3_ringacc_ring_reset(struct k3_ring *ring);
135 void k3_ringacc_ring_reset_dma(struct k3_ring *ring, u32 occ);
143 int k3_ringacc_ring_free(struct k3_ring *ring);
151 u32 k3_ringacc_get_ring_id(struct k3_ring *ring);
159 int k3_ringacc_get_ring_irq_num(struct k3_ring *ring);
169 int k3_ringacc_ring_cfg(struct k3_ring *ring, struct k3_ring_cfg *cfg);
177 u32 k3_ringacc_ring_get_size(struct k3_ring *ring);
185 u32 k3_ringacc_ring_get_free(struct k3_ring *ring);
193 u32 k3_ringacc_ring_get_occ(struct k3_ring *ring);
201 u32 k3_ringacc_ring_is_full(struct k3_ring *ring);
[all …]
/include/xen/interface/io/
Dconsole.h15 #define MASK_XENCONS_IDX(idx, ring) ((idx) & (sizeof(ring)-1)) argument
Dring.h63 (__RD32(((_sz) - offsetof(struct _s##_sring, ring)) / \
64 sizeof(((struct _s##_sring *)0)->ring[0])))
69 (__RD32(((_sz) - (long)(_s)->ring + (long)(_s)) / sizeof((_s)->ring[0])))
116 union __name##_sring_entry ring[1]; /* variable-length */ \
202 (&((_r)->sring->ring[((_idx) & (RING_SIZE(_r) - 1))].req))
205 (&((_r)->sring->ring[((_idx) & (RING_SIZE(_r) - 1))].rsp))
/include/uapi/linux/
Dvirtio_ring.h111 __virtio16 ring[]; member
128 vring_used_elem_t ring[]; member
190 #define vring_used_event(vr) ((vr)->avail->ring[(vr)->num])
191 #define vring_avail_event(vr) (*(__virtio16 *)&(vr)->used->ring[(vr)->num])
199 vr->used = (void *)(((uintptr_t)&vr->avail->ring[num] + sizeof(__virtio16) in vring_init()
/include/trace/events/
Dkvm.h379 TP_PROTO(struct kvm_dirty_ring *ring, u32 slot, u64 offset),
380 TP_ARGS(ring, slot, offset),
391 __entry->index = ring->index;
392 __entry->dirty_index = ring->dirty_index;
393 __entry->reset_index = ring->reset_index;
406 TP_PROTO(struct kvm_dirty_ring *ring),
407 TP_ARGS(ring),
416 __entry->index = ring->index;
417 __entry->dirty_index = ring->dirty_index;
418 __entry->reset_index = ring->reset_index;
/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/linux/platform_data/
Dcros_ec_sensorhub.h159 struct cros_ec_sensors_ring_sample *ring; member
/include/uapi/drm/
Damdgpu_drm.h433 __u32 ring; member
451 __u32 ring; member
624 __u32 ring; member
630 __u32 ring; member
/include/net/
Dpage_pool.h125 struct ptr_ring ring; member