Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/virt/nitro_enclaves/
Dne_misc_dev.c120 cpumask_var_t *avail_threads_per_core; member
297 ne_cpu_pool.avail_threads_per_core = kcalloc(ne_cpu_pool.nr_parent_vm_cores, in ne_setup_cpu_pool()
298 sizeof(*ne_cpu_pool.avail_threads_per_core), in ne_setup_cpu_pool()
300 if (!ne_cpu_pool.avail_threads_per_core) { in ne_setup_cpu_pool()
307 if (!zalloc_cpumask_var(&ne_cpu_pool.avail_threads_per_core[i], GFP_KERNEL)) { in ne_setup_cpu_pool()
328 cpumask_set_cpu(cpu, ne_cpu_pool.avail_threads_per_core[core_id]); in ne_setup_cpu_pool()
364 cpumask_clear(ne_cpu_pool.avail_threads_per_core[i]); in ne_setup_cpu_pool()
367 free_cpumask_var(ne_cpu_pool.avail_threads_per_core[i]); in ne_setup_cpu_pool()
368 kfree(ne_cpu_pool.avail_threads_per_core); in ne_setup_cpu_pool()
401 for_each_cpu(cpu, ne_cpu_pool.avail_threads_per_core[i]) { in ne_teardown_cpu_pool()
[all …]