Lines Matching defs:r
53 static inline bool __ptr_ring_full(struct ptr_ring *r) in __ptr_ring_full()
58 static inline bool ptr_ring_full(struct ptr_ring *r) in ptr_ring_full()
69 static inline bool ptr_ring_full_irq(struct ptr_ring *r) in ptr_ring_full_irq()
80 static inline bool ptr_ring_full_any(struct ptr_ring *r) in ptr_ring_full_any()
92 static inline bool ptr_ring_full_bh(struct ptr_ring *r) in ptr_ring_full_bh()
108 static inline int __ptr_ring_produce(struct ptr_ring *r, void *ptr) in __ptr_ring_produce()
128 static inline int ptr_ring_produce(struct ptr_ring *r, void *ptr) in ptr_ring_produce()
139 static inline int ptr_ring_produce_irq(struct ptr_ring *r, void *ptr) in ptr_ring_produce_irq()
150 static inline int ptr_ring_produce_any(struct ptr_ring *r, void *ptr) in ptr_ring_produce_any()
162 static inline int ptr_ring_produce_bh(struct ptr_ring *r, void *ptr) in ptr_ring_produce_bh()
173 static inline void *__ptr_ring_peek(struct ptr_ring *r) in __ptr_ring_peek()
198 static inline bool __ptr_ring_empty(struct ptr_ring *r) in __ptr_ring_empty()
205 static inline bool ptr_ring_empty(struct ptr_ring *r) in ptr_ring_empty()
216 static inline bool ptr_ring_empty_irq(struct ptr_ring *r) in ptr_ring_empty_irq()
227 static inline bool ptr_ring_empty_any(struct ptr_ring *r) in ptr_ring_empty_any()
239 static inline bool ptr_ring_empty_bh(struct ptr_ring *r) in ptr_ring_empty_bh()
251 static inline void __ptr_ring_discard_one(struct ptr_ring *r) in __ptr_ring_discard_one()
295 static inline void *__ptr_ring_consume(struct ptr_ring *r) in __ptr_ring_consume()
310 static inline int __ptr_ring_consume_batched(struct ptr_ring *r, in __ptr_ring_consume_batched()
331 static inline void *ptr_ring_consume(struct ptr_ring *r) in ptr_ring_consume()
342 static inline void *ptr_ring_consume_irq(struct ptr_ring *r) in ptr_ring_consume_irq()
353 static inline void *ptr_ring_consume_any(struct ptr_ring *r) in ptr_ring_consume_any()
365 static inline void *ptr_ring_consume_bh(struct ptr_ring *r) in ptr_ring_consume_bh()
376 static inline int ptr_ring_consume_batched(struct ptr_ring *r, in ptr_ring_consume_batched()
388 static inline int ptr_ring_consume_batched_irq(struct ptr_ring *r, in ptr_ring_consume_batched_irq()
400 static inline int ptr_ring_consume_batched_any(struct ptr_ring *r, in ptr_ring_consume_batched_any()
413 static inline int ptr_ring_consume_batched_bh(struct ptr_ring *r, in ptr_ring_consume_batched_bh()
429 #define __PTR_RING_PEEK_CALL(r, f) ((f)(__ptr_ring_peek(r))) argument
431 #define PTR_RING_PEEK_CALL(r, f) ({ \ argument
440 #define PTR_RING_PEEK_CALL_IRQ(r, f) ({ \ argument
449 #define PTR_RING_PEEK_CALL_BH(r, f) ({ \ argument
458 #define PTR_RING_PEEK_CALL_ANY(r, f) ({ \ argument
478 static inline void __ptr_ring_set_size(struct ptr_ring *r, int size) in __ptr_ring_set_size()
491 static inline int ptr_ring_init(struct ptr_ring *r, int size, gfp_t gfp) in ptr_ring_init()
515 static inline void ptr_ring_unconsume(struct ptr_ring *r, void **batch, int n, in ptr_ring_unconsume()
562 static inline void **__ptr_ring_swap_queue(struct ptr_ring *r, void **queue, in __ptr_ring_swap_queue()
594 static inline int ptr_ring_resize(struct ptr_ring *r, int size, gfp_t gfp, in ptr_ring_resize()
668 static inline void ptr_ring_cleanup(struct ptr_ring *r, void (*destroy)(void *)) in ptr_ring_cleanup()