Home
last modified time | relevance | path

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

/kernel/printk/
Dprintk_ringbuffer.c769 unsigned long tail_id) in desc_push_tail() argument
775 d_state = desc_read(desc_ring, tail_id, &desc, NULL, NULL); in desc_push_tail()
785 DESC_ID_PREV_WRAP(desc_ring, tail_id)) { in desc_push_tail()
800 desc_make_reusable(desc_ring, tail_id); in desc_push_tail()
825 d_state = desc_read(desc_ring, DESC_ID(tail_id + 1), &desc, in desc_push_tail()
836 atomic_long_cmpxchg(&desc_ring->tail_id, tail_id, in desc_push_tail()
837 DESC_ID(tail_id + 1)); /* LMM(desc_push_tail:B) */ in desc_push_tail()
868 if (atomic_long_read(&desc_ring->tail_id) == tail_id) /* LMM(desc_push_tail:D) */ in desc_push_tail()
915 if (id_prev_wrap == atomic_long_read(&desc_ring->tail_id in desc_reserve()
1846 id = atomic_long_read(&rb->desc_ring.tail_id); /* LMM(prb_first_seq:A) */ in prb_first_seq()
[all …]
Dprintk_ringbuffer.h77 atomic_long_t tail_id; member
261 .tail_id = ATOMIC_INIT(DESC0_ID(descbits)), \
Dprintk.c983 VMCOREINFO_OFFSET(prb_desc_ring, tail_id); in log_buf_vmcoreinfo_setup()