Searched refs:cpu_mask (Results 1 – 15 of 15) sorted by relevance
30 thread->base.cpu_mask |= enable_mask; in cpu_mask_mod()31 thread->base.cpu_mask &= ~disable_mask; in cpu_mask_mod()38 int m = thread->base.cpu_mask; in cpu_mask_mod()
54 executable_on_cpu = ((thread->base.cpu_mask & BIT(i)) != 0); in ipi_mask_create()
93 int cpu, m = thread->base.cpu_mask; in thread_runq()923 if ((new_thread->base.cpu_mask != -1) && in z_get_next_switch_handle()924 (old_thread->base.cpu_mask != BIT(cpu_id))) { in z_get_next_switch_handle()
67 cpu_mask.c
611 new_thread->base.cpu_mask = 1; /* must specify only one cpu */ in z_setup_new_thread()613 new_thread->base.cpu_mask = -1; /* allow all cpus */ in z_setup_new_thread()
182 uint8_t cpu_mask = 0; in gic_dist_init() local204 cpu_mask |= BIT(cpu_mpid_list[i]); in gic_dist_init()206 reg_val = cpu_mask | (cpu_mask << 8) | (cpu_mask << 16) in gic_dist_init()207 | (cpu_mask << 24); in gic_dist_init()
34 thread->base.cpu_mask); in cmd_kernel_thread_mask_clear()63 thread->base.cpu_mask); in cmd_kernel_thread_mask_enable_all()98 thread->base.cpu_mask); in cmd_kernel_thread_mask_enable()133 thread->base.cpu_mask); in cmd_kernel_thread_mask_disable()
42 thread->base.cpu_mask); in cmd_kernel_thread_pin()
89 shell_print(sh, "\tcpu_mask: 0x%x", thread->base.cpu_mask); in shell_tdata_dump()
125 uint8_t cpu_mask; member127 uint16_t cpu_mask; member
187 uint32_t cpu_mask) in k_p4wq_enable_static_thread() argument193 while ((i = find_lsb_set(cpu_mask))) { in k_p4wq_enable_static_thread()199 cpu_mask &= ~BIT(i - 1); in k_p4wq_enable_static_thread()
209 uint32_t cpu_mask);
339 __ASSERT(!arch_is_in_isr() && (arch_current_thread()->base.cpu_mask == BIT(id)), ""); in arc_vpx_lock()358 __ASSERT(!arch_is_in_isr() && (arch_current_thread()->base.cpu_mask == BIT(id)), ""); in arc_vpx_unlock()
242 dummy_thread->base.cpu_mask = -1; in z_dummy_thread_init()
221 if ((thread->base.cpu_mask & BIT(_current_cpu->id)) != 0) { in z_priq_dumb_mask_best()