Home
last modified time | relevance | path

Searched refs:stack_data_t (Results 1 – 10 of 10) sorted by relevance

/Zephyr-Core-2.7.6/tests/kernel/stack/stack/src/
Dtest_stack_fail.c15 static ZTEST_BMEM stack_data_t data[STACK_LEN];
22 stack_data_t rx_data; in stack_pop_fail()
59 stack_data_t rx_data[STACK_LEN - 1]; in test_stack_cleanup_error()
81 stack_data_t tx_data[STACK_LEN] = {0}; in test_stack_push_full()
82 stack_data_t data_tmp = 0; in test_stack_push_full()
167 k_stack_pop(alloc_stack, (stack_data_t *)alloc_stack, K_NO_WAIT); in test_stack_user_pop_permission()
Dmain.c59 static ZTEST_DMEM stack_data_t data1[STACK_LEN] = { 0xAAAA, 0xBBBB, 0xCCCC, 0xDDDD };
60 static ZTEST_DMEM stack_data_t data2[STACK_LEN] = { 0x1111, 0x2222, 0x3333, 0x4444 };
61 static ZTEST_DMEM stack_data_t data_isr[STACK_LEN] = { 0xABCD, 0xABCD, 0xABCD,
134 stack_data_t tmp[STACK_LEN]; in thread_entry_fn_single()
155 stack_data_t tmp[STACK_LEN]; in thread_entry_fn_dual()
195 stack_data_t tmp[STACK_LEN]; in test_single_stack_play()
232 stack_data_t tmp[STACK_LEN]; in test_dual_stack_play()
289 stack_data_t *txdata = p3; in thread_entry_wait()
310 stack_data_t tx_data[STACK_LEN] = { 0xaa, 0xbb, 0xcc, 0xdd }; in test_stack_pop_can_wait()
311 stack_data_t rx_data[STACK_LEN] = { 0 }; in test_stack_pop_can_wait()
Dtest_stack_contexts.c26 static ZTEST_DMEM stack_data_t data[STACK_LEN] = { 0xABCD, 0x1234 };
39 stack_data_t rx_data; in tstack_pop()
192 stack_data_t output; in low_prio_wait_for_stack()
202 stack_data_t output; in high_prio_t1_wait_for_stack()
212 stack_data_t output; in high_prio_t2_wait_for_stack()
237 stack_data_t test_data[3]; in test_stack_multithread_competition()
/Zephyr-Core-2.7.6/kernel/
Dstack.c22 void k_stack_init(struct k_stack *stack, stack_data_t *buffer, in k_stack_init()
41 buffer = z_thread_malloc(num_entries * sizeof(stack_data_t)); in z_impl_k_stack_alloc_init()
87 int z_impl_k_stack_push(struct k_stack *stack, stack_data_t data) in z_impl_k_stack_push()
125 static inline int z_vrfy_k_stack_push(struct k_stack *stack, stack_data_t data) in z_vrfy_k_stack_push()
134 int z_impl_k_stack_pop(struct k_stack *stack, stack_data_t *data, in z_impl_k_stack_pop()
171 *data = (stack_data_t)_current->base.swap_data; in z_impl_k_stack_pop()
180 stack_data_t *data, k_timeout_t timeout) in z_vrfy_k_stack_pop()
183 Z_OOPS(Z_SYSCALL_MEMORY_WRITE(data, sizeof(stack_data_t))); in z_vrfy_k_stack_pop()
Dmailbox.c36 (void)k_stack_pop(&async_msg_free, (stack_data_t *)async, K_FOREVER); in mbox_async_alloc()
42 k_stack_push(&async_msg_free, (stack_data_t)async); in mbox_async_free()
76 k_stack_push(&async_msg_free, (stack_data_t)&async_msg[i]); in init_mbox_module()
Dpipes.c75 k_stack_push(&pipe_async_msgs, (stack_data_t)&async_msg[i]); in init_pipes_module()
/Zephyr-Core-2.7.6/tests/benchmarks/sys_kernel/src/
Dstack.c14 stack_data_t stack1[2];
15 stack_data_t stack2[2];
46 stack_data_t data; in stack_thread1()
82 stack_data_t data; in stack_thread2()
114 stack_data_t data; in stack_thread3()
223 stack_data_t data; in stack_test()
/Zephyr-Core-2.7.6/doc/reference/kernel/data_passing/
Dstacks.rst23 The queue is implemented using an array of stack_data_t values
25 The stack_data_t type corresponds to the native word size i.e. 32 bits or
71 stack_data_t my_stack_array[MAX_ITEMS];
106 k_stack_push(&my_stack, (stack_data_t)&my_buffers[i]);
123 k_stack_pop(&buffer_stack, (stack_data_t *)&new_buffer, K_FOREVER);
/Zephyr-Core-2.7.6/include/
Dkernel.h2389 typedef uintptr_t stack_data_t; typedef
2394 stack_data_t *base, *next, *top;
2429 stack_data_t *buffer, uint32_t num_entries);
2475 __syscall int k_stack_push(struct k_stack *stack, stack_data_t data);
2497 __syscall int k_stack_pop(struct k_stack *stack, stack_data_t *data,
2511 stack_data_t __noinit \
/Zephyr-Core-2.7.6/subsys/tracing/test/
Dtracing_test.h560 void sys_trace_k_stack_init(struct k_stack *stack, stack_data_t *buffer, uint32_t num_entries);
565 void sys_trace_k_stack_push_enter(struct k_stack *stack, stack_data_t data);
566 void sys_trace_k_stack_push_exit(struct k_stack *stack, stack_data_t data, int ret);
567 void sys_trace_k_stack_pop_blocking(struct k_stack *stack, stack_data_t *data, k_timeout_t timeout);
568 void sys_trace_k_stack_pop_exit(struct k_stack *stack, stack_data_t *data, k_timeout_t timeout,