Defined in 2 files as a member:

Defined in 1 files as a function:

Referenced in 51 files:

Smatch caller information:

arch/x86/entry/vdso/vma.c map_vdso() -> get_unmapped_area()

Type Parameter Key Value
PARAM_VALUE 0 file 0
PARAM_VALUE 3 pgoff 0
PARAM_VALUE 4 flags 0
DATA_SOURCE 1 addr $1
RX_PATH
USER_DATA 1 addr 0-u64max
UNITS 2 len unit_byte
LOCK2 &mm->mmap_lock
TYPE_LOCK (struct mm_struct)->mmap_lock

mm/mmap.c check_brk_limits() -> get_unmapped_area()

Type Parameter Key Value
PARAM_VALUE 0 file 0
PARAM_VALUE 1 addr 0,4096-u64max
PARAM_VALUE 3 pgoff 0
PARAM_VALUE 4 flags 16
DATA_SOURCE 1 addr $0
DATA_SOURCE 2 len $1
BIT_INFO 1 addr 0x0,0xfffffffffffff000
BIT_INFO 1 addr 0x0,0xfffffffffffff000
USER_DATA 2 len 0,4096-u64max
UNITS 1 addr unit_byte
UNITS 2 len unit_byte
LOCK2 &mm->mmap_lock
TYPE_LOCK (struct mm_struct)->mmap_lock

mm/mremap.c vma_expandable() -> get_unmapped_area()

Type Parameter Key Value
PARAM_VALUE 0 file 0
PARAM_VALUE 3 pgoff 0
PARAM_VALUE 4 flags 16
UNITS 1 addr unit_byte
UNITS 2 len unit_byte
LOCK2 &mm->mmap_lock
TYPE_LOCK (struct mm_struct)->mmap_lock

mm/mremap.c vrm_set_new_addr() -> get_unmapped_area()

Type Parameter Key Value
PARAM_VALUE 4 flags 0-1,16-17
DATA_SOURCE 3 pgoff r linear_page_index
FUZZY_MAX 4 flags 0
BIT_INFO 4 flags 0x0,0x11
BIT_INFO 4 flags 0x0,0x11
NOSPEC 2 len
NOSPEC 2 len
USER_DATA 1 addr 0-u64max
USER_DATA 2 len 0-u64max[c]
UNITS 1 addr unit_byte
UNITS 2 len unit_byte
LOCK2 &mm->mmap_lock
TYPE_LOCK (struct mm_struct)->mmap_lock

arch/x86/kernel/uprobes.c arch_uprobe_get_xol_area() -> get_unmapped_area()

Type Parameter Key Value
PARAM_VALUE 0 file 0
PARAM_VALUE 2 len 4096
PARAM_VALUE 3 pgoff 0
PARAM_VALUE 4 flags 0
RX_PATH
TASK_NOT_RUNNING
UNITS 1 addr unit_byte
UNITS 2 len unit_byte
LOCK2 &mm->mmap_lock
TYPE_LOCK (struct mm_struct)->mmap_lock

kernel/events/uprobes.c arch_uprobe_get_xol_area() -> get_unmapped_area()

Type Parameter Key Value
PARAM_VALUE 0 file 0
PARAM_VALUE 2 len 4096
PARAM_VALUE 3 pgoff 0
PARAM_VALUE 4 flags 0
RX_PATH
TASK_NOT_RUNNING
UNITS 1 addr unit_byte
UNITS 2 len unit_byte
LOCK2 &mm->mmap_lock
TYPE_LOCK (struct mm_struct)->mmap_lock