Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/virt/nitro_enclaves/ne_misc_dev.c ne_check_cpu_in_cpu_pool() -> ne_donated_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ne_enclave | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu | 1-4294967294 |
| BUF_SIZE | 0 | ne_enclave | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ne_enclave | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | cpu | 1 |
| DATA_SOURCE | 0 | ne_enclave | $0 |
| DATA_SOURCE | 1 | cpu | $1 |
| USER_DATA | 1 | cpu | 1-s32max[c] |
| LOCK2 | 0 | &ne_enclave->enclave_info_mutex | |
| TYPE_LOCK | (struct ne_enclave)->enclave_info_mutex |
drivers/virt/nitro_enclaves/ne_misc_dev.c ne_get_cpu_from_cpu_pool() -> ne_donated_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ne_enclave | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu | 0-64 |
| BUF_SIZE | 0 | ne_enclave | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ne_enclave | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | cpu | 1 |
| DATA_SOURCE | 0 | ne_enclave | $0 |
| DATA_SOURCE | 1 | cpu | r find_next_bit |
| CONSTRAINT | 1 | cpu | <3035 |
| LOCK2 | 0 | &ne_enclave->enclave_info_mutex | |
| TYPE_LOCK | (struct ne_enclave)->enclave_info_mutex |