Home
last modified time | relevance | path

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

/Zephyr-latest/kernel/
Dcpu_mask.c30 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()
Dipi.c54 executable_on_cpu = ((thread->base.cpu_mask & BIT(i)) != 0); in ipi_mask_create()
Dsched.c93 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()
DCMakeLists.txt67 cpu_mask.c
Dthread.c611 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()
/Zephyr-latest/drivers/interrupt_controller/
Dintc_gic.c182 uint8_t cpu_mask = 0; in gic_dist_init() local
204 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()
/Zephyr-latest/subsys/shell/modules/kernel_service/thread/
Dmask.c34 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()
Dpin.c42 thread->base.cpu_mask); in cmd_kernel_thread_pin()
Dlist.c89 shell_print(sh, "\tcpu_mask: 0x%x", thread->base.cpu_mask); in shell_tdata_dump()
/Zephyr-latest/include/zephyr/kernel/
Dthread.h125 uint8_t cpu_mask; member
127 uint16_t cpu_mask; member
/Zephyr-latest/lib/os/
Dp4wq.c187 uint32_t cpu_mask) in k_p4wq_enable_static_thread() argument
193 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()
/Zephyr-latest/include/zephyr/sys/
Dp4wq.h209 uint32_t cpu_mask);
/Zephyr-latest/arch/arc/core/
Dthread.c339 __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()
/Zephyr-latest/kernel/include/
Dkswap.h242 dummy_thread->base.cpu_mask = -1; in z_dummy_thread_init()
Dpriority_q.h221 if ((thread->base.cpu_mask & BIT(_current_cpu->id)) != 0) { in z_priq_dumb_mask_best()