Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/printk/
Dprintk_ringbuffer.h222 #define DESC0_ID(ct_bits) DESC_ID(-(_DESCS_COUNT(ct_bits) + 1)) macro
223 #define DESC0_SV(ct_bits) DESC_SV(DESC0_ID(ct_bits), desc_reusable)
260 .head_id = ATOMIC_INIT(DESC0_ID(descbits)), \
261 .tail_id = ATOMIC_INIT(DESC0_ID(descbits)), \
262 .last_finalized_id = ATOMIC_INIT(DESC0_ID(descbits)), \
Dprintk_ringbuffer.c2086 atomic_long_set(&rb->desc_ring.head_id, DESC0_ID(descbits)); in prb_init()
2087 atomic_long_set(&rb->desc_ring.tail_id, DESC0_ID(descbits)); in prb_init()
2088 atomic_long_set(&rb->desc_ring.last_finalized_id, DESC0_ID(descbits)); in prb_init()