Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
drivers/gpu/drm/xe/xe_userptr.c xe_vma_userptr_complete_tlb_inval() -> drm_gpusvm_unmap_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gpusvm | 4096-ptr_max |
| PARAM_VALUE | 1 | svm_pages | 4096-ptr_max |
| PARAM_VALUE | 1 | svm_pages->flags.__flags | 0 |
| PARAM_VALUE | 2 | npages | 0-4503599627370495 |
| PARAM_VALUE | 3 | ctx | 6916893210368741376 |
| PARAM_VALUE | 3 | ctx->in_notifier | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | npages | unit_page |
| HALF_LOCKED2 | &vm->svm.gpusvm.notifier_lock | ||
| HALF_LOCKED2 | &vm->svm.gpusvm.notifier_lock | ||
| TYPE_LOCK | (struct drm_gpusvm)->notifier_lock |
drivers/gpu/drm/xe/xe_userptr.c xe_vma_userptr_do_inval() -> drm_gpusvm_unmap_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gpusvm | 4096-ptr_max |
| PARAM_VALUE | 1 | svm_pages | 4096-ptr_max |
| PARAM_VALUE | 1 | svm_pages->flags.__flags | 0 |
| PARAM_VALUE | 2 | npages | 0-4503599627370495 |
| PARAM_VALUE | 3 | ctx | 5926448928328806400 |
| PARAM_VALUE | 3 | ctx->in_notifier | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | npages | unit_page |
| HALF_LOCKED2 | &vm->svm.gpusvm.notifier_lock | ||
| HALF_LOCKED2 | &vm->svm.gpusvm.notifier_lock | ||
| TYPE_LOCK | (struct drm_gpusvm)->notifier_lock |
drivers/gpu/drm/xe/xe_svm.c __xe_svm_garbage_collector() -> drm_gpusvm_unmap_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gpusvm | 4096-ptr_max |
| PARAM_VALUE | 1 | svm_pages | 4096-ptr_max |
| PARAM_VALUE | 1 | svm_pages->flags.__flags | 0 |
| PARAM_VALUE | 2 | npages | 0-4503599627370495 |
| PARAM_VALUE | 3 | ctx | 4660888409160114176 |
| PARAM_VALUE | 3 | ctx->in_notifier | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | npages | unit_page |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &vm->lock |
drivers/gpu/drm/xe/xe_svm.c xe_svm_fini() -> drm_gpusvm_unmap_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gpusvm | 4096-ptr_max |
| PARAM_VALUE | 0 | gpusvm->root.rb_root.rb_node | 1-u64max |
| PARAM_VALUE | 1 | svm_pages | 4096-ptr_max |
| PARAM_VALUE | 2 | npages | 0-4503599627370495 |
| PARAM_VALUE | 3 | ctx | 5787661761725542400 |
| PARAM_VALUE | 3 | ctx->in_notifier | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | npages | unit_page |
| HALF_LOCKED2 | &vm->lock |
drivers/gpu/drm/xe/xe_svm.c xe_svm_range_notifier_event_end() -> drm_gpusvm_unmap_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gpusvm | 4096-ptr_max |
| PARAM_VALUE | 1 | svm_pages | 4096-ptr_max |
| PARAM_VALUE | 2 | npages | 0-4503599627370495 |
| PARAM_VALUE | 3 | ctx | 3610321612525924352 |
| PARAM_VALUE | 3 | ctx->in_notifier | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | npages | unit_page |
| LOCK2 | &gpusvm->notifier_lock | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| TYPE_LOCK | (struct drm_gpusvm)->notifier_lock |