| /Zephyr-4.2.1/arch/x86/ |
| D | gen_static_shstk_array.py | 51 stack_size = (int)(sym["st_size"] / nmemb) 58 token = sym["st_value"] + stack_size * (i + 1) - 8 60 struct.pack_into(shstk_irq_top_fmt, output, stack_size * (i + 1) - 8, token) 78 stack_size = (int)(sym["st_size"] / nmemb) 88 end = sym["st_value"] + stack_size * (i + 1) 96 stack_size * (i + 1) - 8 * 5, 116 stack_size = (int)(sym["st_size"] / nmemb) 125 end = sym["st_value"] + stack_size * (i + 1) 131 stack_size * (i + 1) - 4 * 4, 185 isr_depth = stack_size = alignment = hw_stack_percentage = hw_stack_min_size = None [all …]
|
| /Zephyr-4.2.1/arch/x86/core/ |
| D | cet.c | 35 size_t stack_size) in arch_thread_hw_shadow_stack_attach() argument 48 thread->arch.shstk_size == stack_size) { in arch_thread_hw_shadow_stack_attach() 62 thread->arch.shstk_addr = stack + (stack_size - in arch_thread_hw_shadow_stack_attach() 64 thread->arch.shstk_size = stack_size; in arch_thread_hw_shadow_stack_attach()
|
| D | userspace.c | 162 size_t stack_size; in arch_user_mode_enter() local 167 stack_size = K_THREAD_STACK_LEN(_current->stack_info.size); in arch_user_mode_enter() 174 stack_size -= CONFIG_MMU_PAGE_SIZE; in arch_user_mode_enter() 178 stack_start, stack_size, in arch_user_mode_enter() 189 int arch_thread_priv_stack_space_get(const struct k_thread *thread, size_t *stack_size, in arch_thread_priv_stack_space_get() argument
|
| /Zephyr-4.2.1/samples/subsys/portability/cmsis_rtos_v2/philosophers/src/ |
| D | main.c | 76 .stack_size = STACK_SIZE, 82 .stack_size = STACK_SIZE, 88 .stack_size = STACK_SIZE, 94 .stack_size = STACK_SIZE, 100 .stack_size = STACK_SIZE, 106 .stack_size = STACK_SIZE,
|
| /Zephyr-4.2.1/include/zephyr/modem/backend/ |
| D | tty.h | 28 size_t stack_size; member 35 size_t stack_size; member
|
| /Zephyr-4.2.1/include/zephyr/sys/ |
| D | p4wq.h | 93 uintptr_t stack_size; member 121 .stack_size = stack_sz, \ 160 .stack_size = stack_sz, \ 203 size_t stack_size);
|
| /Zephyr-4.2.1/tests/kernel/threads/thread_stack/src/ |
| D | main.c | 98 size_t stack_size, unused, carveout, reserved, alignment, adjusted; in stack_buffer_scenarios() local 122 stack_info_get(&stack_start, &stack_size); in stack_buffer_scenarios() 124 stack_size); in stack_buffer_scenarios() 140 stack_end = stack_start + stack_size; in stack_buffer_scenarios() 218 stack_size -= reserved; in stack_buffer_scenarios() 221 zassert_true(stack_size <= obj_size - reserved, in stack_buffer_scenarios() 223 stack_size); in stack_buffer_scenarios() 230 zassert_true(carveout < stack_size, in stack_buffer_scenarios() 374 metadata_size = zo->data.stack_size; in scenario_entry()
|
| /Zephyr-4.2.1/snippets/ram-tracing/ |
| D | README.rst | 27 …read_info: { thread_id = 2147621216, name = "unknown", stack_base = 2147705856, stack_size = 3072 } 33 …read_info: { thread_id = 2147619320, name = "unknown", stack_base = 2147693568, stack_size = 3072 } 45 …read_info: { thread_id = 2147621216, name = "unknown", stack_base = 2147705856, stack_size = 3072 } 52 …read_info: { thread_id = 2147619320, name = "unknown", stack_base = 2147693568, stack_size = 3072 }
|
| /Zephyr-4.2.1/snippets/semihost-tracing/ |
| D | README.rst | 27 …read_info: { thread_id = 2147621216, name = "unknown", stack_base = 2147705856, stack_size = 3072 } 33 …read_info: { thread_id = 2147619320, name = "unknown", stack_base = 2147693568, stack_size = 3072 } 45 …read_info: { thread_id = 2147621216, name = "unknown", stack_base = 2147705856, stack_size = 3072 } 52 …read_info: { thread_id = 2147619320, name = "unknown", stack_base = 2147693568, stack_size = 3072 }
|
| /Zephyr-4.2.1/lib/os/ |
| D | user_work.c | 43 size_t stack_size, int prio, const char *name) in k_work_user_queue_start() argument 50 k_thread_create(&work_q->thread, stack, stack_size, z_work_user_q_main, in k_work_user_queue_start()
|
| D | p4wq.c | 143 size_t stack_size) in k_p4wq_add_thread() argument 145 k_thread_create(thread, stack, stack_size, in k_p4wq_add_thread() 156 uintptr_t ssz = K_THREAD_STACK_LEN(pp->stack_size); in static_init() 177 pp->stack_size); in static_init()
|
| /Zephyr-4.2.1/subsys/portability/cmsis_rtos_v2/ |
| D | thread.c | 22 .stack_size = 0, 109 size_t stack_size; in osThreadNew() local 141 __ASSERT(attr->stack_size <= CONFIG_CMSIS_V2_THREAD_MAX_STACK_SIZE, "invalid stack size\n"); in osThreadNew() 145 if (attr->stack_mem != NULL && attr->stack_size == 0) { in osThreadNew() 168 stack_size = CONFIG_CMSIS_V2_THREAD_DYNAMIC_STACK_SIZE; in osThreadNew() 173 stack_size = attr->stack_size; in osThreadNew() 192 (void)k_thread_create(&tid->z_thread, stack, stack_size, zephyr_thread_wrapper, (void *)arg, in osThreadNew()
|
| /Zephyr-4.2.1/subsys/debug/thread_analyzer/ |
| D | thread_analyzer.c | 48 size_t pcnt = (info->stack_used * 100U) / info->stack_size; in thread_print_cb() 54 info->stack_size - info->stack_used, info->stack_used, in thread_print_cb() 55 info->stack_size, pcnt, in thread_print_cb() 89 info->stack_size - info->stack_used, info->stack_used, in thread_print_cb() 90 info->stack_size, pcnt); in thread_print_cb() 193 info.stack_size = size; in thread_analyze_cb()
|
| /Zephyr-4.2.1/subsys/modem/backends/ |
| D | modem_backend_tty.c | 60 k_thread_create(&backend->thread, backend->stack, backend->stack_size, in modem_backend_tty_open() 118 backend->stack_size = config->stack_size; in modem_backend_tty_init()
|
| /Zephyr-4.2.1/arch/x86/core/ia32/ |
| D | irq_manage.c | 52 size_t stack_size = sizeof(__z_interrupt_stacks_shstk_arr); in z_x86_set_irq_shadow_stack() local 58 (stack_size - TOKEN_OFFSET * sizeof(*stack)) / sizeof(*stack); in z_x86_set_irq_shadow_stack() 59 _kernel.cpus[0].arch.shstk_size = stack_size; in z_x86_set_irq_shadow_stack()
|
| /Zephyr-4.2.1/tests/subsys/portability/cmsis_rtos_v2/src/ |
| D | event_flags.c | 42 .stack_size = STACKSZ, 50 .stack_size = STACKSZ, 173 .stack_size = STACKSZ, 231 .stack_size = STACKSZ, 239 .stack_size = STACKSZ,
|
| D | thread_flags.c | 79 .stack_size = STACKSZ, 87 .stack_size = STACKSZ, 157 .stack_size = STACKSZ, 178 .stack_size = STACKSZ,
|
| D | thread_apis.c | 22 .stack_size = STACKSZ, 30 .stack_size = STACKSZ, 152 .stack_size = STACKSZ, 377 .stack_size = STACKSZ, 400 .stack_size = STACKSZ, 429 .stack_size = STACKSZ,
|
| /Zephyr-4.2.1/modules/lvgl/ |
| D | lvgl_zephyr_osal.c | 21 void (*callback)(void *), size_t stack_size, void *user_data) in lv_thread_init() argument 25 thread->stack = k_thread_stack_alloc(stack_size, 0); in lv_thread_init() 33 thread->tid = k_thread_create(&thread->thread, thread->stack, stack_size, thread_entry, in lv_thread_init()
|
| /Zephyr-4.2.1/kernel/ |
| D | thread.c | 353 static size_t random_offset(size_t stack_size) in random_offset() argument 371 if (unlikely(fuzz * 2 > stack_size)) { in random_offset() 384 k_thread_stack_t *stack, size_t stack_size) in setup_thread_stack() argument 392 stack_obj_size = K_THREAD_STACK_LEN(stack_size); in setup_thread_stack() 399 stack_obj_size = K_KERNEL_STACK_LEN(stack_size); in setup_thread_stack() 540 stk_to_hw_shstk->stack_size * stk_to_hw_shstk->nmemb) { in setup_shadow_stack() 543 uintptr_t stack_index = stack_offset / stk_to_hw_shstk->stack_size; in setup_shadow_stack() 580 k_thread_stack_t *stack, size_t stack_size, in z_setup_new_thread() argument 618 stack_ptr = setup_thread_stack(new_thread, stack, stack_size); in z_setup_new_thread() 790 size_t stack_size, k_thread_entry_t entry, in z_impl_k_thread_create() argument [all …]
|
| /Zephyr-4.2.1/arch/riscv/core/ |
| D | thread.c | 207 int arch_thread_priv_stack_space_get(const struct k_thread *thread, size_t *stack_size, in arch_thread_priv_stack_space_get() argument 223 *stack_size = Z_STACK_PTR_ALIGN(K_KERNEL_STACK_RESERVED + CONFIG_PRIVILEGED_STACK_SIZE); in arch_thread_priv_stack_space_get() 225 return z_stack_space_get((void *)thread->arch.priv_stack_start, *stack_size, unused_ptr); in arch_thread_priv_stack_space_get()
|
| /Zephyr-4.2.1/include/zephyr/debug/ |
| D | thread_analyzer.h | 32 size_t stack_size; member
|
| /Zephyr-4.2.1/arch/x86/include/intel64/ |
| D | kernel_arch_data.h | 27 size_t stack_size; /* size of stack */ member 83 .stack_size = K_KERNEL_STACK_LEN(CONFIG_ISR_STACK_SIZE), \
|
| /Zephyr-4.2.1/include/zephyr/sys/internal/ |
| D | kobject_internal.h | 44 size_t stack_size; member
|
| /Zephyr-4.2.1/include/zephyr/arch/x86/ |
| D | cet.h | 78 size_t stack_size);
|