Lines Matching refs:_kernel
46 struct z_kernel _kernel; variable
541 __ASSERT_NO_MSG(arch_mem_coherent(&_kernel)); in bg_thread_main()
598 stack_size, idle, &_kernel.cpus[i], in init_idle_thread()
611 _kernel.cpus[id].idle_thread = &z_idle_threads[id]; in z_init_cpu()
612 _kernel.cpus[id].id = id; in z_init_cpu()
613 _kernel.cpus[id].irq_stack = in z_init_cpu()
617 _kernel.cpus[id].usage = &_kernel.usage[id]; in z_init_cpu()
618 _kernel.cpus[id].usage->track_usage = in z_init_cpu()
631 k_obj_core_init_and_link(K_OBJ_CORE(&_kernel.cpus[id]), &obj_type_cpu); in z_init_cpu()
633 k_obj_core_stats_register(K_OBJ_CORE(&_kernel.cpus[id]), in z_init_cpu()
634 _kernel.cpus[id].usage, in z_init_cpu()
670 _kernel.ready_q.cache = &z_main_thread; in prepare_multithreading()
851 k_obj_core_init_and_link(K_OBJ_CORE(&_kernel), &obj_type_kernel); in init_kernel_obj_core_list()
853 k_obj_core_stats_register(K_OBJ_CORE(&_kernel), _kernel.usage, in init_kernel_obj_core_list()
854 sizeof(_kernel.usage)); in init_kernel_obj_core_list()