Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/events/core.c __perf_pmu_install_event() -> find_get_pmu_context()

Type Parameter Key Value
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 1 ctx->mutex.dep_map->name 0-255
PARAM_VALUE 1 ctx->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 ctx->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 ctx->mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 1 ctx->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 ctx->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 ctx->mutex.wait_lock.owner (-1)
PARAM_VALUE 1 ctx->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 2 event 4096-ptr_max
BUF_SIZE 1 ctx 432
DATA_SOURCE 0 pmu $0
DATA_SOURCE 1 ctx $1
DATA_SOURCE 2 event $3
STR_LEN 0 pmu (-1),8-9,11-29,31-34,38
STR_LEN 0 pmu (-1),8-9,11-29,31-34,38
STR_LEN 1 ctx (-1),8-9,11-29,31-34,38
STR_LEN 1 ctx (-1),8-9,11-29,31-34,38
STR_LEN 2 event->ctx (-1)
RX_PATH
TASK_NOT_RUNNING
UNITS 2 event unit_byte
HALF_LOCKED2 global &ali_drw_pmu_irqs_lock
HALF_LOCKED2 global &dmc620_pmu_node_lock
HALF_LOCKED2 global &pmus_lock

kernel/events/core.c inherit_event() -> find_get_pmu_context()

Type Parameter Key Value
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 1 ctx->event_list.next 4096-ptr_max
PARAM_VALUE 1 ctx->event_list.prev 4096-ptr_max
PARAM_VALUE 1 ctx->lock.owner (-1)
PARAM_VALUE 1 ctx->lock.owner_cpu u32max
PARAM_VALUE 1 ctx->pmu_ctx_list.next 4096-ptr_max
PARAM_VALUE 1 ctx->task 4096-ptr_max
PARAM_VALUE 2 event 4096-ptr_max
PARAM_VALUE 2 event->ctx 4096-ptr_max
PARAM_VALUE 2 event->ctx->event_list.next 4096-ptr_max
PARAM_VALUE 2 event->ctx->event_list.prev 4096-ptr_max
PARAM_VALUE 2 event->ctx->lock.owner (-1)
PARAM_VALUE 2 event->ctx->lock.owner_cpu u32max
PARAM_VALUE 2 event->ctx->pmu_ctx_list.next 4096-ptr_max
PARAM_VALUE 2 event->ctx->task 4096-ptr_max
BUF_SIZE 1 ctx (-1),432
BUF_SIZE 1 ctx (-1),432
BUF_SIZE 1 ctx->task (-1),1-s32max
BUF_SIZE 2 event->ctx (-1),432
CAPPED_DATA 1 ctx 1
DATA_SOURCE 1 ctx $5
DATA_SOURCE 2 event r perf_event_alloc
RX_PATH
TASK_NOT_RUNNING
UNITS 1 ctx unit_byte
LOCK2 &parent_ctx->mutex
LOCK2 _T->lock
TYPE_LOCK (struct perf_event_context)->mutex

kernel/events/core.c perf_event_create_kernel_counter() -> find_get_pmu_context()

Type Parameter Key Value
PARAM_VALUE 0 pmu 4096-ptr_max
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 1 ctx->lock.owner (-1)
PARAM_VALUE 1 ctx->lock.owner_cpu u32max
PARAM_VALUE 1 ctx->mutex.dep_map->name 0-255
PARAM_VALUE 1 ctx->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 ctx->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 ctx->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 ctx->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 ctx->mutex.wait_lock.owner (-1)
PARAM_VALUE 1 ctx->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 1 ctx->task 0-18446744073709551614
PARAM_VALUE 2 event 4096-ptr_max
PARAM_VALUE 2 event->owner (-1)
PARAM_VALUE 2 event->pmu 4096-ptr_max
BUF_SIZE 1 ctx (-1)-0,432
BUF_SIZE 1 ctx (-1)-0,432
CAPPED_DATA 1 &ctx->mutex 1
DATA_SOURCE 1 ctx r find_get_context
DATA_SOURCE 2 event r perf_event_alloc
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock
LOCK2 1 &ctx->mutex
TYPE_LOCK (struct perf_event_context)->mutex