Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

mm/util.c vma_set_pgoff() -> assert_sane_pgoff()

Type Parameter Key Value
PARAM_VALUE 0 vma 4096-ptr_max
PARAM_VALUE 1 pgoff 0
BUF_SIZE 0 vma (-1),1-s32max
BUF_SIZE 0 vma (-1),1-s32max
BUF_SIZE 0 vma->vm_file (-1),1-s32max
BUF_SIZE 0 vma->vm_private_data (-1),1-s32max
DATA_SOURCE 0 vma $0
DATA_SOURCE 1 pgoff $1
NOSPEC 0 vma->vm_pgoff
NOSPEC 0 vma->vm_start
NOSPEC 1 pgoff
NOSPEC 1 pgoff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 vma->vm_end 4096-u64max[c]
USER_DATA 0 vma->vm_pgoff 0-4503599627370495[c]
USER_DATA 0 vma->vm_start 0-18446744073709547520
USER_DATA 1 pgoff 0[c]
NO_OVERFLOW_SIMPLE 0 vma->vm_pgoff
NO_OVERFLOW_SIMPLE 1 pgoff
UNITS 1 pgoff unit_page
HALF_LOCKED2 &idev->info_lock
HALF_LOCKED2 &ipcp->lock
HALF_LOCKED2 &of->mutex

mm/vma.c vma_set_pgoff() -> assert_sane_pgoff()

Type Parameter Key Value
PARAM_VALUE 0 vma 4096-ptr_max
CAPPED_DATA 0 vma 1
DATA_SOURCE 0 vma $0
DATA_SOURCE 1 pgoff $1
NOSPEC 0 vma->vm_end
NOSPEC 0 vma->vm_start
NOSPEC 1 pgoff
NOSPEC 1 pgoff
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 vma->vm_end 0-u64max
USER_DATA 0 vma->vm_start 0-u64max[c]
USER_DATA 1 pgoff 0-4503599627370495[c]
NO_OVERFLOW_SIMPLE 0 vma->vm_end
NO_OVERFLOW_SIMPLE 0 vma->vm_file->f_mapping->host->i_bytes
NO_OVERFLOW_SIMPLE 0 vma->vm_start
UNITS 1 pgoff unit_page
HALF_LOCKED2 &mm->mmap_lock
HALF_LOCKED2 0 &vma->anon_vma->root->rwsem