Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 3 files:

Smatch caller information:

kernel/trace/trace_snapshot.c tracing_arm_snapshot_locked() -> tracing_alloc_snapshot_instance()

Type Parameter Key Value
PARAM_VALUE 0 tr 4096-ptr_max
PARAM_VALUE 0 tr->mapped 0
PARAM_VALUE 0 tr->snapshot_trigger_lock.rlock.dep_map->name 0-255
BUF_SIZE 0 tr s32min-(-1),1-s32max
BUF_SIZE 0 tr s32min-(-1),1-s32max
BUF_SIZE 0 tr->current_trace (-1),168
DATA_SOURCE 0 tr $0
STR_LEN 0 tr (-1),99
STR_LEN 0 tr (-1),99
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 tr->range_addr_size 1-u64max[c]
NO_OVERFLOW_SIMPLE 0 tr->array_buffer.tr->range_addr_size
NO_OVERFLOW_SIMPLE 0 tr->range_addr_size
NO_OVERFLOW_SIMPLE 0 tr->snapshot_buffer.tr->range_addr_size
UNITS 0 tr unit_array_size
LOCK2 _T->lock

kernel/trace/trace.c tracing_alloc_snapshot() -> tracing_alloc_snapshot_instance()

Type Parameter Key Value
PARAM_VALUE 0 tr 69249725370638336
BUF_SIZE 0 tr 8568

kernel/trace/trace_boot.c trace_boot_enable_tracer() -> tracing_alloc_snapshot_instance()

Type Parameter Key Value
PARAM_VALUE 0 tr 4096-ptr_max
PARAM_VALUE 0 tr->array_buffer.buffer 0,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 0,4096-ptr_max
PARAM_VALUE 0 tr->array_buffer.tr 0,4096-ptr_max
PARAM_VALUE 0 tr->buffer_disabled 0-1
PARAM_VALUE 0 tr->clock_id 0-9
PARAM_VALUE 0 tr->d_max_latency 0,4096-ptr_max
PARAM_VALUE 0 tr->dir->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 tr->dir->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 tr->filtered_no_pids 0
PARAM_VALUE 0 tr->filtered_pids 0
PARAM_VALUE 0 tr->list.prev 0,69249725370638336,4155991700693118976
PARAM_VALUE 0 tr->mod_events.next 4096-ptr_max
PARAM_VALUE 0 tr->mod_events.next->next 4096-ptr_max
PARAM_VALUE 0 tr->mod_events.next->prev 4096-ptr_max
PARAM_VALUE 0 tr->options->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 tr->options->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 tr->range_addr_size 0
PARAM_VALUE 0 tr->range_addr_start 0
PARAM_VALUE 0 tr->range_name 0
PARAM_VALUE 0 tr->ring_buffer_expanded 1
PARAM_VALUE 0 tr->scratch 0,8-u64max
PARAM_VALUE 0 tr->scratch->clock_id 0-4294967295
PARAM_VALUE 0 tr->scratch->nr_entries 0
PARAM_VALUE 0 tr->scratch->text_addr 6850088256125747200
PARAM_VALUE 0 tr->snapshot_buffer.buffer 0,4096-ptr_max
PARAM_VALUE 0 tr->snapshot_buffer.data 0,4096-ptr_max
PARAM_VALUE 0 tr->snapshot_buffer.tr 0,69249725370638336
PARAM_VALUE 0 tr->sys_refcount_enter 0
PARAM_VALUE 0 tr->sys_refcount_exit 0
PARAM_VALUE 0 *tr->trace_flags_index 0-255
BUF_SIZE 0 tr (-1),8552
BUF_SIZE 0 tr (-1),8552
CAPPED_DATA 0 tr 1
DATA_SOURCE 0 tr $0
NO_OVERFLOW_SIMPLE 0 tr->array_buffer.tr->range_addr_size
NO_OVERFLOW_SIMPLE 0 tr->range_addr_size
NO_OVERFLOW_SIMPLE 0 tr->snapshot_buffer.tr->range_addr_size