Defined in 1 files as a function:
Referenced in 4 files:
- drivers/gpu/drm/drm_gpusvm.c, line 748
- drivers/gpu/drm/nouveau/nouveau_svm.c
- drivers/infiniband/core/umem_odp.c, line 397
- lib/test_hmm.c
Smatch caller information:
lib/test_hmm.c dmirror_mkentry() -> hmm_pfn_to_map_order()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | hmm_pfn | $3 |
| BIT_INFO | 0 | hmm_pfn | 0x8000000000000000,0xffffffffffffffff |
| BIT_INFO | 0 | hmm_pfn | 0x8000000000000000,0xffffffffffffffff |
| LOCK2 | &dmirror->mutex | ||
| TYPE_LOCK | (struct dmirror)->mutex |
lib/test_hmm.c dmirror_mkentry() -> hmm_pfn_to_map_order()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | hmm_pfn | $3 |
| BIT_INFO | 0 | hmm_pfn | 0x8000000000000000,0xffffffffffffffff |
| BIT_INFO | 0 | hmm_pfn | 0x8000000000000000,0xffffffffffffffff |
| LOCK2 | &dmirror->mutex | ||
| TYPE_LOCK | (struct dmirror)->mutex |
drivers/infiniband/core/umem_odp.c ib_umem_odp_map_dma_and_lock() -> hmm_pfn_to_map_order()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &umem_odp->umem_mutex | ||
| TYPE_LOCK | (struct ib_umem_odp)->umem_mutex |
drivers/gpu/drm/drm_gpusvm.c drm_gpusvm_hmm_pfn_to_order() -> hmm_pfn_to_map_order()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | hmm_pfn | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &vm->lock | ||
| HALF_LOCKED2 | &(range->gpusvm)->notifier_lock | ||
| HALF_LOCKED2 | &gpusvm->notifier_lock | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| TYPE_LOCK | (struct xe_vm)->lock |
drivers/gpu/drm/nouveau/nouveau_svm.c nouveau_hmm_convert_pfn() -> hmm_pfn_to_map_order()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &svmm->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct nouveau_svmm)->mutex |
drivers/gpu/drm/nouveau/nouveau_svm.c nouveau_hmm_convert_pfn() -> hmm_pfn_to_map_order()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &svmm->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct nouveau_svmm)->mutex |