Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 11 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c
- drivers/gpu/drm/drm_gpusvm.c, line 1109
- drivers/gpu/drm/i915/gem/i915_gem_userptr.c, line 75
- drivers/gpu/drm/nouveau/nouveau_svm.c
- drivers/gpu/drm/radeon/radeon_mn.c, line 100
- drivers/gpu/drm/xe/xe_userptr.c, line 418
- drivers/hv/mshv_regions.c, line 543
- drivers/infiniband/core/umem_odp.c, line 108
- drivers/infiniband/hw/hfi1/user_exp_rcv.c
- lib/test_hmm.c
- mm/mmu_notifier.c, line 1039
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c amdgpu_hmm_register() -> mmu_interval_notifier_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | interval_sub | 4096-ptr_max |
| PARAM_VALUE | 4 | ops | 6256248928733786112 |
| CAPPED_DATA | 2 | start | 1 |
| CAPPED_DATA | 2 | start | 1 |
| DATA_SOURCE | 2 | start | $1 |
| USER_DATA | 2 | start | 0-u64max[c] |
| UNITS | 1 | mm | unit_byte |
| HALF_LOCKED2 | &p->mutex | ||
| HALF_LOCKED2 | &process_info->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c amdgpu_hmm_register() -> mmu_interval_notifier_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | interval_sub | 4096-ptr_max |
| PARAM_VALUE | 4 | ops | 7945183118039220224 |
| CAPPED_DATA | 2 | start | 1 |
| CAPPED_DATA | 2 | start | 1 |
| DATA_SOURCE | 2 | start | $1 |
| USER_DATA | 2 | start | 0-u64max[c] |
| UNITS | 1 | mm | unit_byte |
| HALF_LOCKED2 | &p->mutex | ||
| HALF_LOCKED2 | &process_info->lock |
lib/test_hmm.c dmirror_fops_open() -> mmu_interval_notifier_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | interval_sub | 4096-ptr_max |
| PARAM_VALUE | 2 | start | 0 |
| PARAM_VALUE | 3 | length | 18446744073709547520 |
| PARAM_VALUE | 4 | ops | 1429543087959076864 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | mm | unit_byte |
lib/test_hmm.c dmirror_range_snapshot() -> mmu_interval_notifier_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | interval_sub | 3003087626218565632 |
| PARAM_VALUE | 1 | mm | 4096-ptr_max |
| PARAM_VALUE | 1 | mm->mm_users.counter | 0-s32max |
| PARAM_VALUE | 2 | start | 0-18446744073709551613 |
| PARAM_VALUE | 4 | ops | 5417104862190780416 |
| BUF_SIZE | 0 | interval_sub | 88 |
| USER_DATA | 2 | start | 0-18446744073709551613[c] |
| UNITS | 1 | mm | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | length | unit_byte |
drivers/infiniband/core/umem_odp.c ib_init_umem_odp() -> mmu_interval_notifier_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | interval_sub | 4096-ptr_max |
| PARAM_VALUE | 0 | interval_sub->ops | 729767490710261760,2075149605199306752 |
| PARAM_VALUE | 4 | ops | 729767490710261760,2075149605199306752 |
| CAPPED_DATA | 2 | start | 1 |
| CAPPED_DATA | 2 | start | 1 |
| CAPPED_DATA | 3 | length | 1 |
| DATA_SOURCE | 4 | ops | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | start | 0-u64max[c] |
| UNITS | 1 | mm | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | length | unit_byte |
drivers/gpu/drm/drm_gpusvm.c drm_gpusvm_range_find_or_insert() -> mmu_interval_notifier_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | interval_sub | 4096-ptr_max |
| PARAM_VALUE | 1 | mm | 4096-ptr_max |
| PARAM_VALUE | 1 | mm->mm_users.counter | 0-s32max |
| PARAM_VALUE | 4 | ops | 9016023957590122496 |
| CAPPED_DATA | 2 | start | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | mm | unit_byte |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &vm->lock |
drivers/gpu/drm/radeon/radeon_mn.c radeon_mn_register() -> mmu_interval_notifier_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | interval_sub | 4096-ptr_max |
| PARAM_VALUE | 4 | ops | 5178366692669796352 |
| DATA_SOURCE | 2 | start | $1 |
| USER_DATA | 2 | start | 0-u64max[u] |
| UNITS | 1 | mm | unit_byte |
| LOCK2 | &rdev->exclusive_lock | ||
| TYPE_LOCK | (struct radeon_device)->exclusive_lock |
drivers/infiniband/hw/hfi1/user_exp_rcv.c hfi1_user_exp_rcv_setup() -> mmu_interval_notifier_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | interval_sub | 4096-ptr_max |
| PARAM_VALUE | 3 | length | 0-17592186040320 |
| PARAM_VALUE | 4 | ops | 6892707944035008512 |
| BIT_INFO | 2 | start | 0x0,0xfffffffffffff000 |
| BIT_INFO | 2 | start | 0x0,0xfffffffffffff000 |
| USER_DATA | 2 | start | 0-u64max |
| USER_DATA | 3 | length | 0-8796093018112[c] |
| UNITS | 1 | mm | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | length | unit_byte |
drivers/infiniband/hw/hfi1/user_exp_rcv.c set_rcvarray_entry() -> mmu_interval_notifier_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | interval_sub | 4096-ptr_max |
| PARAM_VALUE | 3 | length | 0-17592186040320 |
| PARAM_VALUE | 4 | ops | 1453591366940090368 |
| UNITS | 1 | mm | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | length | unit_byte |
| LOCK2 | &uctxt->exp_mutex | ||
| TYPE_LOCK | (struct hfi1_ctxtdata)->exp_mutex |
drivers/gpu/drm/i915/gem/i915_gem_userptr.c i915_gem_userptr_init__mmu_notifier() -> mmu_interval_notifier_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | interval_sub | 4096-ptr_max |
| PARAM_VALUE | 3 | length | 1-u64max |
| PARAM_VALUE | 4 | ops | 9119031229271220224 |
| CAPPED_DATA | 2 | start | 1 |
| CAPPED_DATA | 2 | start | 1 |
| USER_DATA | 2 | start | 0-u64max[c] |
| USER_DATA | 3 | length | 1-u64max[c] |
| UNITS | 1 | mm | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | length | unit_byte |
drivers/gpu/drm/xe/xe_userptr.c xe_userptr_setup() -> mmu_interval_notifier_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | interval_sub | 4096-ptr_max |
| PARAM_VALUE | 4 | ops | 7665972246073393152 |
| DATA_SOURCE | 2 | start | $1 |
| DATA_SOURCE | 3 | length | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | mm | unit_byte |
| UNITS | 3 | length | unit_byte |
| LOCK2 | &vm->lock | ||
| TYPE_LOCK | (struct xe_vm)->lock |
drivers/gpu/drm/nouveau/nouveau_svm.c nouveau_atomic_range_fault() -> mmu_interval_notifier_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | interval_sub | 5835573037599842304 |
| PARAM_VALUE | 1 | mm | 4096-ptr_max |
| PARAM_VALUE | 1 | mm->context.global_asid | 0 |
| PARAM_VALUE | 1 | mm->context.ldt | 0 |
| PARAM_VALUE | 1 | mm->exe_file | 0 |
| PARAM_VALUE | 1 | mm->ioctx_table | 0 |
| PARAM_VALUE | 1 | mm->mm_cid.pcpu | 0 |
| PARAM_VALUE | 1 | mm->mm_id | 0 |
| PARAM_VALUE | 1 | mm->mm_mt.ma_root | 0 |
| PARAM_VALUE | 1 | mm->mm_users.counter | 0-s32max |
| PARAM_VALUE | 1 | mm->mmap_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | mm->notifier_subscriptions | 0 |
| PARAM_VALUE | 1 | mm->sc_stat.pcpu_sched | 0 |
| PARAM_VALUE | 3 | length | 4096 |
| PARAM_VALUE | 4 | ops | 5660723982839668736 |
| UNITS | 1 | mm | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | length | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/nouveau/nouveau_svm.c nouveau_range_fault() -> mmu_interval_notifier_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | interval_sub | 5835573037599842304 |
| PARAM_VALUE | 1 | mm | 4096-ptr_max |
| PARAM_VALUE | 1 | mm->mm_users.counter | 0-s32max |
| PARAM_VALUE | 3 | length | 4096 |
| PARAM_VALUE | 4 | ops | 5660723982839668736 |
| UNITS | 1 | mm | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | length | unit_byte |
| HALF_LOCKED2 | &pool->lock |