Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/trace/ring_buffer.c rb_buffer_peek() -> rb_advance_reader()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpu_buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | cpu_buffer->lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | cpu_buffer->reader_page | 4096-ptr_max |
| PARAM_VALUE | 0 | cpu_buffer->reader_page->page->time_stamp | 0 |
| DATA_SOURCE | 0 | cpu_buffer | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | 0 | &cpu_buffer->reader_lock |
kernel/trace/ring_buffer.c rb_buffer_peek() -> rb_advance_reader()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpu_buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | cpu_buffer->lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | cpu_buffer->reader_page | 4096-ptr_max |
| PARAM_VALUE | 0 | cpu_buffer->reader_page->page->time_stamp | 0 |
| DATA_SOURCE | 0 | cpu_buffer | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | 0 | &cpu_buffer->reader_lock |
kernel/trace/ring_buffer.c ring_buffer_consume() -> rb_advance_reader()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpu_buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | cpu_buffer->lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | cpu_buffer->lost_events | 0 |
| PARAM_VALUE | 0 | cpu_buffer->reader_page | 4096-ptr_max |
| PARAM_VALUE | 0 | cpu_buffer->reader_page->page->time_stamp | 0 |
| PARAM_VALUE | 0 | *cpu_buffer->ring_meta->buffers | s32min-s32max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | 0 | &cpu_buffer->reader_lock |
kernel/trace/ring_buffer.c ring_buffer_map_get_reader() -> rb_advance_reader()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpu_buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | cpu_buffer->mapping_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cpu_buffer->mapping_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cpu_buffer->mapping_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | cpu_buffer->mapping_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | cpu_buffer->mapping_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cpu_buffer->mapping_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | cpu_buffer->mapping_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | cpu_buffer->reader_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cpu_buffer->reader_lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | cpu_buffer->reader_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | cpu_buffer->reader_page | 4096-ptr_max |
| PARAM_VALUE | 0 | cpu_buffer->reader_page->page | 4096-ptr_max |
| PARAM_VALUE | 0 | cpu_buffer->reader_page->read | 0-1073741822 |
| PARAM_VALUE | 0 | cpu_buffer->user_mapped | 1-u32max |
| CAPPED_DATA | 0 | cpu_buffer->reader_page->read | 1 |
| DATA_SOURCE | 0 | cpu_buffer | r rb_get_mapped_buffer |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &cpu_buffer->reader_lock | |
| TYPE_LOCK | (struct ring_buffer_per_cpu)->reader_lock |
kernel/trace/ring_buffer.c ring_buffer_peek() -> rb_advance_reader()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpu_buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | cpu_buffer->lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | cpu_buffer->reader_page | 4096-ptr_max |
| PARAM_VALUE | 0 | cpu_buffer->reader_page->page->time_stamp | 0 |
| PARAM_VALUE | 0 | *cpu_buffer->ring_meta->buffers | s32min-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| HALF_LOCKED2 | 0 | &cpu_buffer->reader_lock |
kernel/trace/ring_buffer.c ring_buffer_read_page() -> rb_advance_reader()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpu_buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | cpu_buffer->head_page->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cpu_buffer->lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | cpu_buffer->reader_page | 4096-ptr_max |
| PARAM_VALUE | 0 | cpu_buffer->reader_page->page->time_stamp | 0 |
| PARAM_VALUE | 0 | cpu_buffer->reader_page->read | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | irq | ||
| LOCK2 | 0 | &cpu_buffer->reader_lock | |
| HALF_LOCKED2 | global &all_cpu_access_lock | ||
| TYPE_LOCK | (struct ring_buffer_per_cpu)->reader_lock |