Defined in 1 files as a prototype:
Defined in 2 files as a function:
- arch/x86/coco/sev/core.c, line 406 (as a function)
- arch/x86/include/asm/sev.h, line 616 (as a function)
Referenced in 1 files:
Smatch caller information:
arch/x86/mm/mem_encrypt_amd.c amd_enc_status_change_prepare() -> snp_set_memory_shared()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | npages | 0-s32max,18446744071562067968-u64max |
| DATA_SOURCE | 0 | vaddr | $0 |
| DATA_SOURCE | 1 | npages | $1 |
| BIT_INFO | 0 | vaddr | 0x0,0xfffffffffffff000 |
| BIT_INFO | 0 | vaddr | 0x0,0xfffffffffffff000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | npages | 1-64[c] |
| USER_DATA | 1 | npages | 1-2098130[c] |
| NO_OVERFLOW_SIMPLE | 0 | vaddr | |
| LOCK2 | global &mem_enc_lock |