/Zephyr-latest/include/zephyr/arch/arm/ |
D | arch_inlines.h | 15 static ALWAYS_INLINE _cpu_t *arch_curr_cpu(void) in arch_curr_cpu() function 22 static ALWAYS_INLINE _cpu_t *arch_curr_cpu(void) in arch_curr_cpu() function 36 return arch_curr_cpu()->id; in arch_proc_id()
|
/Zephyr-latest/tests/arch/x86/nmi/src/ |
D | main.c | 45 arch_curr_cpu()->id, nmi_stacks[arch_curr_cpu()->id]); in z_x86_do_kernel_nmi() 47 zassert_true(stack > (uint64_t)nmi_stacks[arch_curr_cpu()->id] && in z_x86_do_kernel_nmi() 48 stack < (uint64_t)nmi_stacks[arch_curr_cpu()->id] + in z_x86_do_kernel_nmi()
|
/Zephyr-latest/include/zephyr/arch/x86/ |
D | arch_inlines.h | 20 static inline struct _cpu *arch_curr_cpu(void) in arch_curr_cpu() function 37 return arch_curr_cpu()->id; in arch_proc_id()
|
/Zephyr-latest/include/zephyr/arch/arc/ |
D | arch_inlines.h | 17 static ALWAYS_INLINE _cpu_t *arch_curr_cpu(void) in arch_curr_cpu() function 36 return arch_curr_cpu()->id; in arch_proc_id()
|
/Zephyr-latest/arch/arm/include/cortex_a_r/ |
D | exception.h | 38 return (arch_curr_cpu()->nested != 0U); in arch_is_in_isr() 43 return (arch_curr_cpu()->arch.exc_depth > 1U) ? (true) : (false); in arch_is_in_nested_exception()
|
/Zephyr-latest/arch/arm64/core/ |
D | fatal.c | 38 cpu_id = arch_curr_cpu()->id; in z_arm64_safe_exception_stack_init() 41 arch_curr_cpu()->arch.safe_exception_stack = (uint64_t)safe_exc_sp; in z_arm64_safe_exception_stack_init() 44 arch_curr_cpu()->arch.current_stack_limit = 0UL; in z_arm64_safe_exception_stack_init() 45 arch_curr_cpu()->arch.corrupted_sp = 0UL; in z_arm64_safe_exception_stack_init() 289 sp_limit = arch_curr_cpu()->arch.current_stack_limit; in z_arm64_stack_corruption_check() 291 sp = arch_curr_cpu()->arch.corrupted_sp; in z_arm64_stack_corruption_check() 302 arch_curr_cpu()->arch.corrupted_sp = 0UL; in z_arm64_stack_corruption_check()
|
D | macro_priv.inc | 47 * Note: keep in sync with `arch_curr_cpu` in include/zephyr/arch/arm64/arch_inlines.h
|
/Zephyr-latest/arch/arm64/include/ |
D | exception.h | 31 return arch_curr_cpu()->nested != 0U; in arch_is_in_isr()
|
/Zephyr-latest/include/zephyr/arch/riscv/ |
D | irq.h | 100 ++(arch_curr_cpu()->nested); in arch_isr_direct_header() 118 --(arch_curr_cpu()->nested); in arch_isr_direct_footer()
|
D | arch_inlines.h | 21 static ALWAYS_INLINE _cpu_t *arch_curr_cpu(void) in arch_curr_cpu() function
|
/Zephyr-latest/drivers/interrupt_controller/ |
D | intc_gicv3_its.c | 486 ret = its_send_mapti_cmd(data, device_id, event_id, intid, arch_curr_cpu()->id); in gicv3_its_map_intid() 493 return its_send_sync_cmd(data, gicv3_rdist_get_rdbase(dev, arch_curr_cpu()->id)); in gicv3_its_map_intid() 581 ret = its_send_mapc_cmd(data, arch_curr_cpu()->id, \ 582 gicv3_rdist_get_rdbase(dev, arch_curr_cpu()->id), \ 586 arch_curr_cpu()->id); \ 604 ret = its_send_invall_cmd(data, arch_curr_cpu()->id); \ 607 arch_curr_cpu()->id); \ 611 gicv3_rdist_get_rdbase(dev, arch_curr_cpu()->id)); \ 648 ret = its_send_mapc_cmd(data, arch_curr_cpu()->id, in gicv3_its_init() 649 gicv3_rdist_get_rdbase(dev, arch_curr_cpu()->id), true); in gicv3_its_init()
|
D | intc_cavs.c | 33 PER_CPU_OFFSET(arch_curr_cpu()->id)); in get_base_address()
|
/Zephyr-latest/include/zephyr/arch/arm64/ |
D | arch_inlines.h | 18 static ALWAYS_INLINE _cpu_t *arch_curr_cpu(void) in arch_curr_cpu() function
|
/Zephyr-latest/include/zephyr/arch/xtensa/ |
D | arch_inlines.h | 63 static ALWAYS_INLINE _cpu_t *arch_curr_cpu(void) in arch_curr_cpu() function
|
/Zephyr-latest/arch/arc/core/ |
D | irq_offload.c | 28 #define CURR_CPU (IS_ENABLED(CONFIG_SMP) ? arch_curr_cpu()->id : 0)
|
/Zephyr-latest/arch/x86/include/ |
D | kernel_arch_func.h | 30 ret = arch_curr_cpu()->nested != 0; in arch_is_in_isr()
|
/Zephyr-latest/tests/boards/intel_adsp/smoke/src/ |
D | smpboot.c | 33 zassert_true(cpuid == 0 || cpuid == arch_curr_cpu()->id, in thread_fn()
|
/Zephyr-latest/arch/xtensa/core/ |
D | vector_handlers.c | 55 was_in_isr = arch_curr_cpu()->nested > 1; in xtensa_is_outside_stack_bounds() 64 cpu_id = arch_curr_cpu()->id; in xtensa_is_outside_stack_bounds() 236 arch_curr_cpu()->id, cause, in print_fatal_exception()
|
/Zephyr-latest/samples/synchronization/src/ |
D | main.c | 50 cpu = arch_curr_cpu()->id; in hello_loop()
|
/Zephyr-latest/arch/xtensa/include/ |
D | kernel_arch_func.h | 143 return arch_curr_cpu()->nested != 0U; in arch_is_in_isr()
|
/Zephyr-latest/arch/arm64/core/cortex_r/ |
D | arm_mpu.c | 339 (void)flush_dynamic_regions_to_mpu(sys_dyn_regions[arch_curr_cpu()->id], in z_arm64_mm_init() 340 sys_dyn_regions_num[arch_curr_cpu()->id]); in z_arm64_mm_init() 453 int num = sys_dyn_regions_num[arch_curr_cpu()->id]; in dup_dynamic_regions() 461 dst[i] = sys_dyn_regions[arch_curr_cpu()->id][i]; in dup_dynamic_regions() 834 int cpuid = arch_curr_cpu()->id; in z_arm64_swap_mem_domains()
|
/Zephyr-latest/arch/riscv/include/ |
D | kernel_arch_func.h | 88 bool ret = arch_curr_cpu()->nested != 0U; in arch_is_in_isr()
|
/Zephyr-latest/subsys/testsuite/include/zephyr/ |
D | interrupt_util.h | 144 int cpu_id = arch_curr_cpu()->id; in trigger_irq()
|
/Zephyr-latest/include/zephyr/ |
D | kernel_structs.h | 262 arch_curr_cpu(); })
|
/Zephyr-latest/kernel/include/ |
D | kswap.h | 128 new_thread->base.cpu = arch_curr_cpu()->id; in do_swap()
|