Home
last modified time | relevance | path

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

/kernel/printk/
Dprintk_ringbuffer.c311 #define DESCS_COUNT(desc_ring) _DESCS_COUNT((desc_ring)->count_bits) argument
312 #define DESCS_COUNT_MASK(desc_ring) (DESCS_COUNT(desc_ring) - 1) argument
318 #define DESC_INDEX(desc_ring, n) ((n) & DESCS_COUNT_MASK(desc_ring)) argument
333 #define DESC_ID_PREV_WRAP(desc_ring, id) \ argument
334 DESC_ID((id) - DESCS_COUNT(desc_ring))
355 static struct prb_desc *to_desc(struct prb_desc_ring *desc_ring, u64 n) in to_desc() argument
357 return &desc_ring->descs[DESC_INDEX(desc_ring, n)]; in to_desc()
364 static struct printk_info *to_info(struct prb_desc_ring *desc_ring, u64 n) in to_info() argument
366 return &desc_ring->infos[DESC_INDEX(desc_ring, n)]; in to_info()
432 static enum desc_state desc_read(struct prb_desc_ring *desc_ring, in desc_read() argument
[all …]
Dprintk_ringbuffer.h88 struct prb_desc_ring desc_ring; member
256 .desc_ring = { \
Dprintk.c929 VMCOREINFO_OFFSET(printk_ringbuffer, desc_ring); in log_buf_vmcoreinfo_setup()