Searched refs:lpos (Results 1 – 1 of 1) sorted by relevance
315 #define DATA_INDEX(data_ring, lpos) ((lpos) & DATA_SIZE_MASK(data_ring)) argument321 #define DATA_WRAPS(data_ring, lpos) ((lpos) >> (data_ring)->size_bits) argument324 #define LPOS_DATALESS(lpos) ((lpos) & 1UL) argument329 #define DATA_THIS_WRAP_START_LPOS(data_ring, lpos) \ argument330 ((lpos) & ~DATA_SIZE_MASK(data_ring))632 static bool data_push_tail(struct printk_ringbuffer *rb, unsigned long lpos) in data_push_tail() argument640 if (LPOS_DATALESS(lpos)) in data_push_tail()670 while ((lpos - tail_lpos) - 1 < DATA_SIZE(data_ring)) { in data_push_tail()675 if (!data_make_reusable(rb, tail_lpos, lpos, &next_lpos)) { in data_push_tail()1003 unsigned long lpos, unsigned int size) in get_next_lpos() argument[all …]