Documented in 1 files:
Defined in 1 files as a function:
Referenced in 3 files:
- kernel/printk/printk.c
- kernel/printk/printk_ringbuffer.c, line 2278
- kernel/printk/printk_ringbuffer_kunit_test.c, line 197
Smatch caller information:
kernel/printk/printk_ringbuffer_kunit_test.c prbtest_reader() -> prb_rec_init_rd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 7768633291781369856 |
| PARAM_VALUE | 1 | info | 1587787889928577024 |
| PARAM_VALUE | 2 | text_buf | 5223409728738578432 |
| PARAM_VALUE | 3 | text_buf_size | 132 |
| BUF_SIZE | 2 | text_buf | 132 |
| NOCHECK_CALL | |||
| UNITS | 3 | text_buf_size | unit_byte |
kernel/printk/printk.c kmsg_dump_get_buffer() -> prb_rec_init_rd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 6291054084140023808 |
| PARAM_VALUE | 1 | info | 7811777040499580928 |
| PARAM_VALUE | 2 | text_buf | 4096-ptr_max |
| BUF_SIZE | 2 | text_buf | (-1),512 |
| BUF_SIZE | 2 | text_buf | (-1),512 |
| DATA_SOURCE | 2 | text_buf | $2 |
| DATA_SOURCE | 3 | text_buf_size | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | text_buf | unit_byte |
| UNITS | 3 | text_buf_size | unit_byte |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &psinfo->buf_lock | ||
| HALF_LOCKED2 | rcu_read |
kernel/printk/printk.c kmsg_dump_get_buffer() -> prb_rec_init_rd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 6291054084140023808 |
| PARAM_VALUE | 0 | r->info | 7811777040499580928 |
| PARAM_VALUE | 1 | info | 7811777040499580928 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | text_buf | unit_byte |
| UNITS | 3 | text_buf_size | unit_byte |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &psinfo->buf_lock | ||
| HALF_LOCKED2 | rcu_read |
kernel/printk/printk.c kmsg_dump_get_line() -> prb_rec_init_rd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 7611672691623514112 |
| PARAM_VALUE | 1 | info | 915431398805868544 |
| PARAM_VALUE | 2 | text_buf | 0,5717528320079499264 |
| PARAM_VALUE | 3 | text_buf_size | 0,201 |
| BUF_SIZE | 2 | text_buf | (-1),201 |
| BUF_SIZE | 2 | text_buf | (-1),201 |
| DATA_SOURCE | 2 | text_buf | $2 |
| DATA_SOURCE | 3 | text_buf_size | $3 |
| NOCHECK_CALL | |||
| UNITS | 3 | text_buf_size | unit_byte |
| HALF_LOCKED2 | rcu_read |
kernel/printk/printk.c printk_get_next_message() -> prb_rec_init_rd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 4115071307628265472 |
| PARAM_VALUE | 1 | info | 7526117390693183488 |
| PARAM_VALUE | 2 | text_buf | 4096-ptr_max |
| PARAM_VALUE | 3 | text_buf_size | 1024 |
| BUF_SIZE | 2 | text_buf | 1024 |
| BUF_SIZE | 2 | text_buf | 1024 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 3 | text_buf_size | unit_byte |
| HALF_LOCKED2 | &user->lock |
kernel/printk/printk.c printk_get_next_message() -> prb_rec_init_rd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 4115071307628265472 |
| PARAM_VALUE | 1 | info | 7526117390693183488 |
| PARAM_VALUE | 2 | text_buf | 4096-ptr_max |
| PARAM_VALUE | 3 | text_buf_size | 2048 |
| BUF_SIZE | 2 | text_buf | 2048 |
| BUF_SIZE | 2 | text_buf | 2048 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 3 | text_buf_size | unit_byte |
kernel/printk/printk.c setup_log_buf() -> prb_rec_init_rd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 5853890965509390336 |
| PARAM_VALUE | 1 | info | 1372526459607470080 |
| PARAM_VALUE | 2 | text_buf | 523419946706395136 |
| PARAM_VALUE | 3 | text_buf_size | 1024 |
| BUF_SIZE | 2 | text_buf | 1024 |
| NOCHECK_CALL | |||
| UNITS | 3 | text_buf_size | unit_byte |
| LOCK2 | irq |
kernel/printk/printk.c syslog_print() -> prb_rec_init_rd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 1188496729551286272 |
| PARAM_VALUE | 1 | info | 4753443793594986496 |
| PARAM_VALUE | 2 | text_buf | 4096-ptr_max |
| PARAM_VALUE | 3 | text_buf_size | 2048 |
| BUF_SIZE | 2 | text_buf | 2048 |
| BUF_SIZE | 2 | text_buf | 2048 |
| DATA_SOURCE | 2 | text_buf | r _kmalloc_noprof |
| RX_PATH | |||
| NOCHECK_CALL |
kernel/printk/printk.c syslog_print_all() -> prb_rec_init_rd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 752610360589729792 |
| PARAM_VALUE | 1 | info | 5330263386491826176 |
| PARAM_VALUE | 2 | text_buf | 4096-ptr_max |
| PARAM_VALUE | 3 | text_buf_size | 2048 |
| BUF_SIZE | 2 | text_buf | 2048 |
| BUF_SIZE | 2 | text_buf | 2048 |
| DATA_SOURCE | 2 | text_buf | r _kmalloc_noprof |
| RX_PATH | |||
| NOCHECK_CALL |
kernel/printk/printk_ringbuffer.c prb_read_valid_info() -> prb_rec_init_rd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 4660128543695118336 |
| PARAM_VALUE | 1 | info | 50929772802359296,915431398805868544,7811777040499580928,8535497901130526720,8554082729729974272 |
| PARAM_VALUE | 2 | text_buf | 0 |
| PARAM_VALUE | 3 | text_buf_size | 0 |
| DATA_SOURCE | 1 | info | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &syslog_lock |