Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- arch/x86/kernel/cpu/mtrr/cleanup.c, line 841
- arch/x86/kernel/e820.c, line 986
- arch/x86/kernel/setup.c
- arch/x86/platform/efi/quirks.c, line 299
- arch/x86/virt/svm/sev.c, line 185
Smatch caller information:
arch/x86/kernel/cpu/mtrr/cleanup.c real_trim_memory() -> e820__range_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | start | 0,4096-18446744073709543424 |
| PARAM_VALUE | 1 | size | 0,4096-18446744073709547520 |
| PARAM_VALUE | 2 | old_type | 1 |
| PARAM_VALUE | 3 | new_type | 2 |
| UNITS | 0 | start | unit_byte |
| UNITS | 1 | size | unit_byte |
| LOCK2 | irq |
arch/x86/kernel/e820.c parse_memmap_one() -> e820__range_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | old_type | 1-u32max |
| PARAM_VALUE | 3 | new_type | 1-u32max |
| DATA_SOURCE | 0 | start | r memparse |
| DATA_SOURCE | 1 | size | r memparse |
| DATA_SOURCE | 2 | old_type | r simple_strtoull |
| DATA_SOURCE | 3 | new_type | r simple_strtoull |
| NOCHECK_CALL | |||
| USER_DATA | 0 | start | 0-u64max |
| USER_DATA | 1 | size | 0-u64max |
| USER_DATA | 2 | old_type | 1-u32max |
| USER_DATA | 3 | new_type | 1-u32max |
| HALF_LOCKED2 | irq |
arch/x86/platform/efi/quirks.c efi_arch_mem_reserve() -> e820__range_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | start | 0,4096-u64max |
| PARAM_VALUE | 2 | old_type | 1 |
| PARAM_VALUE | 3 | new_type | 2 |
| CAPPED_DATA | 0 | start | 1 |
| CAPPED_DATA | 0 | start | 1 |
| BIT_INFO | 0 | start | 0x0,0xfffffffffffff000 |
| BIT_INFO | 0 | start | 0x0,0xfffffffffffff000 |
| NOCHECK_CALL | |||
| UNITS | 0 | start | unit_byte |
| UNITS | 1 | size | unit_byte |
| HALF_LOCKED2 | irq |
arch/x86/kernel/setup.c trim_bios_range() -> e820__range_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | start | 0 |
| PARAM_VALUE | 1 | size | 4096 |
| PARAM_VALUE | 2 | old_type | 1 |
| PARAM_VALUE | 3 | new_type | 2 |
| NOCHECK_CALL | |||
| UNITS | 1 | size | unit_byte |
| LOCK2 | irq |
arch/x86/virt/svm/sev.c __snp_fixup_e820_tables() -> e820__range_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 2097152 |
| PARAM_VALUE | 2 | old_type | 1 |
| PARAM_VALUE | 3 | new_type | 2 |
| CAPPED_DATA | 0 | start | 1 |
| CAPPED_DATA | 0 | start | 1 |
| BIT_INFO | 0 | start | 0x0,0xffffffffffe00000 |
| BIT_INFO | 0 | start | 0x0,0xffffffffffe00000 |
| NOCHECK_CALL | |||
| LOCK2 | irq |