Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

kernel/trace/trace_mmiotrace.c trace_buffer_unlock_commit() -> trace_buffer_unlock_commit_regs()

Type Parameter Key Value
PARAM_VALUE 0 tr 4096-ptr_max
PARAM_VALUE 0 tr->array_buffer.buffer 4096-ptr_max
PARAM_VALUE 1 buffer 4096-ptr_max
PARAM_VALUE 1 buffer->record_disabled.counter 0
PARAM_VALUE 2 event 4096-ptr_max
PARAM_VALUE 2 event->type_len 0-29
PARAM_VALUE 3 trace_ctx 0-16777215
PARAM_VALUE 4 regs 0
CAPPED_DATA 1 buffer 1
DATA_SOURCE 0 tr $0
DATA_SOURCE 1 buffer $1
DATA_SOURCE 2 event $2
DATA_SOURCE 3 trace_ctx $3
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &trace_lock
HALF_LOCKED2 irq

kernel/trace/blktrace.c trace_buffer_unlock_commit() -> trace_buffer_unlock_commit_regs()

Type Parameter Key Value
PARAM_VALUE 0 tr 4096-ptr_max
PARAM_VALUE 0 tr->array_buffer.buffer 4096-ptr_max
PARAM_VALUE 1 buffer 4096-ptr_max
PARAM_VALUE 1 buffer->record_disabled.counter 0
PARAM_VALUE 2 event 4096-ptr_max
PARAM_VALUE 2 event->type_len 0-29
PARAM_VALUE 3 trace_ctx 0-16777215
PARAM_VALUE 4 regs 0
CAPPED_DATA 1 buffer 1
DATA_SOURCE 0 tr $0
DATA_SOURCE 1 buffer $1
DATA_SOURCE 2 event $2
DATA_SOURCE 3 trace_ctx $3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 rcu_read

kernel/trace/trace.c trace_event_buffer_commit() -> trace_buffer_unlock_commit_regs()

Type Parameter Key Value
PARAM_VALUE 3 trace_ctx 0-16777214
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ucb->mutex
HALF_LOCKED2 global &event_mutex
HALF_LOCKED2 rcu_read

kernel/trace/trace_sched_wakeup.c trace_buffer_unlock_commit() -> trace_buffer_unlock_commit_regs()

Type Parameter Key Value
PARAM_VALUE 0 tr 4096-ptr_max
PARAM_VALUE 0 tr->array_buffer.buffer 4096-ptr_max
PARAM_VALUE 1 buffer 4096-ptr_max
PARAM_VALUE 1 buffer->record_disabled.counter 0
PARAM_VALUE 2 event 4096-ptr_max
PARAM_VALUE 2 event->type_len 0-29
PARAM_VALUE 3 trace_ctx 0-16777215
PARAM_VALUE 4 regs 0
CAPPED_DATA 0 tr->array_buffer.buffer 1
CAPPED_DATA 1 buffer 1
DATA_SOURCE 0 tr $0
DATA_SOURCE 1 buffer $1
DATA_SOURCE 2 event $2
DATA_SOURCE 3 trace_ctx $3
NOCHECK_CALL
HALF_LOCKED2 flags

kernel/trace/trace_events.c trace_buffer_unlock_commit() -> trace_buffer_unlock_commit_regs()

Type Parameter Key Value
PARAM_VALUE 0 tr 4096-ptr_max
PARAM_VALUE 1 buffer 4096-ptr_max
PARAM_VALUE 2 event 4096-ptr_max
PARAM_VALUE 2 event->type_len 0-29
PARAM_VALUE 3 trace_ctx 0-16777215
PARAM_VALUE 4 regs 0
DATA_SOURCE 0 tr $0
DATA_SOURCE 1 buffer $1
DATA_SOURCE 2 event $2
DATA_SOURCE 3 trace_ctx $3
PREEMPT_ADD
NOCHECK_CALL