Home
last modified time | relevance | path

Searched refs:ne_cpu_pool (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/virt/nitro_enclaves/
H A Dne_misc_dev.c119 struct ne_cpu_pool { struct
127 static struct ne_cpu_pool ne_cpu_pool; argument
192 mutex_lock(&ne_cpu_pool.mutex); in ne_setup_cpu_pool()
295 ne_cpu_pool.nr_parent_vm_cores = nr_cpu_ids / ne_cpu_pool.nr_threads_per_core; in ne_setup_cpu_pool()
297 ne_cpu_pool.avail_threads_per_core = kcalloc(ne_cpu_pool.nr_parent_vm_cores, in ne_setup_cpu_pool()
355 mutex_unlock(&ne_cpu_pool.mutex); in ne_setup_cpu_pool()
373 ne_cpu_pool.numa_node = -1; in ne_setup_cpu_pool()
392 mutex_lock(&ne_cpu_pool.mutex); in ne_teardown_cpu_pool()
416 ne_cpu_pool.numa_node = -1; in ne_teardown_cpu_pool()
593 mutex_lock(&ne_cpu_pool.mutex); in ne_get_cpu_from_cpu_pool()
[all …]