Searched refs:desc_ring (Results 1 – 3 of 3) sorted by relevance
311 #define DESCS_COUNT(desc_ring) _DESCS_COUNT((desc_ring)->count_bits) argument312 #define DESCS_COUNT_MASK(desc_ring) (DESCS_COUNT(desc_ring) - 1) argument318 #define DESC_INDEX(desc_ring, n) ((n) & DESCS_COUNT_MASK(desc_ring)) argument333 #define DESC_ID_PREV_WRAP(desc_ring, id) \ argument334 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() argument357 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() argument366 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 …]
88 struct prb_desc_ring desc_ring; member256 .desc_ring = { \
929 VMCOREINFO_OFFSET(printk_ringbuffer, desc_ring); in log_buf_vmcoreinfo_setup()