Defined in 1 files as a prototype:
Defined in 2 files as a function:
- arch/powerpc/include/asm/set_memory.h, line 35 (as a function)
- arch/x86/mm/pat/set_memory.c, line 2385 (as a function)
Referenced in 6 files:
- arch/powerpc/mm/pageattr.c, line 121
- arch/x86/hyperv/ivm.c, line 758
- arch/x86/kernel/amd_gart_64.c, line 782
- arch/x86/kernel/machine_kexec_64.c, line 658
- arch/x86/mm/init.c, line 926
- arch/x86/mm/pat/set_memory.c, line 2331
Smatch caller information:
arch/x86/mm/init.c free_init_pages() -> set_memory_np()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 0,4096-18446744073709551614 |
| CAPPED_DATA | 0 | addr | 1 |
| CAPPED_DATA | 0 | addr | 1 |
| DATA_SOURCE | 0 | addr | $1 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | numpages | unit_page |
arch/x86/kernel/machine_kexec_64.c kexec_mark_dm_crypt_keys() -> set_memory_np()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | numpages | unit_page |
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| HALF_LOCKED2 | global &__crash_hotplug_lock |
arch/x86/kernel/amd_gart_64.c gart_iommu_init() -> set_memory_np()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL | |||
| UNITS | 0 | addr | unit_byte |
| UNITS | 1 | numpages | unit_page |
arch/x86/mm/pat/set_memory.c set_mce_nospec() -> set_memory_np()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 9156099517420929024,9223240645215256576 |
| PARAM_VALUE | 1 | numpages | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | addr | unit_byte |
arch/x86/hyperv/ivm.c hv_vtom_clear_present() -> set_memory_np()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | addr | $0 |
| DATA_SOURCE | 1 | numpages | $1 |
| BIT_INFO | 0 | addr | 0x0,0xfffffffffffff000 |
| BIT_INFO | 0 | addr | 0x0,0xfffffffffffff000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | numpages | 1-64[c] |
| USER_DATA | 1 | numpages | 1-2098130[c] |
| NO_OVERFLOW_SIMPLE | 0 | addr | |
| LOCK2 | global &mem_enc_lock |