Documented in 1 files:
Defined in 1 files as a function:
Referenced in 3 files:
- arch/x86/kernel/cpu/sgx/encl.c, line 175
- arch/x86/kernel/cpu/sgx/ioctl.c
- arch/x86/kernel/cpu/sgx/main.c
Smatch caller information:
arch/x86/kernel/cpu/sgx/ioctl.c __sgx_encl_extend() -> encls_failed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ret | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ret | r __eextend |
| LOCK2 | &encl->lock | ||
| TYPE_LOCK | (struct sgx_encl)->lock |
arch/x86/kernel/cpu/sgx/ioctl.c sgx_encl_init() -> encls_failed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ret | s32min-(-1),1073741824-s32max |
| DATA_SOURCE | 0 | ret | r __einit |
| LOCK2 | &encl->lock | ||
| TYPE_LOCK | (struct sgx_encl)->lock |
arch/x86/kernel/cpu/sgx/ioctl.c sgx_enclave_modify_types() -> encls_failed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | ret | r __emodt |
| LOCK2 | &encl->lock | ||
| TYPE_LOCK | (struct sgx_encl)->lock |
arch/x86/kernel/cpu/sgx/ioctl.c sgx_enclave_restrict_permissions() -> encls_failed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | ret | r __emodpr |
| LOCK2 | &encl->lock | ||
| TYPE_LOCK | (struct sgx_encl)->lock |
arch/x86/kernel/cpu/sgx/encl.c __sgx_encl_eldu() -> encls_failed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ret | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ret | r __eldu |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &encl->lock | ||
| TYPE_LOCK | (struct sgx_encl)->lock |
arch/x86/kernel/cpu/sgx/main.c sgx_encl_ewb() -> encls_failed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ret | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ret | r __etrack |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &encl->lock | ||
| TYPE_LOCK | (struct sgx_encl)->lock |
arch/x86/kernel/cpu/sgx/main.c sgx_encl_ewb() -> encls_failed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ret | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ret | r __sgx_encl_ewb |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &encl->lock | ||
| TYPE_LOCK | (struct sgx_encl)->lock |
arch/x86/kernel/cpu/sgx/main.c sgx_reclaimer_block() -> encls_failed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | ret | r __eblock |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &encl->lock | ||
| TYPE_LOCK | (struct sgx_encl)->lock |