Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 3 files as a function:
- include/linux/ksm.h, line 106 (as a function)
- mm/ksm.c, line 2902 (as a function)
- tools/testing/vma/include/stubs.h, line 105 (as a function)
Referenced in 1 files:
Smatch caller information:
mm/vma.c do_brk_flags() -> ksm_vma_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 1 | file | 0 |
| DATA_SOURCE | 2 | vma_flags | $4 |
| UNITS | 0 | mm | unit_byte |
| LOCK2 | &mm->mmap_lock | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock |
mm/vma.c update_ksm_flags() -> ksm_vma_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | file | 0,4096-ptr_max |
| PARAM_VALUE | 1 | file->f_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | file->f_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| UNITS | 0 | mm | unit_byte |