Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/xe/xe_userptr.c xe_vma_userptr_force_invalidate() -> xe_vma_userptr_do_inval()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vm | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->svm.gpusvm.notifier_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | vm->svm.gpusvm.notifier_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | vm->userptr.invalidated.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->userptr.invalidated.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->userptr.invalidated.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->userptr.invalidated_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | uvma | 4096-ptr_max |
| PARAM_VALUE | 1 | uvma->userptr.divisor | 0,4,8,16,32,64,128,256,512,1024,2048,4096,8192,16384,32768 |
| PARAM_VALUE | 1 | uvma->userptr.finish_inuse | 1 |
| PARAM_VALUE | 1 | uvma->userptr.initial_bind | 1 |
| PARAM_VALUE | 1 | uvma->userptr.invalidate_link.next | 4096-ptr_max |
| PARAM_VALUE | 1 | uvma->userptr.invalidate_link.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | uvma->userptr.invalidate_link.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | uvma->userptr.pages.flags.__flags | 0 |
| PARAM_VALUE | 2 | is_deferred | 1 |
| DATA_SOURCE | 0 | vm | r xe_vma_vm |
| DATA_SOURCE | 1 | uvma | $0 |
| PARAM_COMPARE | 1 | uvma->userptr.notifier.invalidate_seq | < $1->userptr.pages.notifier_seq |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &vm->svm.gpusvm.notifier_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &vm->lock | ||
| TYPE_LOCK | (struct drm_gpusvm)->notifier_lock |
drivers/gpu/drm/xe/xe_userptr.c xe_vma_userptr_invalidate_finish() -> xe_vma_userptr_do_inval()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vm | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->svm.gpusvm.notifier_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vm->svm.gpusvm.notifier_lock.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | vm->svm.gpusvm.notifier_lock.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | vm->svm.gpusvm.notifier_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | vm->svm.gpusvm.notifier_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vm->svm.gpusvm.notifier_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vm->svm.gpusvm.notifier_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | vm->svm.gpusvm.notifier_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | uvma | 4096-ptr_max |
| PARAM_VALUE | 1 | uvma->userptr.tlb_inval_submitted | 0 |
| PARAM_VALUE | 2 | is_deferred | 1 |
| CAPPED_DATA | 0 | &vm->svm.gpusvm.notifier_lock | 1 |
| DATA_SOURCE | 0 | vm | r xe_vma_vm |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &vm->svm.gpusvm.notifier_lock | |
| HALF_LOCKED2 | &mm->mmap_lock | ||
| TYPE_LOCK | (struct drm_gpusvm)->notifier_lock |
drivers/gpu/drm/xe/xe_userptr.c xe_vma_userptr_invalidate_pass1() -> xe_vma_userptr_do_inval()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vm | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->svm.gpusvm.notifier_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | uvma | 4096-ptr_max |
| PARAM_VALUE | 1 | uvma->userptr.divisor | 0,4,8,16,32,64,128,256,512,1024,2048,4096,8192,16384,32768,65536,131072,262144,524288,1048576,2097152,4194304,8388608,16777216,33554432,67108864,134217728,268435456,536870912,1073741824,2147483648 |
| PARAM_VALUE | 2 | is_deferred | 0 |
| DATA_SOURCE | 0 | vm | $0 |
| DATA_SOURCE | 1 | uvma | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &vm->svm.gpusvm.notifier_lock | ||
| HALF_LOCKED2 | 0 | &vm->svm.gpusvm.notifier_lock | |
| TYPE_LOCK | (struct drm_gpusvm)->notifier_lock |