Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
mm/mremap.c copy_vma_and_data() -> copy_vma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vmap | 6973445795656892416 |
| PARAM_VALUE | 0 | *vmap | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 0-18446744073709547520 |
| PARAM_VALUE | 5 | need_rmap_locks | 1016061542086041648 |
| PARAM_VALUE | 5 | *need_rmap_locks | 0 |
| CAPPED_DATA | 2 | len | 1 |
| CAPPED_DATA | 2 | len | 1 |
| DATA_SOURCE | 3 | pgoff | r linear_page_index |
| DATA_SOURCE | 4 | anon_pgoff | r __linear_anon_page_index |
| NOSPEC | 2 | len | |
| NOSPEC | 2 | len | |
| USER_DATA | 1 | addr | 0-s32max[c] |
| USER_DATA | 2 | len | 0-u64max[c] |
| NO_OVERFLOW_SIMPLE | 2 | len | |
| UNITS | 1 | addr | unit_byte |
| UNITS | 2 | len | unit_byte |
| LOCK2 | &mm->mmap_lock | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock |