Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/xe/xe_svm.c __xe_svm_handle_pagefault() -> xe_svm_range_has_pagemap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | range | 4096-ptr_max |
| PARAM_VALUE | 0 | range->base.gpusvm->mm->mmap_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | range->base.gpusvm->mm->mmap_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | range->base.notifier->notifier.mm->mmap_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | range->base.notifier->notifier.mm->mmap_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | range->base.notifier->notifier.mm->notifier_subscriptions->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | range->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | range->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | range->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | range->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | range->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | range->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | range->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | range->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | range->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | range->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | range->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | range->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | range->pages.dma_addr | 1-u64max |
| PARAM_VALUE | 0 | range->pages.dpagemap | 4096-ptr_max |
| PARAM_VALUE | 0 | range->pages.drm | 1-u64max |
| PARAM_VALUE | 0 | range->pages.drm->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | range->pages.flags.__flags | 0 |
| PARAM_VALUE | 0 | range->removed | 0 |
| CAPPED_DATA | 0 | &range->lock | 1 |
| DATA_SOURCE | 0 | range | r xe_svm_range_find_or_insert |
| LOCK2 | &vm->lock | ||
| LOCK2 | 0 | &range->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_range_is_valid() -> xe_svm_range_has_pagemap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | range | 4096-ptr_max |
| PARAM_VALUE | 0 | range->base.gpusvm->mm->mmap_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | range->base.gpusvm->mm->mmap_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | range->base.notifier->notifier.mm->mmap_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | range->base.notifier->notifier.mm->mmap_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | range->base.notifier->notifier.mm->notifier_subscriptions->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | range->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | range->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | range->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | range->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | range->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | range->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | range->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | range->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | range->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | range->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | range->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | range->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | range->pages.drm->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | range->pages.drm->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | range->removed | 0 |
| DATA_SOURCE | 0 | range | $0 |
| DATA_SOURCE | 1 | dpagemap | $3 |
| LOCK2 | 0 | &range->lock | |
| TYPE_LOCK | (struct xe_svm_range)->lock |
drivers/gpu/drm/xe/xe_svm.c xe_svm_range_needs_migrate_to_vram() -> xe_svm_range_has_pagemap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | range | 4096-ptr_max |
| PARAM_VALUE | 0 | range->base.gpusvm->mm->mmap_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | range->base.gpusvm->mm->mmap_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | range->base.notifier->notifier.mm->mmap_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | range->base.notifier->notifier.mm->mmap_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | range->removed | 0 |
| PARAM_VALUE | 1 | dpagemap | 1-u64max |
| DATA_SOURCE | 0 | range | $0 |
| DATA_SOURCE | 1 | dpagemap | $2 |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | 0 | &range->lock |