Defined in 2 files as a macro:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

kernel/printk/printk_ringbuffer.c data_make_reusable() -> desc_read()

Type Parameter Key Value
PARAM_VALUE 0 desc_ring->count_bits 0-31
PARAM_VALUE 2 desc_out 8461450222359695360
PARAM_VALUE 3 seq_out 0
PARAM_VALUE 4 caller_id_out 0
BUF_SIZE 0 desc_ring 48
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 e->irqflags
HALF_LOCKED2 irqflags

kernel/printk/printk_ringbuffer.c desc_push_tail() -> desc_read()

Type Parameter Key Value
PARAM_VALUE 0 desc_ring->count_bits 0-31
PARAM_VALUE 0 desc_ring->tail_id.counter 0-4611686018427387903
PARAM_VALUE 1 id 0-4611686018427387903
PARAM_VALUE 2 desc_out 3434627816079093760
PARAM_VALUE 3 seq_out 0
PARAM_VALUE 4 caller_id_out 0
BUF_SIZE 0 desc_ring 48
CAPPED_DATA 1 id 1
CAPPED_DATA 1 id 1
DATA_SOURCE 1 id $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 e->irqflags
HALF_LOCKED2 irq
HALF_LOCKED2 irqflags

kernel/printk/printk_ringbuffer.c desc_push_tail() -> desc_read()

Type Parameter Key Value
PARAM_VALUE 0 desc_ring 4096-ptr_max
PARAM_VALUE 0 desc_ring->count_bits 0-31
PARAM_VALUE 0 desc_ring->tail_id.counter 0-4611686018427387903
PARAM_VALUE 1 id 0-4611686018427387903
PARAM_VALUE 2 desc_out 3434627816079093760
PARAM_VALUE 3 seq_out 0
PARAM_VALUE 4 caller_id_out 0
BUF_SIZE 0 desc_ring 48
CAPPED_DATA 1 id 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 e->irqflags
HALF_LOCKED2 irq
HALF_LOCKED2 irqflags

kernel/printk/printk_ringbuffer.c desc_read_finalized_seq() -> desc_read()

Type Parameter Key Value
PARAM_VALUE 0 desc_ring 4096-ptr_max
PARAM_VALUE 0 desc_ring->count_bits 0-31
PARAM_VALUE 1 id 0-4611686018427387903
PARAM_VALUE 2 desc_out 1462078056807026688,6701578822815191040
PARAM_VALUE 3 seq_out 5032165683067248640
PARAM_VALUE 4 caller_id_out 0
BUF_SIZE 0 desc_ring 48
DATA_SOURCE 0 desc_ring $0
DATA_SOURCE 1 id $1
DATA_SOURCE 2 desc_out $3
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

kernel/printk/printk_ringbuffer.c desc_reopen_last() -> desc_read()

Type Parameter Key Value
PARAM_VALUE 0 desc_ring 4096-ptr_max
PARAM_VALUE 2 desc_out 6952754758540906496
PARAM_VALUE 3 seq_out 0
PARAM_VALUE 4 caller_id_out 4109509922937778176
BUF_SIZE 0 desc_ring 48
DATA_SOURCE 0 desc_ring $0
BIT_INFO 1 id 0x0,0x7fffffffffffffff
BIT_INFO 1 id 0x0,0x7fffffffffffffff
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 e->irqflags
LOCK2 irqflags

kernel/printk/printk_ringbuffer.c prb_first_seq() -> desc_read()

Type Parameter Key Value
PARAM_VALUE 0 desc_ring->count_bits 0-31
PARAM_VALUE 2 desc_out 2626452528250392576
PARAM_VALUE 3 seq_out 6070669631363649536
PARAM_VALUE 4 caller_id_out 0
BUF_SIZE 0 desc_ring 48
RX_PATH
TASK_NOT_RUNNING