Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/trace/ring_buffer.c rb_advance_reader() -> rb_get_reader_page()

Type Parameter Key Value
PARAM_VALUE 0 cpu_buffer 4096-ptr_max
PARAM_VALUE 0 cpu_buffer->reader_page 4096-ptr_max
DATA_SOURCE 0 cpu_buffer $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 flags
HALF_LOCKED2 irq
HALF_LOCKED2 0 &cpu_buffer->reader_lock

kernel/trace/ring_buffer.c rb_buffer_peek() -> rb_get_reader_page()

Type Parameter Key Value
PARAM_VALUE 0 cpu_buffer 4096-ptr_max
DATA_SOURCE 0 cpu_buffer $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 flags
HALF_LOCKED2 0 &cpu_buffer->reader_lock

kernel/trace/ring_buffer.c ring_buffer_map_get_reader() -> rb_get_reader_page()

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->user_mapped 1-u32max
DATA_SOURCE 0 cpu_buffer r rb_get_mapped_buffer
PARAM_COMPARE 0 cpu_buffer->commit_page != $0->reader_page
PREEMPT_ADD <- disables preempt
LOCK2 flags
LOCK2 0 &cpu_buffer->reader_lock
TYPE_LOCK (struct ring_buffer_per_cpu)->reader_lock

kernel/trace/ring_buffer.c ring_buffer_read_page() -> rb_get_reader_page()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 irq
LOCK2 0 &cpu_buffer->reader_lock
HALF_LOCKED2 global &all_cpu_access_lock
TYPE_LOCK (struct ring_buffer_per_cpu)->reader_lock