Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 3 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/xe/xe_vm.c prefetch_thread_func() -> xe_svm_alloc_vram()

Type Parameter Key Value
PARAM_VALUE 0 range 4096-ptr_max
PARAM_VALUE 0 range->pages.flags.__flags 0
PARAM_VALUE 0 range->removed 0
PARAM_VALUE 1 ctx->check_pages_threshold 0,65536
PARAM_VALUE 1 ctx->timeslice_ms 0-68719476720
PARAM_VALUE 2 dpagemap 0,4096-ptr_max
PARAM_VALUE 2 dpagemap->drm 4096-ptr_max
BUF_SIZE 1 ctx (-1),32
BUF_SIZE 1 ctx (-1),32
LOCK2 _T->lock
HALF_LOCKED2 &vm->lock

drivers/gpu/drm/xe/xe_svm.c __xe_svm_handle_pagefault() -> xe_svm_alloc_vram()

Type Parameter Key Value
PARAM_VALUE 0 range 4096-ptr_max
PARAM_VALUE 0 range->base.gpusvm->mm->mmap_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 range->base.gpusvm->mm->mmap_lock.first_waiter->type 0-1
PARAM_VALUE 0 range->base.notifier->notifier.mm->mmap_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 range->base.notifier->notifier.mm->mmap_lock.first_waiter->type 0-1
PARAM_VALUE 0 range->lock.dep_map->name 0-255
PARAM_VALUE 0 range->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 range->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 range->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 range->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 range->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 range->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 range->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 range->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 range->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 range->lock.wait_lock.owner (-1)
PARAM_VALUE 0 range->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 range->pages.drm->dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 range->removed 0
PARAM_VALUE 1 ctx 6049686901561405440
PARAM_VALUE 1 ctx->check_pages_threshold 0,65536
PARAM_VALUE 1 ctx->timeslice_ms 0-17179869180
CAPPED_DATA 0 &range->lock 1
DATA_SOURCE 0 range r xe_svm_range_find_or_insert
LOCK2 &vm->lock
LOCK2 0 &range->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct xe_svm_range)->lock
TYPE_LOCK (struct xe_vm)->lock