Lines Matching defs:data_ring
312 #define DATA_SIZE(data_ring) _DATA_SIZE((data_ring)->size_bits) argument
313 #define DATA_SIZE_MASK(data_ring) (DATA_SIZE(data_ring) - 1) argument
319 #define DATA_INDEX(data_ring, lpos) ((lpos) & DATA_SIZE_MASK(data_ring)) argument
325 #define DATA_WRAPS(data_ring, lpos) ((lpos) >> (data_ring)->size_bits) argument
333 #define DATA_THIS_WRAP_START_LPOS(data_ring, lpos) \ argument
373 static struct prb_data_block *to_block(struct prb_data_ring *data_ring, in to_block()
398 static bool data_check_size(struct prb_data_ring *data_ring, unsigned int size) in data_check_size()
574 struct prb_data_ring *data_ring = &rb->text_data_ring; in data_make_reusable() local
638 struct prb_data_ring *data_ring = &rb->text_data_ring; in data_push_tail() local
1006 static unsigned long get_next_lpos(struct prb_data_ring *data_ring, in get_next_lpos()
1031 struct prb_data_ring *data_ring = &rb->text_data_ring; in data_alloc() local
1116 struct prb_data_ring *data_ring = &rb->text_data_ring; in data_realloc() local
1183 static unsigned int space_used(struct prb_data_ring *data_ring, in space_used()
1213 static const char *get_data(struct prb_data_ring *data_ring, in get_data()
1816 static bool copy_data(struct prb_data_ring *data_ring, in copy_data()