Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/accel/amdxdna/aie2_ctx.c, line 1075
- drivers/gpu/drm/drm_gpusvm.c
- drivers/gpu/drm/nouveau/nouveau_svm.c, line 694
- drivers/hv/mshv_regions.c, line 416
- drivers/infiniband/core/umem_odp.c, line 369
- lib/test_hmm.c, line 399
- mm/hmm.c, line 828
Smatch caller information:
lib/test_hmm.c dmirror_range_fault_unlocked() -> hmm_range_fault_unlocked_timeout()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | range | 6446020192845598720 |
| PARAM_VALUE | 0 | range->default_flags | 9223372036854775808 |
| PARAM_VALUE | 0 | range->end | 0-18446744073709551614 |
| PARAM_VALUE | 0 | range->hmm_pfns | 789630165410365440 |
| PARAM_VALUE | 0 | range->notifier | 4096-ptr_max |
| PARAM_VALUE | 0 | range->notifier->mm->mmap_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | range->notifier->mm->mmap_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | range->start | 0-18446744073709551613 |
| PARAM_VALUE | 1 | timeout | 0 |
| CAPPED_DATA | 0 | range->end | 1 |
| CAPPED_DATA | 0 | range->start | 1 |
| DATA_SOURCE | 0 | range | $1 |
| DATA_SOURCE | 1 | timeout | $2 |
| NOSPEC | 0 | range->end | |
| NOSPEC | 0 | range->start | |
| USER_DATA | 0 | range->end | 1-s32max[c] |
| USER_DATA | 0 | range->start | 0-18446744073709551613[c] |
| UNITS | 1 | timeout | unit_jiffy |
drivers/infiniband/core/umem_odp.c ib_umem_odp_map_dma_and_lock() -> hmm_range_fault_unlocked_timeout()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | range | 7103496218995847168 |
| PARAM_VALUE | 0 | range->default_flags | 0,9223372036854775808,13835058055282163712 |
| PARAM_VALUE | 0 | range->hmm_pfns | 4096-ptr_max |
| PARAM_VALUE | 0 | range->notifier | 4096-ptr_max |
| PARAM_VALUE | 1 | timeout | 0-536870912 |
| DATA_SOURCE | 1 | timeout | r msecs_to_jiffies |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | range->end | 0-u64max[c] |
| USER_DATA | 0 | range->start | 0-u64max[c] |
drivers/gpu/drm/drm_gpusvm.c drm_gpusvm_get_pages() -> hmm_range_fault_unlocked_timeout()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | range | 2089969979845767168 |
| PARAM_VALUE | 0 | range->default_flags | 9223372036854775808,13835058055282163712 |
| PARAM_VALUE | 0 | range->hmm_pfns | 1-18446744073709551614 |
| PARAM_VALUE | 0 | range->notifier | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | timeout | unit_jiffy |
drivers/gpu/drm/drm_gpusvm.c drm_gpusvm_range_evict() -> hmm_range_fault_unlocked_timeout()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | range | 2751984752271552512 |
| PARAM_VALUE | 0 | range->default_flags | 9223372036854775808 |
| PARAM_VALUE | 0 | range->hmm_pfns | 1-18446744073709551614 |
| PARAM_VALUE | 0 | range->notifier | 4096-ptr_max |
| PARAM_VALUE | 0 | range->notifier_seq | 0 |
| PARAM_VALUE | 1 | timeout | 0-536870912 |
| DATA_SOURCE | 1 | timeout | r msecs_to_jiffies |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &driver_migrate_lock | ||
| HALF_LOCKED2 | &vm->lock |
drivers/gpu/drm/drm_gpusvm.c drm_gpusvm_scan_mm() -> hmm_range_fault_unlocked_timeout()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | range | 148867299451260928 |
| PARAM_VALUE | 0 | range->hmm_pfns | 1-18446744073709551614 |
| PARAM_VALUE | 0 | range->notifier | 4096-ptr_max |
| PARAM_VALUE | 1 | timeout | 0-536870912 |
| DATA_SOURCE | 1 | timeout | r msecs_to_jiffies |
| HALF_LOCKED2 | &range->lock |
drivers/gpu/drm/nouveau/nouveau_svm.c nouveau_range_fault() -> hmm_range_fault_unlocked_timeout()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | range | 5967102744029749248 |
| PARAM_VALUE | 0 | range->default_flags | 0,9223372036854775808,13835058055282163712 |
| PARAM_VALUE | 0 | range->hmm_pfns | 9060274505019023360 |
| PARAM_VALUE | 0 | range->notifier | 5835573037599842304 |
| UNITS | 1 | timeout | unit_jiffy |
| HALF_LOCKED2 | &pool->lock |
drivers/accel/amdxdna/aie2_ctx.c aie2_populate_range() -> hmm_range_fault_unlocked_timeout()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | range | 4096-ptr_max |
| PARAM_VALUE | 1 | timeout | 0-536870912 |
| DATA_SOURCE | 1 | timeout | r msecs_to_jiffies |
| LOCK2 | &client->hwctx_srcu | ||
| LOCK2 | &hwctx->priv->job_sem | ||
| HALF_LOCKED2 | &xdna->client_lock | ||
| HALF_LOCKED2 | &xdna->dev_lock | ||
| TYPE_LOCK | (struct amdxdna_client)->hwctx_srcu | ||
| TYPE_LOCK | (struct amdxdna_hwctx_priv)->job_sem |