Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/i915/i915_perf.c i915_perf_ioctl_locked() -> i915_perf_enable_locked()

Type Parameter Key Value
PARAM_VALUE 0 stream->lock.dep_map->name 0-255
PARAM_VALUE 0 stream->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 stream->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 stream->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 stream->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 stream->lock.wait_lock.owner (-1)
PARAM_VALUE 0 stream->lock.wait_lock.owner_cpu u32max
BUF_SIZE 0 stream s32min-(-2),1-s32max
BUF_SIZE 0 stream s32min-(-2),1-s32max
DATA_SOURCE 0 stream $0
NOCHECK_CALL
LOCK2 0 &stream->lock
TYPE_LOCK (struct i915_perf_stream)->lock

drivers/gpu/drm/i915/i915_perf.c i915_perf_open_ioctl_locked() -> i915_perf_enable_locked()

Type Parameter Key Value
PARAM_VALUE 0 stream 4096-ptr_max
PARAM_VALUE 0 stream->ctx 0,4096-ptr_max
PARAM_VALUE 0 stream->ctx->engines_mutex.dep_map->name 0-255
PARAM_VALUE 0 stream->ctx->engines_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 stream->ctx->engines_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 stream->ctx->engines_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 stream->ctx->engines_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 stream->ctx->engines_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 stream->ctx->engines_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 stream->ctx->engines_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 stream->engine 4096-ptr_max
PARAM_VALUE 0 stream->engine->gt->ggtt->vm.unbound_list.prev 4096-ptr_max
PARAM_VALUE 0 stream->engine->gt->ggtt->vm.unbound_list.prev->next 4096-ptr_max
PARAM_VALUE 0 stream->engine->gt->ggtt->vm.unbound_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 stream->engine->oa_group 4096-ptr_max
PARAM_VALUE 0 stream->engine->wakeref.i915->runtime_pm.debug.list.next->next 4096-ptr_max
PARAM_VALUE 0 stream->engine->wakeref.i915->runtime_pm.debug.list.next->prev 4096-ptr_max
PARAM_VALUE 0 stream->engine->wakeref.i915->runtime_pm.debug.quarantine.prev 4096-ptr_max
PARAM_VALUE 0 stream->engine->wakeref.i915->runtime_pm.kdev->power.request 0-4
PARAM_VALUE 0 stream->engine->wakeref.i915->runtime_pm.kdev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 stream->engine->wakeref.i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 stream->hold_preemption 0
PARAM_VALUE 0 stream->lock.dep_map->name 0-255
PARAM_VALUE 0 stream->lock.first_waiter 0
PARAM_VALUE 0 stream->lock.magic 4096-ptr_max
PARAM_VALUE 0 stream->lock.osq.tail.counter 0
PARAM_VALUE 0 stream->lock.owner.counter 0
PARAM_VALUE 0 stream->noa_wait 4096-ptr_max
PARAM_VALUE 0 stream->noa_wait->obj 4096-ptr_max
PARAM_VALUE 0 stream->oa_buffer.format 4096-ptr_max
PARAM_VALUE 0 stream->oa_buffer.vaddr 1-ptr_max
PARAM_VALUE 0 stream->oa_buffer.vma 4096-ptr_max
PARAM_VALUE 0 stream->oa_buffer.vma->active.work.entry.next 4096-ptr_max
PARAM_VALUE 0 stream->oa_buffer.vma->obj 4096-ptr_max
PARAM_VALUE 0 stream->oa_config 4096-ptr_max
PARAM_VALUE 0 stream->oa_config->ref.refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 stream->ops 5387840835273883648
PARAM_VALUE 0 stream->ops->destroy 8057788646811353088
PARAM_VALUE 0 stream->ops->disable 8714232589856714752
PARAM_VALUE 0 stream->ops->enable 4349683269283491840
PARAM_VALUE 0 stream->ops->poll_wait 5587851560884170752
PARAM_VALUE 0 stream->ops->read 6831291381380816896
PARAM_VALUE 0 stream->ops->wait_unlocked 5127407176864006144
PARAM_VALUE 0 stream->perf 4096-ptr_max
PARAM_VALUE 0 stream->perf->i915 4096-ptr_max
PARAM_VALUE 0 stream->perf->metrics_kobj 1-u64max
PARAM_VALUE 0 stream->perf->ops.enable_metric_set 1-u64max
PARAM_VALUE 0 stream->period_exponent 0-31
PARAM_VALUE 0 stream->periodic 0
PARAM_VALUE 0 stream->pinned_ctx 4096-ptr_max
PARAM_VALUE 0 stream->pinned_ctx->active.cache->timeline 0-s64max
PARAM_VALUE 0 stream->pinned_ctx->engine 4096-ptr_max
PARAM_VALUE 0 stream->pinned_ctx->engine->gt->ggtt->vm.unbound_list.prev 4096-ptr_max
PARAM_VALUE 0 stream->pinned_ctx->engine->gt->ggtt->vm.unbound_list.prev->next 4096-ptr_max
PARAM_VALUE 0 stream->pinned_ctx->engine->gt->ggtt->vm.unbound_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 stream->pinned_ctx->engine->gt->i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 stream->pinned_ctx->engine->wakeref->work.timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 stream->pinned_ctx->engine->wakeref.i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 stream->pinned_ctx->engine->wakeref.work.timer.is_hard 0-1
PARAM_VALUE 0 stream->pinned_ctx->engine->wakeref.work.timer.is_lazy 0-1
PARAM_VALUE 0 stream->pinned_ctx->engine->wakeref.work.timer.is_queued 0-1
PARAM_VALUE 0 stream->pinned_ctx->engine->wakeref.work.timer.is_soft 0-1
PARAM_VALUE 0 stream->pinned_ctx->engine->wakeref.work.work.entry.next 1-u64max
PARAM_VALUE 0 stream->pinned_ctx->engine->wakeref.work.work.entry.prev 1-u64max
PARAM_VALUE 0 stream->pinned_ctx->guc_state.prio 0-3
PARAM_VALUE 0 stream->pinned_ctx->parallel.parent->active.cache->timeline 0-s64max
PARAM_VALUE 0 stream->pinned_ctx->ring 4096-ptr_max
PARAM_VALUE 0 stream->pinned_ctx->timeline 4096-ptr_max
PARAM_VALUE 0 stream->pinned_ctx->timeline->gt->timelines.active_list.prev 4096-ptr_max
PARAM_VALUE 0 stream->pinned_ctx->timeline->gt->timelines.active_list.prev->next 4096-ptr_max
PARAM_VALUE 0 stream->pinned_ctx->timeline->gt->timelines.active_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 stream->pinned_ctx->timeline->link.next 4096-ptr_max
PARAM_VALUE 0 stream->pinned_ctx->timeline->link.next->prev 4096-ptr_max
PARAM_VALUE 0 stream->pinned_ctx->timeline->requests.prev 4096-ptr_max
PARAM_VALUE 0 stream->pinned_ctx->timeline->requests.prev->next 4096-ptr_max
PARAM_VALUE 0 stream->pinned_ctx->vm->gt->wakeref->work.timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 stream->pinned_ctx->vm->gt->wakeref.debug.list.next->next 4096-ptr_max
PARAM_VALUE 0 stream->pinned_ctx->vm->gt->wakeref.debug.quarantine.prev 4096-ptr_max
PARAM_VALUE 0 stream->pinned_ctx->vm->gt->wakeref.debug.quarantine.prev->next 4096-ptr_max
PARAM_VALUE 0 stream->pinned_ctx->vm->gt->wakeref.debug.quarantine.prev->next->next 4096-ptr_max
PARAM_VALUE 0 stream->pinned_ctx->vm->gt->wakeref.i915->runtime_pm.debug.list.next->prev 4096-ptr_max
PARAM_VALUE 0 stream->pinned_ctx->vm->gt->wakeref.i915->runtime_pm.debug.quarantine.prev 4096-ptr_max
PARAM_VALUE 0 stream->pinned_ctx->vm->gt->wakeref.i915->runtime_pm.debug.quarantine.prev->next 4096-ptr_max
PARAM_VALUE 0 stream->pinned_ctx->vm->gt->wakeref.i915->runtime_pm.kdev->power.request 0-4
PARAM_VALUE 0 stream->pinned_ctx->vm->gt->wakeref.i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 stream->pinned_ctx->vm->gt->wakeref.work.timer.is_hard 0-1
PARAM_VALUE 0 stream->pinned_ctx->vm->gt->wakeref.work.timer.is_lazy 0-1
PARAM_VALUE 0 stream->pinned_ctx->vm->gt->wakeref.work.timer.is_queued 0-1
PARAM_VALUE 0 stream->pinned_ctx->vm->gt->wakeref.work.timer.is_soft 0-1
PARAM_VALUE 0 stream->pinned_ctx->vm->gt->wakeref.work.work.entry.next 1-u64max
PARAM_VALUE 0 stream->pinned_ctx->vm->gt->wakeref.work.work.entry.next->next 1-u64max
PARAM_VALUE 0 stream->pinned_ctx->vm->gt->wakeref.work.work.entry.prev 1-u64max
PARAM_VALUE 0 stream->pinned_ctx->vm->gt->wakeref.work.work.entry.prev->next 1-u64max
PARAM_VALUE 0 stream->pinned_ctx->vm->gt->wakeref.work.work.entry.prev->prev 1-u64max
PARAM_VALUE 0 stream->pinned_ctx->wakeref 4096-ptr_max,(-2)
PARAM_VALUE 0 stream->pinned_ctx->wakeref->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 stream->pinned_ctx->wakeref->dead 0-1
PARAM_VALUE 0 stream->pinned_ctx->wakeref->free_stack_handle 0-4294967295
PARAM_VALUE 0 stream->pinned_ctx->watchdog.timeout_us 1000-4294967295000
PARAM_VALUE 0 stream->poll_check_timer._softexpires 0
PARAM_VALUE 0 stream->poll_check_timer.base 4096-ptr_max
PARAM_VALUE 0 stream->poll_check_timer.function 1-u64max
PARAM_VALUE 0 stream->poll_check_timer.is_hard 0
PARAM_VALUE 0 stream->poll_check_timer.is_lazy 0
PARAM_VALUE 0 stream->poll_check_timer.is_queued 0
PARAM_VALUE 0 stream->poll_check_timer.is_rel 0
PARAM_VALUE 0 stream->poll_check_timer.is_soft 0
PARAM_VALUE 0 stream->poll_check_timer.node.expires 0
PARAM_VALUE 0 stream->poll_check_timer.node.node.next 0
PARAM_VALUE 0 stream->poll_check_timer.node.node.node.__rb_parent_color 0
PARAM_VALUE 0 stream->poll_check_timer.node.node.node.rb_left 0
PARAM_VALUE 0 stream->poll_check_timer.node.node.node.rb_right 0
PARAM_VALUE 0 stream->poll_check_timer.node.node.prev 0
PARAM_VALUE 0 stream->poll_oa_period 100000-u64max
PARAM_VALUE 0 stream->poll_wq.head.next 4096-ptr_max
PARAM_VALUE 0 stream->poll_wq.head.next->next 4096-ptr_max
PARAM_VALUE 0 stream->poll_wq.head.prev 4096-ptr_max
PARAM_VALUE 0 stream->poll_wq.head.prev->next 4096-ptr_max
PARAM_VALUE 0 stream->poll_wq.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 stream->sample_flags 0-2
PARAM_VALUE 0 stream->sample_size 72,136,200,264
PARAM_VALUE 0 stream->specific_ctx_id_mask 0,65504,1048575,2097151,8388480
PARAM_VALUE 0 stream->uncore 4096-ptr_max
PARAM_VALUE 0 stream->uncore->lock.rlock.dep_map->name 0-255
BUF_SIZE 0 stream 544
BUF_SIZE 0 stream->ctx (-1)-0,920
BUF_SIZE 0 stream->perf 584
CAPPED_DATA 0 stream->sample_flags 1
DATA_SOURCE 0 stream r _kzalloc_noprof
MEM_ZERO 0 &stream->poll_check_timer
NOCHECK_CALL
USER_DATA 0 stream->engine->gt->perf.sseu.slice_mask 0-255
USER_DATA 0 stream->engine->gt->perf.sseu.subslice_mask 0-255
USER_DATA 0 stream->hold_preemption 0
USER_DATA 0 stream->period_exponent 0-31
USER_DATA 0 stream->poll_oa_period 100000-u64max
NO_OVERFLOW_SIMPLE 0 stream->engine->gt->perf.sseu.min_eus_per_subslice
NO_OVERFLOW_SIMPLE 0 stream->noa_wait->fence_size
NO_OVERFLOW_SIMPLE 0 stream->noa_wait->size
NO_OVERFLOW_SIMPLE 0 stream->oa_buffer.vma->fence_size
NO_OVERFLOW_SIMPLE 0 stream->oa_buffer.vma->size
LOCK2 &gt->perf.lock
TYPE_LOCK (struct i915_perf_gt)->lock