Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/xe/xe_svm.c __xe_svm_garbage_collector() -> range_to_vm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &vm->lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/gpu/drm/xe/xe_svm.c __xe_svm_garbage_collector() -> range_to_vm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &vm->lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/gpu/drm/xe/xe_svm.c __xe_svm_garbage_collector() -> range_to_vm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &vm->lock |
drivers/gpu/drm/xe/xe_svm.c __xe_svm_garbage_collector() -> range_to_vm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &vm->lock |
drivers/gpu/drm/xe/xe_svm.c __xe_svm_handle_pagefault() -> range_to_vm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &range->lock | ||
| LOCK2 | &vm->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct xe_svm_range)->lock | ||
| TYPE_LOCK | (struct xe_vm)->lock |
drivers/gpu/drm/xe/xe_svm.c __xe_svm_handle_pagefault() -> range_to_vm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &range->lock | ||
| LOCK2 | &vm->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct xe_svm_range)->lock | ||
| TYPE_LOCK | (struct xe_vm)->lock |
drivers/gpu/drm/xe/xe_svm.c __xe_svm_handle_pagefault() -> range_to_vm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &range->lock | ||
| LOCK2 | &vm->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct xe_svm_range)->lock | ||
| TYPE_LOCK | (struct xe_vm)->lock |
drivers/gpu/drm/xe/xe_svm.c __xe_svm_handle_pagefault() -> range_to_vm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &range->lock | ||
| LOCK2 | &vm->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct xe_svm_range)->lock | ||
| TYPE_LOCK | (struct xe_vm)->lock |
drivers/gpu/drm/xe/xe_svm.c __xe_svm_handle_pagefault() -> range_to_vm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &range->lock | ||
| LOCK2 | &vm->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct xe_svm_range)->lock | ||
| TYPE_LOCK | (struct xe_vm)->lock |
drivers/gpu/drm/xe/xe_svm.c __xe_svm_handle_pagefault() -> range_to_vm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &range->lock | ||
| LOCK2 | &vm->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct xe_svm_range)->lock | ||
| TYPE_LOCK | (struct xe_vm)->lock |
drivers/gpu/drm/xe/xe_svm.c __xe_svm_handle_pagefault() -> range_to_vm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &range->lock | ||
| LOCK2 | &vm->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct xe_svm_range)->lock | ||
| TYPE_LOCK | (struct xe_vm)->lock |
drivers/gpu/drm/xe/xe_svm.c __xe_svm_handle_pagefault() -> range_to_vm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &range->lock | ||
| LOCK2 | &vm->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct xe_svm_range)->lock | ||
| TYPE_LOCK | (struct xe_vm)->lock |
drivers/gpu/drm/xe/xe_svm.c __xe_svm_handle_pagefault() -> range_to_vm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &range->lock | ||
| LOCK2 | &vm->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct xe_svm_range)->lock | ||
| TYPE_LOCK | (struct xe_vm)->lock |
drivers/gpu/drm/xe/xe_svm.c __xe_svm_handle_pagefault() -> range_to_vm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &range->lock | ||
| LOCK2 | &vm->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct xe_svm_range)->lock | ||
| TYPE_LOCK | (struct xe_vm)->lock |
drivers/gpu/drm/xe/xe_svm.c __xe_svm_handle_pagefault() -> range_to_vm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &range->lock | ||
| LOCK2 | &vm->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct xe_svm_range)->lock | ||
| TYPE_LOCK | (struct xe_vm)->lock |
drivers/gpu/drm/xe/xe_svm.c __xe_svm_handle_pagefault() -> range_to_vm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &range->lock | ||
| LOCK2 | &vm->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct xe_svm_range)->lock | ||
| TYPE_LOCK | (struct xe_vm)->lock |
drivers/gpu/drm/xe/xe_svm.c xe_svm_alloc_vram() -> range_to_vm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 4096-ptr_max |
| HALF_LOCKED2 | &range->lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/gpu/drm/xe/xe_svm.c xe_svm_alloc_vram() -> range_to_vm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 4096-ptr_max |
| HALF_LOCKED2 | &range->lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/gpu/drm/xe/xe_svm.c xe_svm_alloc_vram() -> range_to_vm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 4096-ptr_max |
| HALF_LOCKED2 | &range->lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/gpu/drm/xe/xe_svm.c xe_svm_alloc_vram() -> range_to_vm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 4096-ptr_max |
| HALF_LOCKED2 | &range->lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/gpu/drm/xe/xe_svm.c xe_svm_garbage_collector_add_range() -> range_to_vm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &gpusvm->notifier_lock | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| TYPE_LOCK | (struct drm_gpusvm)->notifier_lock |
drivers/gpu/drm/xe/xe_svm.c xe_svm_garbage_collector_add_range() -> range_to_vm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &gpusvm->notifier_lock | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| TYPE_LOCK | (struct drm_gpusvm)->notifier_lock |
drivers/gpu/drm/xe/xe_svm.c xe_svm_range_debug() -> range_to_vm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &(&vm->svm.gpusvm)->notifier_lock | ||
| HALF_LOCKED2 | &vm->lock | ||
| HALF_LOCKED2 | &vm->svm.gpusvm.notifier_lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/gpu/drm/xe/xe_svm.c xe_svm_range_debug() -> range_to_vm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &(&vm->svm.gpusvm)->notifier_lock | ||
| HALF_LOCKED2 | &vm->lock | ||
| HALF_LOCKED2 | &vm->svm.gpusvm.notifier_lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/gpu/drm/xe/xe_svm.c xe_svm_range_free() -> range_to_vm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 4096-ptr_max |
| PARAM_VALUE | 0 | r->gpusvm | 4096-ptr_max |
| DATA_SOURCE | 0 | r | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &vm->lock |
drivers/gpu/drm/xe/xe_svm.c xe_svm_range_get_pages() -> range_to_vm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 4096-ptr_max |
| HALF_LOCKED2 | &range->lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/gpu/drm/xe/xe_svm.c xe_svm_range_get_pages() -> range_to_vm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 4096-ptr_max |
| HALF_LOCKED2 | &range->lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/gpu/drm/xe/xe_svm.c xe_svm_range_has_pagemap() -> range_to_vm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 4096-ptr_max |
| HALF_LOCKED2 | &range->lock |
drivers/gpu/drm/xe/xe_svm.c xe_svm_range_needs_migrate_to_vram() -> range_to_vm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 4096-ptr_max |
| HALF_LOCKED2 | &range->lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/gpu/drm/xe/xe_svm.c xe_svm_range_notifier_event_begin() -> range_to_vm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &gpusvm->notifier_lock | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| TYPE_LOCK | (struct drm_gpusvm)->notifier_lock |
drivers/gpu/drm/xe/xe_svm.c xe_svm_range_notifier_event_begin() -> range_to_vm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &gpusvm->notifier_lock | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| TYPE_LOCK | (struct drm_gpusvm)->notifier_lock |
drivers/gpu/drm/xe/xe_svm.c xe_svm_range_notifier_event_begin() -> range_to_vm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &gpusvm->notifier_lock | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| TYPE_LOCK | (struct drm_gpusvm)->notifier_lock |
drivers/gpu/drm/xe/xe_svm.c xe_svm_range_notifier_event_begin() -> range_to_vm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &gpusvm->notifier_lock | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| TYPE_LOCK | (struct drm_gpusvm)->notifier_lock |