Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/gpu/drm/xe/xe_pagefault.c xe_pagefault_handle_vma() -> xe_vma_userptr_pin_pages()

Type Parameter Key Value
PARAM_VALUE 0 uvma 4096-ptr_max
DATA_SOURCE 0 uvma r to_userptr_vma
LOCK2 &vm->lock
LOCK2 _T->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct xe_vm)->lock

drivers/gpu/drm/xe/xe_vm.c new_vma() -> xe_vma_userptr_pin_pages()

Type Parameter Key Value
PARAM_VALUE 0 uvma 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &vm->lock
TYPE_LOCK (struct xe_vm)->lock

drivers/gpu/drm/xe/xe_vm.c vm_bind_ioctl_ops_parse() -> xe_vma_userptr_pin_pages()

Type Parameter Key Value
PARAM_VALUE 0 uvma 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &vm->lock
TYPE_LOCK (struct xe_vm)->lock

drivers/gpu/drm/xe/xe_userptr.c xe_vm_userptr_pin() -> xe_vma_userptr_pin_pages()

Type Parameter Key Value
PARAM_VALUE 0 uvma 4096-ptr_max
PARAM_VALUE 0 uvma->userptr.notifier.mm->mmap_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 uvma->userptr.notifier.mm->mmap_lock.first_waiter->type 0-1
PARAM_VALUE 0 uvma->userptr.pages.flags.__flags 0
CAPPED_DATA 0 &uvma->userptr.repin_link 1
LOCK2 &vm->lock
TYPE_LOCK (struct xe_vm)->lock