Home
last modified time | relevance | path

Searched refs:is_user (Results 1 – 8 of 8) sorted by relevance

/Zephyr-latest/tests/kernel/threads/thread_stack/src/
Dmain.c76 bool is_user; member
127 if (scenario_data.is_user) { in stack_buffer_scenarios()
257 if (scenario_data.is_user) { in stack_buffer_scenarios()
285 if (scenario_data.is_user) { in stack_buffer_scenarios()
362 bool is_user; in scenario_entry() local
370 is_user = true; in scenario_entry()
382 is_user = false; in scenario_entry()
387 scenario_data.is_user = is_user; in scenario_entry()
398 if (is_user) { in scenario_entry()
/Zephyr-latest/tests/kernel/mem_protect/stackprot/src/
Dmapped_stack.c65 void create_thread(bool is_front, bool is_user) in create_thread() argument
72 K_PRIO_COOP(1), is_user ? K_USER : 0, K_FOREVER); in create_thread()
/Zephyr-latest/arch/arc/core/
Dthread.c50 static bool is_user(struct k_thread *thread) in is_user() function
60 if (is_user(thread)) { in setup_stack_vars()
75 if (is_user(thread)) { in setup_stack_vars()
101 if (is_user(thread)) { in get_iframe()
172 if (is_user(thread)) { in arch_new_thread()
/Zephyr-latest/arch/xtensa/core/
Dptables.c367 uint32_t flags, bool is_user) in l2_page_table_map() argument
391 table[l2_pos] = XTENSA_MMU_PTE(phys, is_user ? XTENSA_MMU_USER_RING : in l2_page_table_map()
401 static inline void __arch_mem_map(void *va, uintptr_t pa, uint32_t xtensa_flags, bool is_user) in __arch_mem_map() argument
434 flags, is_user); in __arch_mem_map()
439 flags_uc, is_user); in __arch_mem_map()
456 flags, is_user); in __arch_mem_map()
463 flags_uc, is_user); in __arch_mem_map()
480 bool is_user; in arch_mem_map() local
509 is_user = (flags & K_MEM_PERM_USER) == K_MEM_PERM_USER; in arch_mem_map()
514 __arch_mem_map((void *)va, pa, xtensa_flags, is_user); in arch_mem_map()
[all …]
Dmpu.c908 bool is_user = (thread->base.user_options & K_USER) != 0; in arch_mem_domain_thread_add() local
909 bool is_migration = (old_map != NULL) && is_user; in arch_mem_domain_thread_add()
/Zephyr-latest/arch/arm64/core/
Dthread.c79 static bool is_user(struct k_thread *thread) in is_user() function
123 if (is_user(thread)) { in arch_new_thread()
Dmmu.c1297 bool is_user, is_migration; in arch_mem_domain_thread_add() local
1304 is_user = (thread->base.user_options & K_USER) != 0; in arch_mem_domain_thread_add()
1305 is_migration = (old_ptables != NULL) && is_user; in arch_mem_domain_thread_add()
/Zephyr-latest/arch/x86/core/
Dx86_mmu.c1925 bool is_user = (thread->base.user_options & K_USER) != 0; in arch_mem_domain_thread_add() local
1926 bool is_migration = (old_ptables != NULL) && is_user; in arch_mem_domain_thread_add()