Defined in 1 files as a prototype:
Defined in 3 files as a function:
- include/linux/userfaultfd_k.h, line 454 (as a function)
- mm/userfaultfd.c, line 3316 (as a function)
- tools/testing/vma/include/stubs.h, line 42 (as a function)
Referenced in 4 files:
Smatch caller information:
mm/mmap.c __do_sys_brk() -> userfaultfd_unmap_complete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->def_vma_flags.__vma_flags | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->iommu_mm->pasid | 0-4294967295 |
| PARAM_VALUE | 0 | mm->mmap_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mm->mmap_lock.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | mm->mmap_lock.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | mm->mmap_lock.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | mm->mmap_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | mm->mmap_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | uf | 295339261841039360 |
| PARAM_VALUE | 1 | uf->next | 295339261841039360 |
| PARAM_VALUE | 1 | uf->prev | 295339261841039360 |
| NOCHECK_CALL | |||
| USER_DATA | 0 | mm->brk | 0-u64max |
| UNITS | 0 | mm | unit_byte |
| HALF_LOCKED2 | 0 | &mm->mmap_lock |
mm/mmap.c __do_sys_brk() -> userfaultfd_unmap_complete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->def_vma_flags.__vma_flags | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->iommu_mm->pasid | 0-4294967295 |
| PARAM_VALUE | 0 | mm->mmap_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mm->mmap_lock.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | mm->mmap_lock.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | mm->mmap_lock.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | mm->mmap_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | mm->mmap_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | uf | 295339261841039360 |
| PARAM_VALUE | 1 | uf->next | 295339261841039360 |
| PARAM_VALUE | 1 | uf->prev | 295339261841039360 |
| NOCHECK_CALL | |||
| USER_DATA | 0 | mm->brk | 0-u64max |
| UNITS | 0 | mm | unit_byte |
| HALF_LOCKED2 | 0 | &mm->mmap_lock |
mm/mmap.c vm_brk_flags() -> userfaultfd_unmap_complete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->def_vma_flags.__vma_flags | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->iommu_mm->pasid | 0-4294967295 |
| PARAM_VALUE | 0 | mm->mmap_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mm->mmap_lock.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | mm->mmap_lock.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | mm->mmap_lock.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | mm->mmap_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | mm->mmap_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | uf | 8191897851247865856 |
| PARAM_VALUE | 1 | uf->next | 8191897851247865856 |
| PARAM_VALUE | 1 | uf->prev | 8191897851247865856 |
| NOCHECK_CALL | |||
| UNITS | 0 | mm | unit_byte |
mm/util.c vm_mmap_pgoff() -> userfaultfd_unmap_complete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->mmap_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mm->mmap_lock.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | mm->mmap_lock.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | mm->mmap_lock.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | mm->mmap_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | mm->mmap_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | uf | 8752995455334682624 |
| PARAM_VALUE | 1 | uf->next | 8752995455334682624 |
| PARAM_VALUE | 1 | uf->prev | 8752995455334682624 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| UNITS | 0 | mm | unit_byte |
mm/mremap.c notify_uffd() -> userfaultfd_unmap_complete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | uf | 1097532445584617472 |
| NOCHECK_CALL | |||
| UNITS | 0 | mm | unit_byte |
| HALF_LOCKED2 | &mm->mmap_lock |
mm/mremap.c notify_uffd() -> userfaultfd_unmap_complete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | uf | 6922569882902003712 |
| PARAM_VALUE | 1 | uf->prev | 4096-ptr_max |
| NOCHECK_CALL | |||
| UNITS | 0 | mm | unit_byte |
| HALF_LOCKED2 | &mm->mmap_lock |
mm/vma.c __vm_munmap() -> userfaultfd_unmap_complete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->mmap_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mm->mmap_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | mm->mmap_lock.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | mm->mmap_lock.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | mm->mmap_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | mm->mmap_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | uf | 3544304931398881280 |
| PARAM_VALUE | 1 | uf->next | 3544304931398881280 |
| PARAM_VALUE | 1 | uf->prev | 3544304931398881280 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | mm | unit_byte |
| HALF_LOCKED2 | 0 | &mm->mmap_lock |