Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

kernel/trace/trace_event_perf.c perf_trace_init() -> trace_event_try_get_ref()

Type Parameter Key Value
PARAM_VALUE 0 call 4096-ptr_max
PARAM_VALUE 0 call->class 4096-ptr_max
PARAM_VALUE 0 call->class->reg 1-u64max
CAPPED_DATA 0 call->event.type 1
LOCK2 _T->lock
LOCK2 global &event_mutex
HALF_LOCKED2 &p_event->group_leader->ctx->mutex

kernel/trace/trace_events.c event_enable_func() -> trace_event_try_get_ref()

Type Parameter Key Value
PARAM_VALUE 0 call 4096-ptr_max
PARAM_VALUE 0 call->class 4096-ptr_max
PARAM_VALUE 0 call->class->reg 1-u64max
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock
HALF_LOCKED2 global &parser_lock

kernel/trace/trace_events.c trace_get_event_file() -> trace_event_try_get_ref()

Type Parameter Key Value
PARAM_VALUE 0 call 4096-ptr_max
PARAM_VALUE 0 call->class 4096-ptr_max
PARAM_VALUE 0 call->class->reg 1-u64max
LOCK2 _T->lock

kernel/trace/trace_eprobe.c find_and_get_event() -> trace_event_try_get_ref()

Type Parameter Key Value
PARAM_VALUE 0 call 4096-ptr_max
PARAM_VALUE 0 call->class 4096-ptr_max
PARAM_VALUE 0 call->class->system 1-u64max
BIT_INFO 0 call->flags 0x0,0x7fffff1b
LOCK2 _T->lock

kernel/trace/trace_events_trigger.c event_enable_trigger_parse() -> trace_event_try_get_ref()

Type Parameter Key Value
PARAM_VALUE 0 call 4096-ptr_max
PARAM_VALUE 0 call->class 4096-ptr_max
PARAM_VALUE 0 call->class->reg 1-u64max
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock
HALF_LOCKED2 global &event_mutex