Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/trace/ring_buffer.c rb_allocate_pages() -> rb_check_pages()

Type Parameter Key Value
PARAM_VALUE 0 cpu_buffer 4096-ptr_max
PARAM_VALUE 0 cpu_buffer->buffer 4096-ptr_max
PARAM_VALUE 0 cpu_buffer->buffer->cpumask 1-u64max
PARAM_VALUE 0 cpu_buffer->buffer->remote 0,4096-ptr_max
PARAM_VALUE 0 cpu_buffer->buffer->remote->desc->nr_cpus s32min-(-1),1-s32max
PARAM_VALUE 0 cpu_buffer->cpu 0-s32max
PARAM_VALUE 0 cpu_buffer->irq_work.full_waiters.head.next 4096-ptr_max
PARAM_VALUE 0 cpu_buffer->irq_work.full_waiters.head.next->next 4096-ptr_max
PARAM_VALUE 0 cpu_buffer->irq_work.full_waiters.head.prev 4096-ptr_max
PARAM_VALUE 0 cpu_buffer->irq_work.full_waiters.head.prev->next 4096-ptr_max
PARAM_VALUE 0 cpu_buffer->irq_work.full_waiters.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 cpu_buffer->irq_work.waiters.head.next 4096-ptr_max
PARAM_VALUE 0 cpu_buffer->irq_work.waiters.head.next->next 4096-ptr_max
PARAM_VALUE 0 cpu_buffer->irq_work.waiters.head.prev 4096-ptr_max
PARAM_VALUE 0 cpu_buffer->irq_work.waiters.head.prev->next 4096-ptr_max
PARAM_VALUE 0 cpu_buffer->irq_work.waiters.head.prev->prev 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
PARAM_VALUE 0 cpu_buffer->mapping_lock.magic 4096-ptr_max
PARAM_VALUE 0 cpu_buffer->mapping_lock.owner.counter 0
PARAM_VALUE 0 cpu_buffer->new_pages.next 4096-ptr_max
PARAM_VALUE 0 cpu_buffer->new_pages.next->next 4096-ptr_max
PARAM_VALUE 0 cpu_buffer->new_pages.prev 4096-ptr_max
PARAM_VALUE 0 cpu_buffer->new_pages.prev->next 4096-ptr_max
PARAM_VALUE 0 cpu_buffer->new_pages.prev->prev 4096-ptr_max
PARAM_VALUE 0 cpu_buffer->pages 4821940379118743552
PARAM_VALUE 0 cpu_buffer->pages->next 4821940379118743552
PARAM_VALUE 0 cpu_buffer->reader_lock.magic 3735899821
PARAM_VALUE 0 cpu_buffer->reader_lock.owner (-1)
PARAM_VALUE 0 cpu_buffer->reader_lock.owner_cpu u32max
PARAM_VALUE 0 cpu_buffer->reader_page 4096-ptr_max
PARAM_VALUE 0 cpu_buffer->reader_page->list.next 4096-ptr_max
PARAM_VALUE 0 cpu_buffer->reader_page->list.next->next 4096-ptr_max
PARAM_VALUE 0 cpu_buffer->reader_page->list.prev 4096-ptr_max
PARAM_VALUE 0 cpu_buffer->reader_page->list.prev->next 4096-ptr_max
PARAM_VALUE 0 cpu_buffer->reader_page->list.prev->prev 4096-ptr_max
PARAM_VALUE 0 cpu_buffer->update_done.done 0
PARAM_VALUE 0 cpu_buffer->update_done.wait.lock.magic 3735899821
PARAM_VALUE 0 cpu_buffer->update_done.wait.lock.owner (-1)
PARAM_VALUE 0 cpu_buffer->update_done.wait.lock.owner_cpu u32max
PARAM_VALUE 0 cpu_buffer->update_done.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 cpu_buffer->update_done.wait.task_list.next->next 4096-ptr_max
PARAM_VALUE 0 cpu_buffer->update_done.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 0 cpu_buffer->update_done.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 cpu_buffer->update_done.wait.task_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 *cpu_buffer->subbuf_ids 4096-ptr_max
BUF_SIZE 0 cpu_buffer 0-3047
BUF_SIZE 0 cpu_buffer 0-3047
BUF_SIZE 0 cpu_buffer->buffer (-1)-s32max
BUF_SIZE 0 cpu_buffer->pages 16
BUF_SIZE 0 cpu_buffer->reader_page 0-2103
BUF_SIZE 0 cpu_buffer->subbuf_ids (-1),8
CAPPED_DATA 0 cpu_buffer->nr_pages 1
DATA_SOURCE 0 cpu_buffer $0
BIT_INFO 0 cpu_buffer->lock 0x0,0x7fffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

kernel/trace/ring_buffer.c ring_buffer_read_finish() -> rb_check_pages()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &trace_types_lock

kernel/trace/ring_buffer.c ring_buffer_resize() -> rb_check_pages()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &buffer->mutex
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct trace_buffer)->mutex

kernel/trace/ring_buffer.c ring_buffer_subbuf_order_set() -> rb_check_pages()

Type Parameter Key Value
PARAM_VALUE 0 cpu_buffer 4096-ptr_max
PARAM_VALUE 0 cpu_buffer->commit_page 0,4096-ptr_max
PARAM_VALUE 0 cpu_buffer->free_page 0
PARAM_VALUE 0 cpu_buffer->head_page 0,4096-ptr_max
PARAM_VALUE 0 cpu_buffer->nr_pages_to_update 0
PARAM_VALUE 0 cpu_buffer->reader_lock.dep_map->name 0-255
PARAM_VALUE 0 cpu_buffer->reader_lock.owner (-1)
PARAM_VALUE 0 cpu_buffer->reader_lock.owner_cpu u32max
PARAM_VALUE 0 cpu_buffer->reader_page 4096-ptr_max
PARAM_VALUE 0 cpu_buffer->tail_page 0,4096-ptr_max
BIT_INFO 0 cpu_buffer->nr_pages 0x0,0x7fffffffffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock