Defined in 1 files as a macro:
Defined in 2 files as a function:
- arch/arm/include/asm/kexec.h, line 75 (as a function)
- include/linux/kexec.h, line 480 (as a function)
Referenced in 2 files:
Smatch caller information:
kernel/crash_core.c crash_free_reserved_phys_range() -> boot_pfn_to_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | boot_pfn | 0-4503599627370495 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | boot_pfn | unit_page |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
kernel/kexec_core.c kimage_alloc_page() -> boot_pfn_to_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | boot_pfn | 0-4503599627370495 |
| UNITS | 0 | boot_pfn | unit_page |
kernel/kexec_core.c kimage_free_entry() -> boot_pfn_to_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | boot_pfn | 0-4503599627370495 |
| UNITS | 0 | boot_pfn | unit_page |
kernel/kexec_core.c kimage_load_crash_segment() -> boot_pfn_to_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | boot_pfn | 0-4503599627370495 |
| UNITS | 0 | boot_pfn | unit_page |