Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
mm/vma.c __mmap_region() -> vma_merge_new_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vmg | 5356536376855486464 |
| PARAM_VALUE | 0 | vmg->__adjust_middle_start | 0 |
| PARAM_VALUE | 0 | vmg->__adjust_next_start | 0 |
| PARAM_VALUE | 0 | vmg->__remove_middle | 0 |
| PARAM_VALUE | 0 | vmg->__remove_next | 0 |
| PARAM_VALUE | 0 | vmg->anon_name | 0 |
| PARAM_VALUE | 0 | vmg->anon_pgoff | 0-4503599627370495 |
| PARAM_VALUE | 0 | vmg->anon_vma | 0 |
| PARAM_VALUE | 0 | vmg->copied_from | 0 |
| PARAM_VALUE | 0 | vmg->give_up_on_oom | 0 |
| PARAM_VALUE | 0 | vmg->just_expand | 0 |
| PARAM_VALUE | 0 | vmg->middle | 0 |
| PARAM_VALUE | 0 | vmg->policy | 0 |
| PARAM_VALUE | 0 | vmg->skip_vma_uprobe | 0 |
| PARAM_VALUE | 0 | vmg->start | 0-18446744073709547520 |
| PARAM_VALUE | 0 | vmg->state | 0 |
| PARAM_VALUE | 0 | vmg->target | 0 |
| PARAM_VALUE | 0 | vmg->uffd_ctx.ctx | 0 |
| PARAM_VALUE | 0 | vmg->vm_flags | 0 |
| PARAM_VALUE | 0 | vmg->vmi | 7342498018941853696 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ctx->ring_lock | ||
| HALF_LOCKED2 | &mm->mmap_lock |
mm/vma.c do_brk_flags() -> vma_merge_new_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vmg | 5410385347448553472 |
| PARAM_VALUE | 0 | vmg->__adjust_middle_start | 0 |
| PARAM_VALUE | 0 | vmg->__adjust_next_start | 0 |
| PARAM_VALUE | 0 | vmg->__remove_middle | 0 |
| PARAM_VALUE | 0 | vmg->__remove_next | 0 |
| PARAM_VALUE | 0 | vmg->anon_name | 0 |
| PARAM_VALUE | 0 | vmg->anon_pgoff | 0-4503599627370495 |
| PARAM_VALUE | 0 | vmg->anon_vma | 0 |
| PARAM_VALUE | 0 | vmg->copied_from | 0 |
| PARAM_VALUE | 0 | vmg->file | 0 |
| PARAM_VALUE | 0 | vmg->give_up_on_oom | 0 |
| PARAM_VALUE | 0 | vmg->just_expand | 1 |
| PARAM_VALUE | 0 | vmg->middle | 0 |
| PARAM_VALUE | 0 | vmg->mm | 4096-ptr_max |
| PARAM_VALUE | 0 | vmg->next | 0 |
| PARAM_VALUE | 0 | vmg->pgoff | 0-4503599627370495 |
| PARAM_VALUE | 0 | vmg->policy | 0 |
| PARAM_VALUE | 0 | vmg->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | vmg->skip_vma_uprobe | 0 |
| PARAM_VALUE | 0 | vmg->start | 0,4096-u64max |
| PARAM_VALUE | 0 | vmg->state | 0 |
| PARAM_VALUE | 0 | vmg->target | 0 |
| PARAM_VALUE | 0 | vmg->uffd_ctx.ctx | 0 |
| PARAM_VALUE | 0 | vmg->vm_flags | 0 |
| PARAM_VALUE | 0 | vmg->vmi | 1022776648951132160,5394055068851789824 |
| USER_DATA | 0 | vmg->end | 0,4096-u64max[c] |
| LOCK2 | &mm->mmap_lock | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock |
mm/vma.c vma_merge_copied_range() -> vma_merge_new_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vmg | 1474854196907466752 |
| PARAM_VALUE | 0 | vmg->__adjust_middle_start | 0 |
| PARAM_VALUE | 0 | vmg->__adjust_next_start | 0 |
| PARAM_VALUE | 0 | vmg->__remove_middle | 0 |
| PARAM_VALUE | 0 | vmg->__remove_next | 0 |
| PARAM_VALUE | 0 | vmg->copied_from | 4096-ptr_max |
| PARAM_VALUE | 0 | vmg->give_up_on_oom | 0 |
| PARAM_VALUE | 0 | vmg->just_expand | 0 |
| PARAM_VALUE | 0 | vmg->middle | 0 |
| PARAM_VALUE | 0 | vmg->mm | 4096-ptr_max |
| PARAM_VALUE | 0 | vmg->start | 0-18446744073709547520 |
| PARAM_VALUE | 0 | vmg->state | 0 |
| PARAM_VALUE | 0 | vmg->target | 0 |
| PARAM_VALUE | 0 | vmg->uffd_ctx.ctx | 0 |
| PARAM_VALUE | 0 | vmg->vmi | 7652374247806283776 |
| DATA_SOURCE | 0 | vmg | $0 |
| USER_DATA | 0 | vmg->anon_pgoff | 0-524287[c] |
| USER_DATA | 0 | vmg->pgoff | 0-524287[c] |
| USER_DATA | 0 | vmg->start | 0-s32max[c] |
| LOCK2 | &mm->mmap_lock | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock |
mm/vma.c vma_merge_extend() -> vma_merge_new_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vmg | 7947032063174692864 |
| PARAM_VALUE | 0 | vmg->__adjust_middle_start | 0 |
| PARAM_VALUE | 0 | vmg->__adjust_next_start | 0 |
| PARAM_VALUE | 0 | vmg->__remove_middle | 0 |
| PARAM_VALUE | 0 | vmg->__remove_next | 0 |
| PARAM_VALUE | 0 | vmg->copied_from | 0 |
| PARAM_VALUE | 0 | vmg->give_up_on_oom | 0 |
| PARAM_VALUE | 0 | vmg->just_expand | 0 |
| PARAM_VALUE | 0 | vmg->middle | 0 |
| PARAM_VALUE | 0 | vmg->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | vmg->skip_vma_uprobe | 0 |
| PARAM_VALUE | 0 | vmg->state | 0 |
| PARAM_VALUE | 0 | vmg->target | 0 |
| PARAM_VALUE | 0 | vmg->uffd_ctx.ctx | 0 |
| PARAM_VALUE | 0 | vmg->vmi | 2832231344960827392 |
| NO_OVERFLOW_SIMPLE | 0 | vmg->start | |
| LOCK2 | &mm->mmap_lock | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock |