Defined in 3 files as a function:
- arch/powerpc/include/asm/book3s/64/pgtable.h, line 1195 (as a function)
- include/linux/pgtable.h, line 1235 (as a function)
- include/linux/pgtable.h, line 1243 (as a function)
Referenced in 2 files:
Smatch caller information:
mm/huge_memory.c copy_huge_pud() -> pudp_set_wrprotect()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 2 | pudp | 4096-ptr_max |
| DATA_SOURCE | 0 | mm | $1 |
| DATA_SOURCE | 1 | address | $4 |
| DATA_SOURCE | 2 | pudp | $3 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | mm | unit_byte |
| UNITS | 1 | address | unit_byte |
| LOCK2 | &mm->mmap_lock | ||
| LOCK2 | &oldmm->mmap_lock | ||
| LOCK2 | src_ptl | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock |
mm/debug_vm_pgtable.c pud_advanced_tests() -> pudp_set_wrprotect()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 1 | address | 0 |
| PARAM_VALUE | 2 | pudp | 4096-ptr_max |
| PREEMPT_ADD | |||
| NOCHECK_CALL |