Home
last modified time | relevance | path

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

/kernel/printk/
Dprintk_ringbuffer.c881 unsigned long head_id; in desc_reserve() local
884 head_id = atomic_long_read(&desc_ring->head_id); /* LMM(desc_reserve:A) */ in desc_reserve()
887 id = DESC_ID(head_id + 1); in desc_reserve()
965 } while (!atomic_long_try_cmpxchg(&desc_ring->head_id, &head_id, in desc_reserve()
1269 id = atomic_long_read(&desc_ring->head_id); in desc_reopen_last()
1635 unsigned long head_id; in prb_commit() local
1644 head_id = atomic_long_read(&desc_ring->head_id); /* LMM(prb_commit:A) */ in prb_commit()
1645 if (head_id != e->id) in prb_commit()
2086 atomic_long_set(&rb->desc_ring.head_id, DESC0_ID(descbits)); in prb_init()
Dprintk_ringbuffer.h76 atomic_long_t head_id; member
260 .head_id = ATOMIC_INIT(DESC0_ID(descbits)), \
Dprintk.c937 VMCOREINFO_OFFSET(prb_desc_ring, head_id); in log_buf_vmcoreinfo_setup()