/Zephyr-latest/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-latest/arch/x86/core/ |
D | userspace.c | 162 size_t stack_size; in arch_user_mode_enter() local 167 stack_size = K_THREAD_STACK_LEN(arch_current_thread()->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-latest/include/zephyr/modem/backend/ |
D | tty.h | 28 size_t stack_size; member 35 size_t stack_size; member
|
/Zephyr-latest/include/zephyr/sys/ |
D | p4wq.h | 81 uintptr_t stack_size; member 107 .stack_size = stack_sz, \ 134 .stack_size = stack_sz, \ 166 size_t stack_size);
|
/Zephyr-latest/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-latest/subsys/debug/ |
D | thread_analyzer.c | 41 size_t pcnt = (info->stack_used * 100U) / info->stack_size; in thread_print_cb() 47 info->stack_size - info->stack_used, info->stack_used, in thread_print_cb() 48 info->stack_size, pcnt, in thread_print_cb() 82 info->stack_size - info->stack_used, info->stack_used, in thread_print_cb() 83 info->stack_size, pcnt); in thread_print_cb() 128 info.stack_size = size; in thread_analyze_cb()
|
/Zephyr-latest/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 | 136 size_t stack_size) in k_p4wq_add_thread() argument 138 k_thread_create(thread, stack, stack_size, in k_p4wq_add_thread() 149 uintptr_t ssz = K_THREAD_STACK_LEN(pp->stack_size); in static_init() 169 pp->stack_size); in static_init()
|
/Zephyr-latest/modules/lvgl/ |
D | lvgl_zephyr_osal.c | 17 size_t stack_size, void *user_data) in lv_thread_init() argument 21 thread->stack = k_thread_stack_alloc(stack_size, 0); in lv_thread_init() 29 thread->tid = k_thread_create(&thread->thread, thread->stack, stack_size, thread_entry, in lv_thread_init()
|
/Zephyr-latest/subsys/modem/backends/ |
D | modem_backend_tty.c | 65 k_thread_create(&backend->thread, backend->stack, backend->stack_size, in modem_backend_tty_open() 123 backend->stack_size = config->stack_size; in modem_backend_tty_init()
|
/Zephyr-latest/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() 509 k_thread_stack_t *stack, size_t stack_size, in z_setup_new_thread() argument 547 stack_ptr = setup_thread_stack(new_thread, stack, stack_size); in z_setup_new_thread() 653 size_t stack_size, k_thread_entry_t entry, in z_impl_k_thread_create() argument 659 z_setup_new_thread(new_thread, stack, stack_size, entry, p1, p2, p3, in z_impl_k_thread_create() 677 size_t stack_size, k_thread_entry_t entry, in z_vrfy_k_thread_create() argument [all …]
|
/Zephyr-latest/subsys/portability/cmsis_rtos_v2/ |
D | thread.c | 21 .stack_size = 0, 111 size_t stack_size; in osThreadNew() local 148 __ASSERT(attr->stack_size <= CONFIG_CMSIS_V2_THREAD_MAX_STACK_SIZE, in osThreadNew() 155 if (attr->stack_size == 0) { in osThreadNew() 174 stack_size = CONFIG_CMSIS_V2_THREAD_DYNAMIC_STACK_SIZE; in osThreadNew() 179 stack_size = attr->stack_size; in osThreadNew() 200 stack, stack_size, in osThreadNew()
|
/Zephyr-latest/arch/x86/include/intel64/ |
D | kernel_arch_data.h | 26 size_t stack_size; /* size of stack */ member 72 .stack_size = K_KERNEL_STACK_LEN(CONFIG_ISR_STACK_SIZE), \
|
/Zephyr-latest/tests/subsys/portability/cmsis_rtos_v2/src/ |
D | thread_flags.c | 77 .stack_size = STACKSZ, 85 .stack_size = STACKSZ, 157 .stack_size = STACKSZ,
|
D | event_flags.c | 50 .stack_size = STACKSZ, 58 .stack_size = STACKSZ, 191 .stack_size = STACKSZ,
|
D | thread_apis.c | 21 .stack_size = STACKSZ, 29 .stack_size = STACKSZ, 160 .stack_size = STACKSZ,
|
D | semaphore.c | 56 .stack_size = STACKSZ,
|
/Zephyr-latest/include/zephyr/debug/ |
D | thread_analyzer.h | 32 size_t stack_size; member
|
/Zephyr-latest/arch/riscv/core/ |
D | thread.c | 199 int arch_thread_priv_stack_space_get(const struct k_thread *thread, size_t *stack_size, in arch_thread_priv_stack_space_get() argument 206 *stack_size = Z_STACK_PTR_ALIGN(K_KERNEL_STACK_RESERVED + CONFIG_PRIVILEGED_STACK_SIZE); in arch_thread_priv_stack_space_get() 208 return z_stack_space_get((void *)thread->arch.priv_stack_start, *stack_size, unused_ptr); in arch_thread_priv_stack_space_get()
|
/Zephyr-latest/include/zephyr/sys/internal/ |
D | kobject_internal.h | 44 size_t stack_size; member
|
/Zephyr-latest/arch/x86/core/offsets/ |
D | intel64_offsets.c | 52 GEN_OFFSET_SYM(x86_cpuboot_t, stack_size);
|
/Zephyr-latest/kernel/include/ |
D | kernel_arch_interface.h | 239 int arch_thread_priv_stack_space_get(const struct k_thread *thread, size_t *stack_size,
|
/Zephyr-latest/arch/x86/core/intel64/ |
D | cpu.c | 75 x86_cpuboot[cpu_num].stack_size = sz; in arch_cpu_start()
|
/Zephyr-latest/include/zephyr/ |
D | kernel.h | 411 size_t stack_size, 762 #define Z_THREAD_INITIALIZER(thread, stack, stack_size, \ argument 768 .init_stack_size = (stack_size), \ 783 #define Z_THREAD_COMMON_DEFINE(name, stack_size, \ argument 790 _k_thread_stack_##name, stack_size,\ 830 #define K_THREAD_DEFINE(name, stack_size, \ argument 833 K_THREAD_STACK_DEFINE(_k_thread_stack_##name, stack_size); \ 834 Z_THREAD_COMMON_DEFINE(name, stack_size, entry, p1, p2, p3, \ 867 #define K_KERNEL_THREAD_DEFINE(name, stack_size, \ argument 870 K_KERNEL_STACK_DEFINE(_k_thread_stack_##name, stack_size); \ [all …]
|
/Zephyr-latest/modules/hal_infineon/abstraction-rtos/source/COMPONENT_ZEPHYR/ |
D | cyabs_rtos_zephyr.c | 105 const char *name, void *stack, uint32_t stack_size, in cy_rtos_create_thread() argument 111 if ((thread == NULL) || (stack_size < CY_RTOS_MIN_STACK_SIZE)) { in cy_rtos_create_thread() 125 K_KERNEL_STACK_LEN(stack_size)); in cy_rtos_create_thread() 140 my_tid = k_thread_create(&(*thread)->z_thread, stack_alloc, stack_size, in cy_rtos_create_thread()
|