Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/printk/printk_ringbuffer.c prb_reserve() -> data_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rb | 4096-ptr_max |
| PARAM_VALUE | 0 | rb->desc_ring.count_bits | 0-31 |
| PARAM_VALUE | 1 | size | 0-u16max |
| PARAM_VALUE | 2 | blk_lpos | 4096-ptr_max |
| PARAM_VALUE | 3 | id | 0-4611686018427387903 |
| CAPPED_DATA | 1 | size | 1 |
| DATA_SOURCE | 0 | rb | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | size | unit_byte |
| LOCK2 | e->irqflags | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | irqflags |
kernel/printk/printk_ringbuffer.c prb_reserve_in_last() -> data_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rb->desc_ring.head_id.counter | 0-4611686018427387903 |
| PARAM_VALUE | 1 | size | 0-1024 |
| PARAM_VALUE | 2 | blk_lpos | 4096-ptr_max |
| PARAM_VALUE | 3 | id | 0-4611686018427387903 |
| CAPPED_DATA | 1 | size | 1 |
| DATA_SOURCE | 0 | rb | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | size | unit_byte |
| LOCK2 | e->irqflags | ||
| LOCK2 | irqflags |