Lines Matching defs:r

49 static inline bool __ptr_ring_full(struct ptr_ring *r)  in __ptr_ring_full()
54 static inline bool ptr_ring_full(struct ptr_ring *r) in ptr_ring_full()
65 static inline bool ptr_ring_full_irq(struct ptr_ring *r) in ptr_ring_full_irq()
76 static inline bool ptr_ring_full_any(struct ptr_ring *r) in ptr_ring_full_any()
88 static inline bool ptr_ring_full_bh(struct ptr_ring *r) in ptr_ring_full_bh()
104 static inline int __ptr_ring_produce(struct ptr_ring *r, void *ptr) in __ptr_ring_produce()
124 static inline int ptr_ring_produce(struct ptr_ring *r, void *ptr) in ptr_ring_produce()
135 static inline int ptr_ring_produce_irq(struct ptr_ring *r, void *ptr) in ptr_ring_produce_irq()
146 static inline int ptr_ring_produce_any(struct ptr_ring *r, void *ptr) in ptr_ring_produce_any()
158 static inline int ptr_ring_produce_bh(struct ptr_ring *r, void *ptr) in ptr_ring_produce_bh()
169 static inline void *__ptr_ring_peek(struct ptr_ring *r) in __ptr_ring_peek()
194 static inline bool __ptr_ring_empty(struct ptr_ring *r) in __ptr_ring_empty()
201 static inline bool ptr_ring_empty(struct ptr_ring *r) in ptr_ring_empty()
212 static inline bool ptr_ring_empty_irq(struct ptr_ring *r) in ptr_ring_empty_irq()
223 static inline bool ptr_ring_empty_any(struct ptr_ring *r) in ptr_ring_empty_any()
235 static inline bool ptr_ring_empty_bh(struct ptr_ring *r) in ptr_ring_empty_bh()
247 static inline void __ptr_ring_discard_one(struct ptr_ring *r) in __ptr_ring_discard_one()
291 static inline void *__ptr_ring_consume(struct ptr_ring *r) in __ptr_ring_consume()
306 static inline int __ptr_ring_consume_batched(struct ptr_ring *r, in __ptr_ring_consume_batched()
327 static inline void *ptr_ring_consume(struct ptr_ring *r) in ptr_ring_consume()
338 static inline void *ptr_ring_consume_irq(struct ptr_ring *r) in ptr_ring_consume_irq()
349 static inline void *ptr_ring_consume_any(struct ptr_ring *r) in ptr_ring_consume_any()
361 static inline void *ptr_ring_consume_bh(struct ptr_ring *r) in ptr_ring_consume_bh()
372 static inline int ptr_ring_consume_batched(struct ptr_ring *r, in ptr_ring_consume_batched()
384 static inline int ptr_ring_consume_batched_irq(struct ptr_ring *r, in ptr_ring_consume_batched_irq()
396 static inline int ptr_ring_consume_batched_any(struct ptr_ring *r, in ptr_ring_consume_batched_any()
409 static inline int ptr_ring_consume_batched_bh(struct ptr_ring *r, in ptr_ring_consume_batched_bh()
425 #define __PTR_RING_PEEK_CALL(r, f) ((f)(__ptr_ring_peek(r))) argument
427 #define PTR_RING_PEEK_CALL(r, f) ({ \ argument
436 #define PTR_RING_PEEK_CALL_IRQ(r, f) ({ \ argument
445 #define PTR_RING_PEEK_CALL_BH(r, f) ({ \ argument
454 #define PTR_RING_PEEK_CALL_ANY(r, f) ({ \ argument
474 static inline void __ptr_ring_set_size(struct ptr_ring *r, int size) in __ptr_ring_set_size()
487 static inline int ptr_ring_init(struct ptr_ring *r, int size, gfp_t gfp) in ptr_ring_init()
511 static inline void ptr_ring_unconsume(struct ptr_ring *r, void **batch, int n, in ptr_ring_unconsume()
558 static inline void **__ptr_ring_swap_queue(struct ptr_ring *r, void **queue, in __ptr_ring_swap_queue()
590 static inline int ptr_ring_resize(struct ptr_ring *r, int size, gfp_t gfp, in ptr_ring_resize()
664 static inline void ptr_ring_cleanup(struct ptr_ring *r, void (*destroy)(void *)) in ptr_ring_cleanup()