Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

kernel/trace/trace_snapshot.c trace_allocate_snapshot() -> allocate_trace_buffer()

Type Parameter Key Value
PARAM_VALUE 0 tr 4096-ptr_max
PARAM_VALUE 0 tr->array_buffer.buffer 4096-ptr_max
PARAM_VALUE 0 tr->array_buffer.buffer->mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 tr->array_buffer.data 4096-ptr_max
PARAM_VALUE 0 tr->array_buffer.tr 4096-ptr_max
PARAM_VALUE 0 tr->array_buffer.tr->name 0,4096-ptr_max
PARAM_VALUE 0 tr->array_buffer.tr->pipe_cpumask 1-u64max
PARAM_VALUE 0 tr->array_buffer.tr->start_lock.magic 3735899821
PARAM_VALUE 0 tr->array_buffer.tr->start_lock.owner (-1)
PARAM_VALUE 0 tr->array_buffer.tr->start_lock.owner_cpu u32max
PARAM_VALUE 0 tr->array_buffer.tr->tracing_cpumask 1-u64max
PARAM_VALUE 0 tr->name 0,4096-ptr_max
PARAM_VALUE 0 tr->pipe_cpumask 1-u64max
PARAM_VALUE 0 tr->range_addr_start 0
PARAM_VALUE 0 tr->range_addr_start->magic 195952365
PARAM_VALUE 0 tr->range_addr_start->struct_sizes 1572904
PARAM_VALUE 0 tr->scratch 0,8-u64max
PARAM_VALUE 0 tr->start_lock.magic 3735899821
PARAM_VALUE 0 tr->start_lock.owner (-1)
PARAM_VALUE 0 tr->start_lock.owner_cpu u32max
PARAM_VALUE 0 tr->tracing_cpumask 1-u64max
PARAM_VALUE 1 buf 4096-ptr_max
BUF_SIZE 0 tr (-1),8568
BUF_SIZE 0 tr (-1),8568
BUF_SIZE 0 tr->current_trace (-1),168
DATA_SOURCE 0 tr $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 tr->array_buffer.tr->range_addr_size
NO_OVERFLOW_SIMPLE 0 tr->range_addr_size
HALF_LOCKED2 irq

kernel/trace/trace.c allocate_trace_buffers() -> allocate_trace_buffer()

Type Parameter Key Value
PARAM_VALUE 0 tr 4096-ptr_max
PARAM_VALUE 0 tr->name 0,4096-ptr_max
PARAM_VALUE 0 tr->pipe_cpumask 1-u64max
PARAM_VALUE 0 tr->start_lock.magic 3735899821
PARAM_VALUE 0 tr->start_lock.owner (-1)
PARAM_VALUE 0 tr->start_lock.owner_cpu u32max
PARAM_VALUE 0 tr->tracing_cpumask 1-u64max
PARAM_VALUE 1 buf 4096-ptr_max
BUF_SIZE 0 tr (-1),8568
BUF_SIZE 0 tr (-1),8568
BUF_SIZE 0 tr->current_trace (-1),168
DATA_SOURCE 0 tr $0
DATA_SOURCE 2 size $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 tr->range_addr_size 1-u64max
NO_OVERFLOW_SIMPLE 0 tr->range_addr_size
HALF_LOCKED2 irq