Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 gpusvm 4096-ptr_max
PARAM_VALUE 0 gpusvm->mm 4096-ptr_max
PARAM_VALUE 0 gpusvm->mm->context.global_asid 0
PARAM_VALUE 0 gpusvm->mm->context.ldt 0
PARAM_VALUE 0 gpusvm->mm->exe_file 0
PARAM_VALUE 0 gpusvm->mm->exe_file->f_cred->process_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 0 gpusvm->mm->exe_file->f_cred->process_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 0 gpusvm->mm->exe_file->f_cred->rcu.func 1-u64max
PARAM_VALUE 0 gpusvm->mm->exe_file->f_cred->request_key_auth->user->qnbytes s32min-s32max
PARAM_VALUE 0 gpusvm->mm->exe_file->f_cred->request_key_auth->user->qnkeys s32min-s32max
PARAM_VALUE 0 gpusvm->mm->exe_file->f_cred->session_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 0 gpusvm->mm->exe_file->f_cred->session_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 0 gpusvm->mm->exe_file->f_cred->thread_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 0 gpusvm->mm->exe_file->f_cred->thread_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 0 gpusvm->mm->exe_file->f_cred->ucounts->ns->work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 gpusvm->mm->exe_file->f_cred->user_ns->work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 gpusvm->mm->exe_file->f_task_work.func 5179756662909861888
PARAM_VALUE 0 gpusvm->mm->exe_file->f_task_work.next 0-7661163036167163903,7661163036167163905-u64max
PARAM_VALUE 0 gpusvm->mm->ioctx_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 gpusvm->mm->ioctx_table 0
PARAM_VALUE 0 gpusvm->mm->lru_gen.list.next->prev 4096-ptr_max
PARAM_VALUE 0 gpusvm->mm->lru_gen.list.prev->next 4096-ptr_max
PARAM_VALUE 0 gpusvm->mm->mm_cid.pcpu 0
PARAM_VALUE 0 gpusvm->mm->mm_id 0
PARAM_VALUE 0 gpusvm->mm->mm_mt.ma_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 gpusvm->mm->mm_mt.ma_root 0
PARAM_VALUE 0 gpusvm->mm->mmap_lock.dep_map->name 0-255
PARAM_VALUE 0 gpusvm->mm->mmap_lock.first_waiter->handoff_set 1
PARAM_VALUE 0 gpusvm->mm->mmap_lock.first_waiter->list.next 2212933610777083904,2624917664208203776
PARAM_VALUE 0 gpusvm->mm->mmap_lock.first_waiter->list.prev 2212933610777083904,2624917664208203776
PARAM_VALUE 0 gpusvm->mm->mmap_lock.first_waiter->type 0-1
PARAM_VALUE 0 gpusvm->mm->mmap_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 gpusvm->mm->notifier_subscriptions 0
PARAM_VALUE 0 gpusvm->mm->sc_stat.pcpu_sched 0
PARAM_VALUE 0 *gpusvm->mm->exe_file->f_cred->user->uidhash_node.next->pprev 1-u64max
PARAM_VALUE 1 range 4096-ptr_max
PARAM_VALUE 1 range->gpusvm 4096-ptr_max
CAPPED_DATA 0 gpusvm->mm 1
NOCHECK_CALL
LOCK2 &driver_migrate_lock
HALF_LOCKED2 &range->lock
HALF_LOCKED2 _T->lock

drivers/gpu/drm/xe/xe_svm.c xe_svm_range_get_pages() -> drm_gpusvm_range_evict()

Type Parameter Key Value
PARAM_VALUE 0 gpusvm 4096-ptr_max
PARAM_VALUE 1 range 4096-ptr_max
NOCHECK_CALL
HALF_LOCKED2 &range->lock
HALF_LOCKED2 _T->lock

drivers/gpu/drm/xe/xe_svm.c xe_svm_range_migrate_to_smem() -> drm_gpusvm_range_evict()

Type Parameter Key Value
PARAM_VALUE 0 gpusvm 4096-ptr_max
PARAM_VALUE 1 range 4096-ptr_max
NOCHECK_CALL
LOCK2 _T->lock

drivers/gpu/drm/xe/xe_svm.c xe_svm_unmap_address_range() -> drm_gpusvm_range_evict()

Type Parameter Key Value
PARAM_VALUE 0 gpusvm 4096-ptr_max
PARAM_VALUE 1 range 4096-ptr_max
PARAM_VALUE 1 range->itree.start 0-18446744073709551614
PARAM_VALUE 1 range->notifier->notifier.mm->mmap_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 1 range->notifier->notifier.mm->mmap_lock.first_waiter->type 0-1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &vm->lock
TYPE_LOCK (struct xe_vm)->lock