Searched refs:ring (Results 1 – 5 of 5) sorted by relevance
121 struct ring { struct135 static inline unsigned int ring_next_head(const volatile struct ring *ring) in ring_next_head() argument137 return (ring->head + 1) & (RING_SIZE - 1); in ring_next_head()140 static inline unsigned int ring_next_tail(const volatile struct ring *ring) in ring_next_tail() argument142 return (ring->tail + 1) & (RING_SIZE - 1); in ring_next_tail()145 static inline int ring_have_space(const volatile struct ring *ring) in ring_have_space() argument148 GDB_INVALIDATE(&ring->tail); in ring_have_space()150 return ring_next_head(ring) != ring->tail; in ring_have_space()153 static inline int ring_have_data(const volatile struct ring *ring) in ring_have_data() argument156 GDB_INVALIDATE(&ring->head); in ring_have_data()[all …]
138 res.to_host_large_xfer.ring = in asg_context_create()142 res.from_host_large_xfer.ring = in asg_context_create()158 res.to_host_large_xfer.ring, in asg_context_create()163 res.from_host_large_xfer.ring, in asg_context_create()
479 m_context.to_host_large_xfer.ring, in writeFully()536 m_context.from_host_large_xfer.ring, in speculativeRead()552 m_context.from_host_large_xfer.ring, in speculativeRead()627 m_context.to_host_large_xfer.ring, in ensureType3Finished()633 m_context.to_host_large_xfer.ring, in ensureType3Finished()
20 "ring.cpp",
77 struct ring_buffer* ring; member