Searched refs:cpuhold_pool_items (Results 1 – 1 of 1) sorted by relevance
126 static struct cpuhold_pool_item cpuhold_pool_items[MAX_NUM_CPUHOLD + 1]; variable138 if (!cpuhold_pool_items[i].used) { in find_unused_thread()149 if (&cpuhold_pool_items[i].thread == thread) { in mark_thread_unused()150 cpuhold_pool_items[i].used = false; in mark_thread_unused()194 cpuhold_pool_items[i].used = true; in cpu_hold()195 k_thread_create(&cpuhold_pool_items[i].thread, cpuhold_stacks[i], CPUHOLD_STACK_SZ, in cpu_hold()274 cpuhold_pool_items[j].used = true; in z_impl_z_test_1cpu_start()275 k_thread_create(&cpuhold_pool_items[j].thread, cpuhold_stacks[j], CPUHOLD_STACK_SZ, in z_impl_z_test_1cpu_start()289 if (cpuhold_pool_items[i].used) { in z_impl_z_test_1cpu_stop()290 k_thread_abort(&cpuhold_pool_items[i].thread); in z_impl_z_test_1cpu_stop()[all …]