Documented in 1 files:
Defined in 2 files as a macro:
- arch/arm64/include/asm/pgtable.h, line 1901 (as a macro)
- arch/arm64/include/asm/pgtable.h, line 1974 (as a macro)
Defined in 2 files as a function:
- arch/arm64/include/asm/pgtable.h, line 1902 (as a function)
- include/linux/pgtable.h, line 1115 (as a function)
Referenced in 3 files:
- arch/arm64/include/asm/pgtable.h, line 1929
- include/linux/pgtable.h, line 1097
- mm/memory.c, line 1191
Smatch caller information:
mm/memory.c __copy_present_ptes() -> wrprotect_ptes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 2 | ptep | 4096-ptr_max |
| CAPPED_DATA | 3 | nr | 1 |
| DATA_SOURCE | 1 | addr | $5 |
| DATA_SOURCE | 2 | ptep | $3 |
| DATA_SOURCE | 3 | nr | $6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | mm | unit_byte |
| UNITS | 1 | addr | unit_byte |
| LOCK2 | &mm->mmap_lock | ||
| LOCK2 | &oldmm->mmap_lock | ||
| LOCK2 | dst_ptl | ||
| LOCK2 | rcu_read | ||
| LOCK2 | src_ptl | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock |