/Zephyr-latest/kernel/ |
D | pipes.c | 30 static int pipe_get_internal(k_spinlock_key_t key, struct k_pipe *pipe, 39 void k_pipe_init(struct k_pipe *pipe, unsigned char *buffer, size_t size) in k_pipe_init() 49 SYS_PORT_TRACING_OBJ_INIT(k_pipe, pipe); in k_pipe_init() 63 int z_impl_k_pipe_alloc_init(struct k_pipe *pipe, size_t size) in z_impl_k_pipe_alloc_init() 68 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_pipe, alloc_init, pipe); in z_impl_k_pipe_alloc_init() 84 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_pipe, alloc_init, pipe, ret); in z_impl_k_pipe_alloc_init() 90 static inline int z_vrfy_k_pipe_alloc_init(struct k_pipe *pipe, size_t size) in z_vrfy_k_pipe_alloc_init() 99 static inline void handle_poll_events(struct k_pipe *pipe) in handle_poll_events() 108 void z_impl_k_pipe_flush(struct k_pipe *pipe) in z_impl_k_pipe_flush() 112 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_pipe, flush, pipe); in z_impl_k_pipe_flush() [all …]
|
D | userspace.c | 569 k_pipe_cleanup((struct k_pipe *)ko->name); in unref_check()
|
/Zephyr-latest/tests/kernel/pipe/pipe_api/src/ |
D | test_pipe_fail.c | 15 struct k_pipe put_get_pipe; 17 static void put_fail(struct k_pipe *p) in put_fail() 55 struct k_pipe *p = k_object_alloc(K_OBJ_PIPE); in ZTEST_USER() 68 static void get_fail(struct k_pipe *p) in get_fail() 108 struct k_pipe *p = k_object_alloc(K_OBJ_PIPE); in ZTEST_USER() 128 struct k_pipe pipe; in ZTEST_USER() 166 struct k_pipe *p = k_object_alloc(K_OBJ_PIPE); in ZTEST_USER() 190 struct k_pipe *p = k_object_alloc(K_OBJ_PIPE); in ZTEST_USER() 234 struct k_pipe *p = k_object_alloc(K_OBJ_PIPE); in ZTEST_USER() 258 struct k_pipe *p = k_object_alloc(K_OBJ_PIPE); in ZTEST_USER()
|
D | test_pipe_contexts.c | 26 struct k_pipe pipe, pipe1; 47 static void tpipe_put(struct k_pipe *ppipe, k_timeout_t timeout) in tpipe_put() 61 static void tpipe_get(struct k_pipe *ppipe, k_timeout_t timeout) in tpipe_get() 82 tpipe_get((struct k_pipe *)p1, K_FOREVER); in tThread_entry() 85 tpipe_put((struct k_pipe *)p1, K_NO_WAIT); in tThread_entry() 89 static void tpipe_thread_thread(struct k_pipe *ppipe) in tpipe_thread_thread() 107 static void tpipe_kthread_to_kthread(struct k_pipe *ppipe) in tpipe_kthread_to_kthread() 124 static void tpipe_put_no_wait(struct k_pipe *ppipe) in tpipe_put_no_wait() 138 static void tpipe_put_small_size(struct k_pipe *ppipe, k_timeout_t timeout) in tpipe_put_small_size() 151 static void tpipe_get_small_size(struct k_pipe *ppipe, k_timeout_t timeout) in tpipe_get_small_size() [all …]
|
D | test_pipe_avail.c | 16 static struct k_pipe pipe = { 21 static struct k_pipe bufferless; 23 static struct k_pipe bufferless1 = {
|
D | main.c | 17 extern struct k_pipe pipe, kpipe, khalfpipe, put_get_pipe;
|
/Zephyr-latest/tests/benchmarks/app_kernel/src/ |
D | master.h | 53 extern struct k_pipe *test_pipes[]; 102 extern struct k_pipe PIPE_NOBUFF; 103 extern struct k_pipe PIPE_SMALLBUFF; 104 extern struct k_pipe PIPE_BIGBUFF;
|
D | pipe_r.c | 15 int pipeget(struct k_pipe *pipe, enum pipe_options option, 82 int pipeget(struct k_pipe *pipe, enum pipe_options option, int size, int count, in pipeget()
|
D | pipe_b.c | 47 int pipeput(struct k_pipe *pipe, enum pipe_options 155 int pipeput(struct k_pipe *pipe, in pipeput()
|
D | master.c | 26 BENCH_DMEM struct k_pipe *test_pipes[] = {&PIPE_NOBUFF, &PIPE_SMALLBUFF, &PIPE_BIGBUFF};
|
/Zephyr-latest/subsys/tracing/ |
D | tracing_tracking.c | 35 struct k_pipe *_track_list_k_pipe; 107 void sys_track_k_pipe_init(struct k_pipe *pipe) in sys_track_k_pipe_init() 109 SYS_PORT_TRACING_TYPE_MASK(k_pipe, in sys_track_k_pipe_init() 163 SYS_PORT_TRACING_TYPE_MASK(k_pipe, in sys_track_static_init() 164 SYS_TRACK_STATIC_INIT(k_pipe)); in sys_track_static_init()
|
/Zephyr-latest/tests/kernel/pipe/pipe/src/ |
D | main.c | 9 extern struct k_pipe test_pipe; 10 extern struct k_pipe small_pipe;
|
D | test_pipe.c | 991 struct k_pipe pipe; in ZTEST() 1044 struct k_pipe *pipe = (struct k_pipe *)p1; in test_pipe_flush_helper()
|
/Zephyr-latest/include/zephyr/tracing/ |
D | tracking.h | 44 extern struct k_pipe *_track_list_k_pipe; 108 void sys_track_k_pipe_init(struct k_pipe *pipe);
|
/Zephyr-latest/tests/kernel/obj_tracking/src/ |
D | main.c | 39 struct k_pipe pipe; in ZTEST() 129 list = SYS_PORT_TRACK_NEXT((struct k_pipe *)list); in ZTEST()
|
/Zephyr-latest/subsys/tracing/test/ |
D | tracing_test.h | 626 void sys_trace_k_pipe_init(struct k_pipe *pipe, unsigned char *buffer, size_t size); 627 void sys_trace_k_pipe_cleanup_enter(struct k_pipe *pipe); 628 void sys_trace_k_pipe_cleanup_exit(struct k_pipe *pipe, int ret); 629 void sys_trace_k_pipe_alloc_init_enter(struct k_pipe *pipe, size_t size); 630 void sys_trace_k_pipe_alloc_init_exit(struct k_pipe *pipe, size_t size, int ret); 631 void sys_trace_k_pipe_flush_enter(struct k_pipe *pipe); 632 void sys_trace_k_pipe_flush_exit(struct k_pipe *pipe); 633 void sys_trace_k_pipe_buffer_flush_enter(struct k_pipe *pipe); 634 void sys_trace_k_pipe_buffer_flush_exit(struct k_pipe *pipe); 635 void sys_trace_k_pipe_put_enter(struct k_pipe *pipe, const void *data, size_t bytes_to_write, [all …]
|
/Zephyr-latest/include/zephyr/ |
D | kernel.h | 76 struct k_pipe; 4995 struct k_pipe { struct 5012 SYS_PORT_TRACING_TRACKING_FIELD(k_pipe) argument 5060 STRUCT_SECTION_ITERABLE(k_pipe, name) = \ 5074 void k_pipe_init(struct k_pipe *pipe, unsigned char *buffer, size_t size); 5087 int k_pipe_cleanup(struct k_pipe *pipe); 5104 __syscall int k_pipe_alloc_init(struct k_pipe *pipe, size_t size); 5124 __syscall int k_pipe_put(struct k_pipe *pipe, const void *data, 5147 __syscall int k_pipe_get(struct k_pipe *pipe, void *data, 5159 __syscall size_t k_pipe_read_avail(struct k_pipe *pipe); [all …]
|
/Zephyr-latest/tests/kernel/mutex/mutex_error_case/src/ |
D | test_mutex_error.c | 18 static struct k_pipe pipe;
|
/Zephyr-latest/cmake/sca/eclair/ECL/ |
D | extra.ecl | 71 …_data|k_timer|k_mem_slab|k_mem_pool|k_heap|k_mutex|k_stack|k_msgq|k_mbox|k_pipe|k_sem|k_queue)_lis…
|
/Zephyr-latest/include/zephyr/linker/ |
D | common-ram.ld | 83 ITERABLE_SECTION_RAM_GC_ALLOWED(k_pipe, Z_LINK_ITERABLE_SUBALIGN)
|
/Zephyr-latest/tests/kernel/obj_core/obj_core/src/ |
D | main.c | 30 static struct k_pipe pipe2;
|
/Zephyr-latest/doc/kernel/services/data_passing/ |
D | pipes.rst | 64 A pipe is defined using a variable of type :c:struct:`k_pipe` and an 75 struct k_pipe my_pipe;
|
/Zephyr-latest/cmake/linker_script/common/ |
D | common-ram.cmake | 42 zephyr_iterable_section(NAME k_pipe GROUP DATA_REGION ${XIP_ALIGN_WITH_INPUT} SUBALIGN ${CONFIG_LIN…
|
/Zephyr-latest/tests/kernel/mem_protect/mem_protect/src/ |
D | kobject.c | 1255 struct k_pipe *p; in ZTEST() 1319 struct k_pipe p;
|
/Zephyr-latest/drivers/modem/ |
D | Kconfig | 28 passed around in k_pipe structures.
|