Home
last modified time | relevance | path

Searched refs:lpos (Results 1 – 1 of 1) sorted by relevance

/kernel/printk/
Dprintk_ringbuffer.c315 #define DATA_INDEX(data_ring, lpos) ((lpos) & DATA_SIZE_MASK(data_ring)) argument
321 #define DATA_WRAPS(data_ring, lpos) ((lpos) >> (data_ring)->size_bits) argument
324 #define LPOS_DATALESS(lpos) ((lpos) & 1UL) argument
329 #define DATA_THIS_WRAP_START_LPOS(data_ring, lpos) \ argument
330 ((lpos) & ~DATA_SIZE_MASK(data_ring))
632 static bool data_push_tail(struct printk_ringbuffer *rb, unsigned long lpos) in data_push_tail() argument
640 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 …]