Defined in 9 files as a prototype:
- arch/alpha/include/asm/pgalloc.h, line 34 (as a prototype)
- arch/arm/include/asm/pgalloc.h, line 47 (as a prototype)
- arch/arm64/include/asm/pgalloc.h, line 95 (as a prototype)
- arch/loongarch/include/asm/pgalloc.h, line 46 (as a prototype)
- arch/mips/include/asm/pgalloc.h, line 49 (as a prototype)
- arch/nios2/include/asm/pgalloc.h, line 29 (as a prototype)
- arch/sh/include/asm/pgalloc.h, line 13 (as a prototype)
- arch/um/include/asm/pgalloc.h, line 26 (as a prototype)
- arch/x86/include/asm/pgalloc.h, line 49 (as a prototype)
Defined in 1 files as a member:
Defined in 3 files as a macro:
- arch/microblaze/include/asm/pgalloc.h, line 24 (as a macro)
- arch/s390/include/asm/pgalloc.h, line 143 (as a macro)
- arch/sparc/include/asm/pgalloc_32.h, line 27 (as a macro)
Defined in 23 files as a function:
- arch/alpha/mm/init.c, line 41 (as a function)
- arch/arc/include/asm/pgalloc.h, line 54 (as a function)
- arch/arm/mm/pgd.c, line 30 (as a function)
- arch/arm64/mm/pgd.c, line 31 (as a function)
- arch/csky/include/asm/pgalloc.h, line 42 (as a function)
- arch/hexagon/include/asm/pgalloc.h, line 21 (as a function)
- arch/loongarch/mm/pgtable.c, line 25 (as a function)
- arch/m68k/include/asm/mcf_pgalloc.h, line 83 (as a function)
- arch/m68k/include/asm/motorola_pgalloc.h, line 76 (as a function)
- arch/m68k/include/asm/sun3_pgalloc.h, line 39 (as a function)
- arch/mips/mm/pgtable.c, line 11 (as a function)
- arch/nios2/mm/pgtable.c, line 54 (as a function)
- arch/openrisc/include/asm/pgalloc.h, line 42 (as a function)
- arch/parisc/include/asm/pgalloc.h, line 17 (as a function)
- arch/powerpc/include/asm/book3s/32/pgalloc.h, line 8 (as a function)
- arch/powerpc/include/asm/book3s/64/pgalloc.h, line 48 (as a function)
- arch/powerpc/include/asm/nohash/pgalloc.h, line 20 (as a function)
- arch/riscv/include/asm/pgalloc.h, line 111 (as a function)
- arch/sh/mm/pgtable.c, line 34 (as a function)
- arch/sparc/include/asm/pgalloc_64.h, line 26 (as a function)
- arch/um/kernel/mem.c, line 96 (as a function)
- arch/x86/mm/pgtable.c, line 311 (as a function)
- arch/xtensa/include/asm/pgalloc.h, line 30 (as a function)
Referenced in 13 files:
- arch/arm/mm/idmap.c, line 115
- arch/loongarch/mm/pgtable.c, line 39
- arch/mips/mm/pgtable.c, line 25
- arch/openrisc/include/asm/pgalloc.h, line 59
- arch/powerpc/kvm/book3s_64_mmu_radix.c, line 1227
- arch/powerpc/kvm/book3s_hv_nested.c, line 735
- arch/x86/include/asm/paravirt.h, line 278
- arch/x86/kernel/paravirt.c, line 167
- arch/x86/kernel/tboot.c, line 155
- arch/x86/xen/mmu_pv.c, line 2194
- drivers/firmware/efi/arm-runtime.c, line 56
- drivers/firmware/efi/riscv-runtime.c, line 34
- kernel/fork.c, line 583
Smatch caller information:
kernel/fork.c mm_alloc_pgd() -> pgd_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->def_flags | 0,1073741824 |
| PARAM_VALUE | 0 | mm->exe_file | 0 |
| PARAM_VALUE | 0 | mm->hugetlb_usage.counter | 0 |
| PARAM_VALUE | 0 | mm->ioctx_table | 0 |
| PARAM_VALUE | 0 | mm->iommu_mm | 0 |
| PARAM_VALUE | 0 | mm->locked_vm | 0 |
| PARAM_VALUE | 0 | mm->map_count | 0 |
| PARAM_VALUE | 0 | mm->mm_count.counter | 1 |
| PARAM_VALUE | 0 | mm->mm_lock_seq.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mm->mm_lock_seq.sequence | 0 |
| PARAM_VALUE | 0 | mm->mm_mt.ma_flags | 771 |
| PARAM_VALUE | 0 | mm->mm_mt.ma_root | 0 |
| PARAM_VALUE | 0 | mm->mm_users.counter | 1 |
| PARAM_VALUE | 0 | mm->mmap_lock.count.counter | 0 |
| PARAM_VALUE | 0 | mm->mmap_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mm->mmap_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | mm->mmap_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->mmap_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | mm->mmap_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | mm->notifier_subscriptions | 0 |
| PARAM_VALUE | 0 | mm->pgtables_bytes.counter | 0 |
| PARAM_VALUE | 0 | mm->pinned_vm.counter | 0 |
| PARAM_VALUE | 0 | mm->tlb_flush_pending.counter | 0 |
| PARAM_VALUE | 0 | mm->uprobes_state.xol_area | 0 |
| PARAM_VALUE | 0 | mm->vma_writer_wait.task | 0 |
| PARAM_VALUE | 0 | mm->write_protect_seq.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mm->write_protect_seq.sequence | 0 |
| DATA_SOURCE | 0 | mm | $0 |
| FUZZY_MAX | 0 | mm->def_flags | 0 |
| BIT_INFO | 0 | mm->def_flags | 0x0,0x40000000 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
arch/x86/kernel/tboot.c map_tboot_pages() -> pgd_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 5070172626039484416 |