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_set_enclave_threads_per_core()

Type Parameter Key Value
PARAM_VALUE 0 ne_enclave 4096-ptr_max
PARAM_VALUE 0 ne_enclave->enclave_info_mutex.dep_map->name 0-255
PARAM_VALUE 0 ne_enclave->enclave_info_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ne_enclave->enclave_info_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ne_enclave->enclave_info_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ne_enclave->enclave_info_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 ne_enclave->enclave_info_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 ne_enclave->state 0
PARAM_VALUE 0 ne_enclave->vcpu_ids->bits 4096-ptr_max
PARAM_VALUE 2 vcpu_id 1-s32max
BUF_SIZE 0 ne_enclave s32min-(-2),1-s32max
BUF_SIZE 0 ne_enclave s32min-(-2),1-s32max
CAPPED_DATA 0 ne_enclave->nr_parent_vm_cores 1
CAPPED_DATA 1 core_id 1
CAPPED_DATA 2 vcpu_id 1
DATA_SOURCE 0 ne_enclave $0
DATA_SOURCE 1 core_id r ne_get_vcpu_core_from_cpu_pool
DATA_SOURCE 2 vcpu_id $1
NOSPEC 2 vcpu_id
NOSPEC 2 vcpu_id
USER_DATA 2 vcpu_id 1-s32max[c]
LOCK2 global &ne_cpu_pool.mutex
LOCK2 0 &ne_enclave->enclave_info_mutex
TYPE_LOCK (struct ne_cpu_pool)->mutex
TYPE_LOCK (struct ne_enclave)->enclave_info_mutex

drivers/virt/nitro_enclaves/ne_misc_dev.c ne_get_cpu_from_cpu_pool() -> ne_set_enclave_threads_per_core()

Type Parameter Key Value
PARAM_VALUE 0 ne_enclave 4096-ptr_max
PARAM_VALUE 0 ne_enclave->enclave_info_mutex.dep_map->name 0-255
PARAM_VALUE 0 ne_enclave->enclave_info_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ne_enclave->enclave_info_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ne_enclave->enclave_info_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ne_enclave->enclave_info_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 ne_enclave->enclave_info_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 ne_enclave->state 0
PARAM_VALUE 2 vcpu_id 0
BUF_SIZE 0 ne_enclave s32min-(-2),1-s32max
BUF_SIZE 0 ne_enclave s32min-(-2),1-s32max
CAPPED_DATA 0 ne_enclave->nr_parent_vm_cores 1
CAPPED_DATA 1 core_id 1
DATA_SOURCE 0 ne_enclave $0
DATA_SOURCE 1 core_id r ne_get_unused_core_from_cpu_pool
USER_DATA 2 vcpu_id 0[c]
LOCK2 global &ne_cpu_pool.mutex
LOCK2 0 &ne_enclave->enclave_info_mutex
TYPE_LOCK (struct ne_cpu_pool)->mutex
TYPE_LOCK (struct ne_enclave)->enclave_info_mutex