Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

mm/vma.c copy_vma() -> vma_close()

Type Parameter Key Value
PARAM_VALUE 0 vma 4096-ptr_max
PARAM_VALUE 0 vma->anon_name 0,4096-ptr_max
PARAM_VALUE 0 vma->anon_vma_chain.next 4096-ptr_max
PARAM_VALUE 0 vma->anon_vma_chain.next->next 4096-ptr_max
PARAM_VALUE 0 vma->anon_vma_chain.prev 4096-ptr_max
PARAM_VALUE 0 vma->anon_vma_chain.prev->next 4096-ptr_max
PARAM_VALUE 0 vma->anon_vma_chain.prev->prev 4096-ptr_max
PARAM_VALUE 0 vma->numab_state 0
PARAM_VALUE 0 vma->pfnmap_track_ctx 0,4096-ptr_max
PARAM_VALUE 0 vma->vm_file 0,4096-ptr_max
PARAM_VALUE 0 vma->vm_lock_seq u32max
PARAM_VALUE 0 vma->vm_ops 0,4096-ptr_max
PARAM_VALUE 0 vma->vm_policy 0,4096-ptr_max
PARAM_VALUE 0 vma->vm_policy->refcnt.counter 1
PARAM_VALUE 0 vma->vm_private_data 0,4096-ptr_max
PARAM_VALUE 0 vma->vm_refcnt.refs.counter 0
PARAM_VALUE 0 vma->vm_start 0-18446744073709547520
PARAM_VALUE 0 vma->vmlock_dep_map->name 0-255
PARAM_VALUE 0 vma->vmlock_dep_map.cpu 0
PARAM_VALUE 0 vma->vmlock_dep_map.lock_type 0
PARAM_VALUE 0 vma->vmlock_dep_map.wait_type_outer 0
CAPPED_DATA 0 vma->anon_vma 1
DATA_SOURCE 0 vma r vm_area_dup
NOSPEC 0 vma->vm_start
NOCHECK_CALL
USER_DATA 0 vma->__vm_anon_pgoff_hi 0-u32max[c]
USER_DATA 0 vma->__vm_anon_pgoff_lo 0-u32max[c]
USER_DATA 0 vma->vm_pgoff 0-u64max[c]
USER_DATA 0 vma->vm_start 1-18446744073709547520
NO_OVERFLOW_SIMPLE 0 vma->vm_start
LOCK2 &mm->mmap_lock
TYPE_LOCK (struct mm_struct)->mmap_lock

mm/vma.c remove_vma() -> vma_close()

Type Parameter Key Value
PARAM_VALUE 0 vma 1-u64max
PARAM_VALUE 0 vma->vm_file->f_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 vma->vm_file->f_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 vma->vm_userfaultfd_ctx.ctx->map_changing_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 vma->vm_userfaultfd_ctx.ctx->map_changing_lock.first_waiter->type 0-1
DATA_SOURCE 0 vma $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 vma->vm_file->f_mapping->host->i_bytes
NO_OVERFLOW_SIMPLE 0 vma->vm_start
UNITS 0 vma unit_byte
HALF_LOCKED2 &mm->mmap_lock

mm/vma.c vms_clean_up_area() -> vma_close()

Type Parameter Key Value
PARAM_VALUE 0 vma 1-u64max
DATA_SOURCE 0 vma r mas_find
NOCHECK_CALL