Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

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

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

mm/vma.c insert_vm_struct() -> vma_link()

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 vma 4096-ptr_max
PARAM_VALUE 1 vma->anon_name 0
PARAM_VALUE 1 vma->anon_vma 0
PARAM_VALUE 1 vma->anon_vma_chain.next 4096-ptr_max
PARAM_VALUE 1 vma->anon_vma_chain.next->next 4096-ptr_max
PARAM_VALUE 1 vma->anon_vma_chain.prev 4096-ptr_max
PARAM_VALUE 1 vma->anon_vma_chain.prev->next 4096-ptr_max
PARAM_VALUE 1 vma->anon_vma_chain.prev->prev 4096-ptr_max
PARAM_VALUE 1 vma->flags.__vma_flags 4096-ptr_max
PARAM_VALUE 1 vma->numab_state 0
PARAM_VALUE 1 vma->pfnmap_track_ctx 0
PARAM_VALUE 1 vma->shared.rb.__rb_parent_color 0
PARAM_VALUE 1 vma->shared.rb.rb_left 0
PARAM_VALUE 1 vma->shared.rb.rb_right 0
PARAM_VALUE 1 vma->shared.rb_subtree_last 0
PARAM_VALUE 1 vma->swap_readahead_info.counter 0
PARAM_VALUE 1 vma->vm_file 0
PARAM_VALUE 1 vma->vm_flags 0
PARAM_VALUE 1 vma->vm_freeptr.v 0
PARAM_VALUE 1 vma->vm_lock_seq u32max
PARAM_VALUE 1 vma->vm_ops 0,3940715687237373952
PARAM_VALUE 1 vma->vm_pgoff 0-4503599627370495
PARAM_VALUE 1 vma->vm_policy 0
PARAM_VALUE 1 vma->vm_private_data 0,892145475411017728,1799840835957202944,3237031934007959552,6412785758661562368,7306518744887070720
PARAM_VALUE 1 vma->vm_refcnt.refs.counter 0
PARAM_VALUE 1 vma->vm_userfaultfd_ctx.ctx 0
PARAM_VALUE 1 vma->vmlock_dep_map->name 0-255
PARAM_VALUE 1 vma->vmlock_dep_map.cpu 0
PARAM_VALUE 1 vma->vmlock_dep_map.ip 0
PARAM_VALUE 1 vma->vmlock_dep_map.lock_type 0
PARAM_VALUE 1 vma->vmlock_dep_map.wait_type_outer 0
DATA_SOURCE 0 mm $0
DATA_SOURCE 1 vma $1
BIT_INFO 1 vma->flags 0x0,0x7fffffffffffffff
NOSPEC 1 vma->vm_pgoff
NOSPEC 1 vma->vm_start
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 vma->vm_end 0-u64max
USER_DATA 1 vma->vm_pgoff 0[c]
USER_DATA 1 vma->vm_start 0-u64max
UNITS 0 mm unit_byte
LOCK2 0 &mm->mmap_lock
TYPE_LOCK (struct mm_struct)->mmap_lock