Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/trace/ring_buffer.c rb_meta_validate_events() -> rb_validate_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bpage | 4096-ptr_max |
| PARAM_VALUE | 0 | bpage->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | bpage->list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->buffer | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->buffer->cpumask | 1-u64max |
| PARAM_VALUE | 1 | cpu_buffer->buffer->remote | 0,4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->buffer->remote->desc->nr_cpus | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | cpu_buffer->cpu | 0-s32max |
| PARAM_VALUE | 1 | cpu_buffer->head_page | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->head_page->page | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->irq_work.full_waiters.head.next | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->irq_work.full_waiters.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->irq_work.full_waiters.head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->irq_work.full_waiters.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->irq_work.full_waiters.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->irq_work.waiters.head.next | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->irq_work.waiters.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->irq_work.waiters.head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->irq_work.waiters.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->irq_work.waiters.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->mapping_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | cpu_buffer->mapping_lock.first_waiter | 0 |
| PARAM_VALUE | 1 | cpu_buffer->mapping_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->mapping_lock.owner.counter | 0 |
| PARAM_VALUE | 1 | cpu_buffer->new_pages.next | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->new_pages.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->new_pages.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->new_pages.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->new_pages.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->pages | 4821940379118743552 |
| PARAM_VALUE | 1 | cpu_buffer->pages->next | 4821940379118743552 |
| PARAM_VALUE | 1 | cpu_buffer->pages->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->reader_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | cpu_buffer->reader_page | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->reader_page->list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->reader_page->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->reader_page->list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->reader_page->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->reader_page->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->ring_meta | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->ring_meta->head_buffer | 1-u64max |
| PARAM_VALUE | 1 | cpu_buffer->update_done.done | 0 |
| PARAM_VALUE | 1 | cpu_buffer->update_done.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 1 | cpu_buffer->update_done.wait.lock.owner | (-1) |
| PARAM_VALUE | 1 | cpu_buffer->update_done.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | cpu_buffer->update_done.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->update_done.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->update_done.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->update_done.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->update_done.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | *cpu_buffer->subbuf_ids | 4096-ptr_max |
| PARAM_VALUE | 2 | meta | 4096-ptr_max |
| PARAM_VALUE | 2 | meta->head_buffer | 1-u64max |
| PARAM_VALUE | 3 | state | 251766758500261888 |
| PARAM_VALUE | 3 | state->discarded | 0 |
| PARAM_VALUE | 3 | state->entries | 0 |
| PARAM_VALUE | 3 | state->entry_bytes | 0 |
| PARAM_VALUE | 4 | prev_ts | 0 |
| BUF_SIZE | 0 | bpage | 0-2103 |
| BUF_SIZE | 0 | bpage | 0-2103 |
| BUF_SIZE | 1 | cpu_buffer | 0-3047 |
| BUF_SIZE | 1 | cpu_buffer | 0-3047 |
| BUF_SIZE | 1 | cpu_buffer->buffer | (-1)-s32max |
| BUF_SIZE | 1 | cpu_buffer->reader_page | 0-2103 |
| BUF_SIZE | 1 | cpu_buffer->subbuf_ids | (-1),8 |
| DATA_SOURCE | 1 | cpu_buffer | $0 |
| BIT_INFO | 1 | cpu_buffer->lock | 0x0,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
kernel/trace/ring_buffer.c rb_meta_validate_events() -> rb_validate_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bpage | 4096-ptr_max |
| PARAM_VALUE | 0 | bpage->page | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->buffer | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->buffer->cpumask | 1-u64max |
| PARAM_VALUE | 1 | cpu_buffer->buffer->remote | 0,4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->buffer->remote->desc->nr_cpus | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | cpu_buffer->cpu | 0-s32max |
| PARAM_VALUE | 1 | cpu_buffer->head_page | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->head_page->page | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->irq_work.full_waiters.head.next | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->irq_work.full_waiters.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->irq_work.full_waiters.head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->irq_work.full_waiters.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->irq_work.full_waiters.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->irq_work.waiters.head.next | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->irq_work.waiters.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->irq_work.waiters.head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->irq_work.waiters.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->irq_work.waiters.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->mapping_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | cpu_buffer->mapping_lock.first_waiter | 0 |
| PARAM_VALUE | 1 | cpu_buffer->mapping_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->mapping_lock.owner.counter | 0 |
| PARAM_VALUE | 1 | cpu_buffer->new_pages.next | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->new_pages.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->new_pages.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->new_pages.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->new_pages.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->pages | 4821940379118743552 |
| PARAM_VALUE | 1 | cpu_buffer->pages->next | 4821940379118743552 |
| PARAM_VALUE | 1 | cpu_buffer->pages->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->reader_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | cpu_buffer->reader_page | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->reader_page->list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->reader_page->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->reader_page->list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->reader_page->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->reader_page->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->reader_page->page | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->ring_meta | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->ring_meta->head_buffer | 1-u64max |
| PARAM_VALUE | 1 | cpu_buffer->update_done.done | 0 |
| PARAM_VALUE | 1 | cpu_buffer->update_done.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 1 | cpu_buffer->update_done.wait.lock.owner | (-1) |
| PARAM_VALUE | 1 | cpu_buffer->update_done.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | cpu_buffer->update_done.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->update_done.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->update_done.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->update_done.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->update_done.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | *cpu_buffer->subbuf_ids | 4096-ptr_max |
| PARAM_VALUE | 2 | meta | 4096-ptr_max |
| PARAM_VALUE | 2 | meta->head_buffer | 1-u64max |
| PARAM_VALUE | 3 | state | 251766758500261888 |
| PARAM_VALUE | 3 | state->discarded | 0-2 |
| PARAM_VALUE | 3 | state->entries | 0-4294967294 |
| PARAM_VALUE | 3 | state->entry_bytes | 0-2147483646 |
| PARAM_VALUE | 4 | prev_ts | 0 |
| BUF_SIZE | 1 | cpu_buffer | 0-3047 |
| BUF_SIZE | 1 | cpu_buffer | 0-3047 |
| BUF_SIZE | 1 | cpu_buffer->buffer | (-1)-s32max |
| BUF_SIZE | 1 | cpu_buffer->reader_page | 0-2103 |
| BUF_SIZE | 1 | cpu_buffer->subbuf_ids | (-1),8 |
| DATA_SOURCE | 1 | cpu_buffer | $0 |
| PARAM_COMPARE | 0 | bpage | != $1->tail_page |
| PARAM_COMPARE | 1 | cpu_buffer->tail_page | != $0 |
| BIT_INFO | 1 | cpu_buffer->lock | 0x0,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
kernel/trace/ring_buffer.c rb_meta_validate_events() -> rb_validate_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bpage | 0,4-u64max |
| PARAM_VALUE | 0 | bpage->page | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->buffer | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->buffer->cpumask | 1-u64max |
| PARAM_VALUE | 1 | cpu_buffer->buffer->remote | 0,4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->buffer->remote->desc->nr_cpus | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | cpu_buffer->cpu | 0-s32max |
| PARAM_VALUE | 1 | cpu_buffer->head_page | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->head_page->page | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->irq_work.full_waiters.head.next | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->irq_work.full_waiters.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->irq_work.full_waiters.head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->irq_work.full_waiters.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->irq_work.full_waiters.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->irq_work.waiters.head.next | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->irq_work.waiters.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->irq_work.waiters.head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->irq_work.waiters.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->irq_work.waiters.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->mapping_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | cpu_buffer->mapping_lock.first_waiter | 0 |
| PARAM_VALUE | 1 | cpu_buffer->mapping_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->mapping_lock.owner.counter | 0 |
| PARAM_VALUE | 1 | cpu_buffer->new_pages.next | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->new_pages.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->new_pages.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->new_pages.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->new_pages.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->pages | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->pages->next | 4821940379118743552 |
| PARAM_VALUE | 1 | cpu_buffer->pages->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->reader_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | cpu_buffer->reader_page | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->reader_page->list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->reader_page->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->reader_page->list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->reader_page->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->reader_page->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->reader_page->page | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->ring_meta | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->update_done.done | 0 |
| PARAM_VALUE | 1 | cpu_buffer->update_done.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 1 | cpu_buffer->update_done.wait.lock.owner | (-1) |
| PARAM_VALUE | 1 | cpu_buffer->update_done.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | cpu_buffer->update_done.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->update_done.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->update_done.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->update_done.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_buffer->update_done.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | *cpu_buffer->subbuf_ids | 4096-ptr_max |
| PARAM_VALUE | 2 | meta | 4096-ptr_max |
| PARAM_VALUE | 3 | state | 251766758500261888 |
| PARAM_VALUE | 3 | state->discarded | 0-3 |
| PARAM_VALUE | 3 | state->entries | 0-6442450941 |
| PARAM_VALUE | 3 | state->entry_bytes | 0-3221225469 |
| PARAM_VALUE | 5 | next_ts | 0 |
| BUF_SIZE | 1 | cpu_buffer | 0-3047 |
| BUF_SIZE | 1 | cpu_buffer | 0-3047 |
| BUF_SIZE | 1 | cpu_buffer->buffer | (-1)-s32max |
| BUF_SIZE | 1 | cpu_buffer->reader_page | (-1)-2103 |
| BUF_SIZE | 1 | cpu_buffer->subbuf_ids | (-1),8 |
| DATA_SOURCE | 1 | cpu_buffer | $0 |
| PARAM_COMPARE | 1 | cpu_buffer->reader_page->page | != $2->commit_buffer |
| BIT_INFO | 1 | cpu_buffer->lock | 0x0,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |