Defined in 2 files as a function:
- include/linux/mm.h, line 1328 (as a function)
- tools/testing/vma/include/dup.h, line 1054 (as a function)
Referenced in 2 files:
Smatch caller information:
mm/vma.c anon_vma_compatible() -> vma_flags_diff_pair()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 4096-ptr_max |
| PARAM_VALUE | 1 | flags_other | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &a->vm_mm->mmap_lock | ||
| HALF_LOCKED2 | &b->vm_mm->mmap_lock | ||
| HALF_LOCKED2 | &mm->mmap_lock |
mm/vma.c is_mergeable_vma() -> vma_flags_diff_pair()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 4096-ptr_max |
| PARAM_VALUE | 1 | flags_other | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mm->mmap_lock |