Defined in 1 files as a macro:
Defined in 2 files as a function:
- arch/s390/include/asm/pgtable.h, line 1007 (as a function)
- include/linux/pgtable.h, line 514 (as a function)
Referenced in 26 files:
- arch/arm64/mm/mmu.c
- arch/loongarch/kvm/mmu.c, line 705
- arch/loongarch/mm/fault.c, line 50
- arch/loongarch/mm/hugetlbpage.c, line 44
- arch/loongarch/mm/init.c, line 167
- arch/loongarch/mm/kasan_init.c, line 148
- arch/loongarch/mm/pageattr.c
- arch/riscv/kvm/mmu.c, line 476
- arch/riscv/mm/fault.c
- arch/riscv/mm/hugetlbpage.c, line 100
- arch/riscv/mm/init.c, line 1661
- arch/riscv/mm/kasan_init.c
- arch/riscv/mm/pageattr.c
- arch/riscv/mm/pgtable.c, line 45
- arch/s390/boot/vmem.c, line 430
- arch/s390/include/asm/pgtable.h, line 1036
- arch/s390/mm/gmap_helpers.c, line 55
- arch/s390/mm/hugetlbpage.c, line 216
- arch/s390/mm/pageattr.c, line 295
- arch/s390/mm/vmem.c
- include/linux/pgtable.h, line 513
- kernel/events/core.c, line 8531
- mm/debug_vm_pgtable.c
- mm/gup.c
- mm/memory.c
- mm/ptdump.c, line 57
Smatch caller information:
mm/ptdump.c ptdump_p4d_entry() -> p4dp_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p4dp | 4096-ptr_max |
| DATA_SOURCE | 0 | p4dp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | global &init_mm.mmap_lock |
mm/memory.c __print_bad_page_map_pgtable() -> p4dp_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p4dp | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | ptl |
mm/memory.c follow_pfnmap_start() -> p4dp_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p4dp | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &iommu->lock | ||
| HALF_LOCKED2 | &mm->mmap_lock |
kernel/events/core.c perf_get_pgtable_size() -> p4dp_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p4dp | 4096-ptr_max |
| DATA_SOURCE | 0 | p4dp | r p4d_offset |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | rcu_read |
mm/gup.c follow_p4d_mask() -> p4dp_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p4dp | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mm->mmap_lock |
mm/gup.c gup_fast_p4d_range() -> p4dp_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | p4dp | (-1),8 |
| BUF_SIZE | 0 | p4dp | (-1),8 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags |
mm/debug_vm_pgtable.c p4d_clear_tests() -> p4dp_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| LOCK2 | &args.mm->page_table_lock | ||
| TYPE_LOCK | (struct mm_struct)->page_table_lock |
mm/debug_vm_pgtable.c p4d_clear_tests() -> p4dp_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p4dp | 4096-ptr_max |
| PREEMPT_ADD | |||
| LOCK2 | &args.mm->page_table_lock | ||
| TYPE_LOCK | (struct mm_struct)->page_table_lock |
mm/debug_vm_pgtable.c p4d_populate_tests() -> p4dp_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| LOCK2 | &args.mm->page_table_lock | ||
| TYPE_LOCK | (struct mm_struct)->page_table_lock |