Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- arch/x86/kernel/amd_gart_64.c, line 752
- arch/x86/kernel/setup.c, line 379
- arch/x86/mm/pat/set_memory.c
- arch/x86/platform/efi/efi_32.c, line 47
- security/integrity/ima/ima_kexec.c, line 340
Smatch caller information:
arch/x86/kernel/amd_gart_64.c gart_iommu_init() -> pfn_range_is_mapped()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | start_pfn | 0-4503599627370495 |
| PARAM_VALUE | 1 | end_pfn | 0-9007199254740735 |
| UNITS | 1 | end_pfn | unit_page |
arch/x86/mm/pat/set_memory.c __split_large_page() -> pfn_range_is_mapped()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | start_pfn | 0-4503599627370495 |
| PARAM_VALUE | 1 | end_pfn | 1-4503599627370496 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &pgd_lock | ||
| HALF_LOCKED2 | global &cpa_lock | ||
| HALF_LOCKED2 | global &init_mm.mmap_lock | ||
| HALF_LOCKED2 | global &mem_enc_lock |
arch/x86/mm/pat/set_memory.c collapse_pmd_page() -> pfn_range_is_mapped()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | start_pfn | 0-1099511627775 |
| PARAM_VALUE | 1 | end_pfn | 1-1099511627776 |
| DATA_SOURCE | 0 | start_pfn | r pte_pfn |
| PREEMPT_ADD | |||
| LOCK2 | global &cpa_lock | ||
| LOCK2 | global &pgd_lock |
arch/x86/mm/pat/set_memory.c collapse_pud_page() -> pfn_range_is_mapped()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | start_pfn | 0-1099511627775 |
| PARAM_VALUE | 1 | end_pfn | 1-1099511627776 |
| DATA_SOURCE | 0 | start_pfn | r pmd_pfn |
| PREEMPT_ADD | |||
| LOCK2 | global &cpa_lock | ||
| LOCK2 | global &pgd_lock |
arch/x86/mm/pat/set_memory.c cpa_process_alias() -> pfn_range_is_mapped()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | start_pfn | 0-9007199258942462[c] |
| USER_DATA | 1 | end_pfn | 1-9007199258942463[c] |
| UNITS | 0 | start_pfn | unit_page |
| UNITS | 1 | end_pfn | unit_page |
| HALF_LOCKED2 | global &init_mm.mmap_lock | ||
| HALF_LOCKED2 | global &mem_enc_lock |
arch/x86/kernel/setup.c reserve_initrd() -> pfn_range_is_mapped()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | start_pfn | 0-4503599627370495 |
| PARAM_VALUE | 1 | end_pfn | 0-4503599627370495 |
| LOCK2 | irq |
security/integrity/ima/ima_kexec.c ima_validate_range() -> pfn_range_is_mapped()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | start_pfn | 0-4503599627370495 |
| PARAM_VALUE | 1 | end_pfn | 0-4503599627370495 |