Lines Matching refs:descbits
233 #define _DEFINE_PRINTKRB(name, descbits, avgtextbits, text_buf) \ argument
234 static struct prb_desc _##name##_descs[_DESCS_COUNT(descbits)] = { \
236 [_DESCS_COUNT(descbits) - 1] = { \
238 .state_var = ATOMIC_INIT(DESC0_SV(descbits)), \
243 static struct printk_info _##name##_infos[_DESCS_COUNT(descbits)] = { \
247 .seq = -(u64)_DESCS_COUNT(descbits), \
250 [_DESCS_COUNT(descbits) - 1] = { \
257 .count_bits = descbits, \
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)), \
265 .size_bits = (avgtextbits) + (descbits), \
267 .head_lpos = ATOMIC_LONG_INIT(BLK0_LPOS((avgtextbits) + (descbits))), \
268 .tail_lpos = ATOMIC_LONG_INIT(BLK0_LPOS((avgtextbits) + (descbits))), \
284 #define DEFINE_PRINTKRB(name, descbits, avgtextbits) \ argument
285 static char _##name##_text[1U << ((avgtextbits) + (descbits))] \
287 _DEFINE_PRINTKRB(name, descbits, avgtextbits, &_##name##_text[0])