Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/xen/privcmd.c privcmd_ioctl_mmap_batch() -> alloc_empty_pages()

Type Parameter Key Value
PARAM_VALUE 0 vma 4096-ptr_max
PARAM_VALUE 0 vma->vm_ops 3486764473698238464
PARAM_VALUE 0 vma->vm_private_data 0
CAPPED_DATA 0 vma->vm_end 1
CAPPED_DATA 0 vma->vm_start 1
DATA_SOURCE 0 vma r find_vma
USER_DATA 1 numpgs 0-s32max[c]
UNITS 1 numpgs unit_page
LOCK2 &mm->mmap_lock
TYPE_LOCK (struct mm_struct)->mmap_lock

drivers/xen/privcmd.c privcmd_ioctl_mmap_resource() -> alloc_empty_pages()

Type Parameter Key Value
PARAM_VALUE 0 vma 4096-ptr_max
PARAM_VALUE 0 vma->vm_ops 3486764473698238464
DATA_SOURCE 0 vma r find_vma
LOCK2 &mm->mmap_lock
TYPE_LOCK (struct mm_struct)->mmap_lock