Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

kernel/printk/printk_ringbuffer_kunit_test.c prbtest_prb_reinit() -> prb_init()

Type Parameter Key Value
PARAM_VALUE 0 rb 1548666391704272896
PARAM_VALUE 0 rb->desc_ring.count_bits 8
PARAM_VALUE 0 rb->desc_ring.descs 4654423483267223552
PARAM_VALUE 0 rb->desc_ring.head_id.counter 4611686018427387647
PARAM_VALUE 0 rb->desc_ring.infos 5303540069959147520
PARAM_VALUE 0 rb->desc_ring.last_finalized_seq.counter 0
PARAM_VALUE 0 rb->desc_ring.tail_id.counter 4611686018427387647
PARAM_VALUE 0 rb->fail.counter 0
PARAM_VALUE 0 rb->text_data_ring.data 4628938480679534592
PARAM_VALUE 0 rb->text_data_ring.head_lpos.counter (-8192)
PARAM_VALUE 0 rb->text_data_ring.size_bits 13
PARAM_VALUE 0 rb->text_data_ring.tail_lpos.counter (-8192)
PARAM_VALUE 1 text_buf 4628938480679534592
PARAM_VALUE 2 textbits 13
PARAM_VALUE 3 descs 4654423483267223552
PARAM_VALUE 4 descbits 8
PARAM_VALUE 5 infos 5303540069959147520
BUF_SIZE 1 text_buf 8192
DATA_SOURCE 0 rb $0
NOCHECK_CALL

kernel/printk/printk.c setup_log_buf() -> prb_init()

Type Parameter Key Value
PARAM_VALUE 0 rb 8822653311116238848
PARAM_VALUE 1 text_buf 1-u64max
PARAM_VALUE 2 textbits 0-31
PARAM_VALUE 3 descs 1-u64max
PARAM_VALUE 4 descbits 0-31
PARAM_VALUE 5 infos 1-u64max
DATA_SOURCE 1 text_buf r memblock_alloc
DATA_SOURCE 3 descs r memblock_alloc
DATA_SOURCE 5 infos r memblock_alloc
BIT_INFO 2 textbits 0x0,0x1f
BIT_INFO 4 descbits 0x0,0x1f
NOCHECK_CALL
LOCK2 irq