Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- arch/powerpc/kexec/ranges.c, line 567
- arch/x86/kernel/crash.c
- kernel/crash_core.c
- kernel/crash_core_test.c, line 83
Smatch caller information:
kernel/crash_core.c arch_crash_exclude_mem_range() -> crash_exclude_mem_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mem | 4096-ptr_max |
| DATA_SOURCE | 1 | mstart | $1 |
| DATA_SOURCE | 2 | mend | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &__crash_hotplug_lock |
kernel/crash_core_test.c run_exclude_test_case() -> crash_exclude_mem_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mem | 4096-ptr_max |
| PARAM_VALUE | 0 | mem->max_nr_ranges | 1-3 |
| PARAM_VALUE | 0 | mem->nr_ranges | 1,3 |
| PARAM_VALUE | 0 | mem->ranges | 0 |
| BUF_SIZE | 0 | mem | 8-s32max |
| BUF_SIZE | 0 | mem | 8-s32max |
| CAPPED_DATA | 0 | mem->nr_ranges | 1 |
| DATA_SOURCE | 0 | mem | r create_crash_mem |
arch/x86/kernel/crash.c arch_crash_exclude_ranges() -> crash_exclude_mem_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mem | 4096-ptr_max |
| PARAM_VALUE | 1 | mstart | 0 |
| PARAM_VALUE | 2 | mend | 1048575 |
| BUF_SIZE | 0 | mem | 8-s32max |
| BUF_SIZE | 0 | mem | 8-s32max |
| CAPPED_DATA | 0 | mem->max_nr_ranges | 1 |
| DATA_SOURCE | 0 | mem | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &__crash_hotplug_lock |
arch/x86/kernel/crash.c memmap_exclude_ranges() -> crash_exclude_mem_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mem | 4096-ptr_max |
| PARAM_VALUE | 0 | mem->max_nr_ranges | 3 |
| PARAM_VALUE | 0 | mem->nr_ranges | 1 |
| PARAM_VALUE | 0 | mem->ranges | 4096-ptr_max |
| PARAM_VALUE | 1 | mstart | 0 |
| PARAM_VALUE | 2 | mend | u64max |
| BUF_SIZE | 0 | mem | 56 |
| BUF_SIZE | 0 | mem | 56 |
| DATA_SOURCE | 0 | mem | $1 |
| NO_OVERFLOW_SIMPLE | 0 | mem->max_nr_ranges | |
| UNITS | 1 | mstart | unit_byte |
| UNITS | 2 | mend | unit_byte |
arch/x86/kernel/crash.c memmap_exclude_ranges() -> crash_exclude_mem_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mem | 4096-ptr_max |
| PARAM_VALUE | 0 | mem->max_nr_ranges | 3 |
| PARAM_VALUE | 0 | mem->ranges | 4096-ptr_max |
| PARAM_VALUE | 1 | mstart | 1-u64max |
| BUF_SIZE | 0 | mem | 56 |
| BUF_SIZE | 0 | mem | 56 |
| DATA_SOURCE | 0 | mem | $1 |
| NO_OVERFLOW_SIMPLE | 0 | mem->max_nr_ranges | |
| UNITS | 1 | mstart | unit_byte |
| UNITS | 2 | mend | unit_byte |