Defined in 1 files as a macro:

Defined in 2 files as a function:

Referenced in 3 files:

Smatch caller information:

kernel/printk/printk_ringbuffer.c _prb_commit() -> to_desc()

Type Parameter Key Value
PARAM_VALUE 1 n 0-4611686018427387903
BUF_SIZE 0 desc_ring 48
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 e.irqflags
HALF_LOCKED2 irqflags

kernel/printk/printk_ringbuffer.c desc_make_final() -> to_desc()

Type Parameter Key Value
PARAM_VALUE 0 desc_ring->count_bits 0-31
PARAM_VALUE 1 n 0-4611686018427387903
BUF_SIZE 0 desc_ring 48
DATA_SOURCE 1 n $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 e->irqflags
HALF_LOCKED2 irqflags

kernel/printk/printk_ringbuffer.c desc_make_reusable() -> to_desc()

Type Parameter Key Value
PARAM_VALUE 0 desc_ring 4096-ptr_max
PARAM_VALUE 0 desc_ring->count_bits 0-31
PARAM_VALUE 1 n 0-4611686018427387903
BUF_SIZE 0 desc_ring 48
CAPPED_DATA 1 n 1
CAPPED_DATA 1 n 1
DATA_SOURCE 0 desc_ring $0
DATA_SOURCE 1 n $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 e->irqflags
HALF_LOCKED2 irqflags

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

Type Parameter Key Value
PARAM_VALUE 0 desc_ring 4096-ptr_max
BUF_SIZE 0 desc_ring 48
DATA_SOURCE 0 desc_ring $0
DATA_SOURCE 1 n $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 e->irqflags
HALF_LOCKED2 irqflags

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

Type Parameter Key Value
PARAM_VALUE 0 desc_ring 4096-ptr_max
PARAM_VALUE 1 n 0-4611686018427387903
BUF_SIZE 0 desc_ring 48
CAPPED_DATA 1 n 1
CAPPED_DATA 1 n 1
DATA_SOURCE 0 desc_ring $0
BIT_INFO 1 n 0x0,0x7fffffffffffffff
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 e->irqflags
LOCK2 irqflags

kernel/printk/printk_ringbuffer.c desc_reserve() -> to_desc()

Type Parameter Key Value
PARAM_VALUE 0 desc_ring 4096-ptr_max
PARAM_VALUE 0 desc_ring->count_bits 0-31
PARAM_VALUE 1 n 0-4611686018427387903
BUF_SIZE 0 desc_ring 48
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 e->irqflags
HALF_LOCKED2 irq
HALF_LOCKED2 irqflags

kernel/printk/printk_ringbuffer.c prb_next_reserve_seq() -> to_desc()

Type Parameter Key Value
PARAM_VALUE 0 desc_ring 4096-ptr_max
BUF_SIZE 0 desc_ring 48
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 flags
HALF_LOCKED2 irq

kernel/printk/printk_ringbuffer.c prb_read() -> to_desc()

Type Parameter Key Value
PARAM_VALUE 0 desc_ring 4096-ptr_max
PARAM_VALUE 0 desc_ring->count_bits 0-31
BUF_SIZE 0 desc_ring 48
DATA_SOURCE 1 n $1
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 n 0-u64max

kernel/printk/printk_ringbuffer.c prb_reserve() -> to_desc()

Type Parameter Key Value
PARAM_VALUE 0 desc_ring->count_bits 0-31
PARAM_VALUE 1 n 0-4611686018427387903
BUF_SIZE 0 desc_ring 48
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 e->irqflags
HALF_LOCKED2 irq
HALF_LOCKED2 irqflags