Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- arch/x86/kernel/cpu/sgx/encl.c, line 867
- drivers/gpu/drm/nouveau/nouveau_svm.c, line 360
- mm/mmu_notifier.c
Smatch caller information:
arch/x86/kernel/cpu/sgx/encl.c sgx_encl_mm_add() -> __mmu_notifier_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | subscription | 4096-ptr_max |
| PARAM_VALUE | 0 | subscription->ops | 3716160961691394048 |
| BUF_SIZE | 1 | mm | (-1)-s32max |
| BUF_SIZE | 1 | mm | (-1)-s32max |
| DATA_SOURCE | 1 | mm | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | mm | unit_byte |
mm/mmu_notifier.c mmu_interval_notifier_insert_locked() -> __mmu_notifier_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | subscription | 0 |
| PARAM_VALUE | 1 | mm | 4096-ptr_max |
| PARAM_VALUE | 1 | mm->mmap_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | mm->mmap_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | mm->notifier_subscriptions | 0,4096-ptr_max |
| PARAM_VALUE | 1 | mm->notifier_subscriptions->has_itree | 0 |
| DATA_SOURCE | 1 | mm | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | mm | unit_byte |
| HALF_LOCKED2 | &priv->lock | ||
| HALF_LOCKED2 | &svms->lock | ||
| HALF_LOCKED2 | 1 | &mm->mmap_lock |
mm/mmu_notifier.c mmu_notifier_get_locked() -> __mmu_notifier_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | subscription | 4096-ptr_max |
| PARAM_VALUE | 0 | subscription->ops | 5932526556402757632 |
| PARAM_VALUE | 1 | mm | 4096-ptr_max |
| PARAM_VALUE | 1 | mm->mmap_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | mm->mmap_lock.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 1 | mm->mmap_lock.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 1 | mm->mmap_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | mm->mmap_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | mm->notifier_subscriptions | 0,4096-ptr_max |
| PARAM_VALUE | 1 | mm->notifier_subscriptions->lock.rlock.dep_map->name | 0-255 |
| BUF_SIZE | 0 | subscription | 56 |
| CAPPED_DATA | 1 | mm | 1 |
| DATA_SOURCE | 1 | mm | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | mm | unit_byte |
| LOCK2 | global &kfd_processes_mutex | ||
| LOCK2 | 1 | &mm->mmap_lock | |
| TYPE_LOCK | (struct mm_struct)->mmap_lock |
mm/mmu_notifier.c mmu_notifier_register() -> __mmu_notifier_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | subscription->ops | 399398510637588480,1321674804356550656,1592783625119518720,7133491441022259200 |
| PARAM_VALUE | 1 | mm | 4096-ptr_max |
| PARAM_VALUE | 1 | mm->mmap_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | mm->mmap_lock.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 1 | mm->mmap_lock.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 1 | mm->mmap_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | mm->mmap_lock.osq.tail.counter | 0-s32max |
| DATA_SOURCE | 0 | subscription | $0 |
| DATA_SOURCE | 1 | mm | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | mm | unit_byte |
| LOCK2 | 1 | &mm->mmap_lock | |
| HALF_LOCKED2 | global &iommu_sva_lock | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock |
drivers/gpu/drm/nouveau/nouveau_svm.c nouveau_svmm_init() -> __mmu_notifier_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | subscription | 4096-ptr_max |
| PARAM_VALUE | 0 | subscription->ops | 1332481199446802432 |
| UNITS | 1 | mm | unit_byte |
| LOCK2 | &cli->mutex | ||
| TYPE_LOCK | (struct nouveau_cli)->mutex |