Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- arch/x86/kernel/cpu/sgx/ioctl.c, line 644
- arch/x86/kernel/cpu/sgx/main.c, line 923
- arch/x86/kvm/x86.c, line 4070
Smatch caller information:
arch/x86/kernel/cpu/sgx/ioctl.c sgx_ioc_enclave_provision() -> sgx_set_attribute()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | allowed_attributes | 4096-ptr_max |
| USER_DATA | 1 | attribute_fd | 0-u32max |
arch/x86/kvm/x86.c kvm_vm_ioctl_enable_cap() -> sgx_set_attribute()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | allowed_attributes | 4638311615832858624 |
| PARAM_VALUE | 0 | *allowed_attributes | 0 |
| USER_DATA | 1 | attribute_fd | 0-u32max |