Defined in 1 files as a prototype:
Defined in 5 files as a macro:
- arch/mips/include/asm/pgtable.h, line 618 (as a macro)
- arch/powerpc/include/asm/book3s/64/pgtable.h, line 1131 (as a macro)
- arch/s390/include/asm/pgtable.h, line 1829 (as a macro)
- arch/x86/include/asm/pgtable.h, line 309 (as a macro)
- include/linux/pgtable.h, line 2332 (as a macro)
Defined in 4 files as a function:
- arch/mips/mm/tlb-r4k.c, line 437 (as a function)
- arch/powerpc/include/asm/book3s/64/pgtable.h, line 1125 (as a function)
- arch/s390/include/asm/pgtable.h, line 1830 (as a function)
- arch/x86/include/asm/pgtable.h, line 310 (as a function)
Referenced in 7 files:
- arch/mips/mm/tlb-r4k.c, line 453
- drivers/dax/dax-private.h, line 124
- drivers/nvdimm/pfn_devs.c
- include/linux/pgtable.h, line 2331
- mm/debug_vm_pgtable.c
- mm/huge_memory.c, line 1056
- mm/shmem.c
Smatch caller information:
mm/huge_memory.c hugepage_init() -> has_transparent_hugepage()
| Type | Parameter | Key | Value |
|---|
drivers/dax/bus.c dax_align_valid() -> has_transparent_hugepage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
mm/shmem.c shmem_init() -> has_transparent_hugepage()
| Type | Parameter | Key | Value |
|---|
mm/shmem.c shmem_parse_huge() -> has_transparent_hugepage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex |
mm/shmem.c shmem_parse_one() -> has_transparent_hugepage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fc->uapi_mutex |
drivers/nvdimm/pfn_devs.c nd_pfn_default_alignment() -> has_transparent_hugepage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/nvdimm/pfn_devs.c nd_pfn_supported_alignments() -> has_transparent_hugepage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &of->mutex |
mm/debug_vm_pgtable.c destroy_args() -> has_transparent_hugepage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD |
mm/debug_vm_pgtable.c init_args() -> has_transparent_hugepage()
| Type | Parameter | Key | Value |
|---|
mm/debug_vm_pgtable.c pmd_advanced_tests() -> has_transparent_hugepage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD |
mm/debug_vm_pgtable.c pmd_basic_tests() -> has_transparent_hugepage()
| Type | Parameter | Key | Value |
|---|
mm/debug_vm_pgtable.c pmd_leaf_soft_dirty_tests() -> has_transparent_hugepage()
| Type | Parameter | Key | Value |
|---|
mm/debug_vm_pgtable.c pmd_leaf_tests() -> has_transparent_hugepage()
| Type | Parameter | Key | Value |
|---|
mm/debug_vm_pgtable.c pmd_protnone_tests() -> has_transparent_hugepage()
| Type | Parameter | Key | Value |
|---|
mm/debug_vm_pgtable.c pmd_soft_dirty_tests() -> has_transparent_hugepage()
| Type | Parameter | Key | Value |
|---|
mm/debug_vm_pgtable.c pmd_softleaf_tests() -> has_transparent_hugepage()
| Type | Parameter | Key | Value |
|---|
mm/debug_vm_pgtable.c pmd_thp_tests() -> has_transparent_hugepage()
| Type | Parameter | Key | Value |
|---|