Searched refs:mpsc_pbuf_buffer (Results 1 – 6 of 6) sorted by relevance
/Zephyr-Core-2.7.6/include/sys/ |
D | mpsc_pbuf.h | 64 struct mpsc_pbuf_buffer; 80 typedef void (*mpsc_pbuf_notify_drop)(const struct mpsc_pbuf_buffer *buffer, 84 struct mpsc_pbuf_buffer { struct 140 void mpsc_pbuf_init(struct mpsc_pbuf_buffer *buffer, 159 union mpsc_pbuf_generic *mpsc_pbuf_alloc(struct mpsc_pbuf_buffer *buffer, 168 void mpsc_pbuf_commit(struct mpsc_pbuf_buffer *buffer, 181 void mpsc_pbuf_put_word(struct mpsc_pbuf_buffer *buffer, 196 void mpsc_pbuf_put_word_ext(struct mpsc_pbuf_buffer *buffer, 211 void mpsc_pbuf_put_data(struct mpsc_pbuf_buffer *buffer, 220 const union mpsc_pbuf_generic *mpsc_pbuf_claim(struct mpsc_pbuf_buffer *buffer); [all …]
|
/Zephyr-Core-2.7.6/lib/os/ |
D | mpsc_pbuf.c | 19 static inline void mpsc_state_print(struct mpsc_pbuf_buffer *buffer) in mpsc_state_print() 28 void mpsc_pbuf_init(struct mpsc_pbuf_buffer *buffer, in mpsc_pbuf_init() 33 memset(buffer, 0, offsetof(struct mpsc_pbuf_buffer, buf)); in mpsc_pbuf_init() 48 static inline bool free_space(struct mpsc_pbuf_buffer *buffer, uint32_t *res) in free_space() 64 static inline bool available(struct mpsc_pbuf_buffer *buffer, uint32_t *res) in available() 87 static inline uint32_t idx_inc(struct mpsc_pbuf_buffer *buffer, in idx_inc() 99 static inline uint32_t idx_dec(struct mpsc_pbuf_buffer *buffer, in idx_dec() 120 static void add_skip_item(struct mpsc_pbuf_buffer *buffer, uint32_t wlen) in add_skip_item() 138 static union mpsc_pbuf_generic *drop_item_locked(struct mpsc_pbuf_buffer *buffer, in drop_item_locked() 187 void mpsc_pbuf_put_word(struct mpsc_pbuf_buffer *buffer, in mpsc_pbuf_put_word() [all …]
|
/Zephyr-Core-2.7.6/tests/lib/mpsc_pbuf/src/ |
D | main.c | 58 static void drop(const struct mpsc_pbuf_buffer *buffer, const union mpsc_pbuf_generic *item) in drop() 83 static void init(struct mpsc_pbuf_buffer *buffer, bool overwrite, bool pow2) in init() 108 struct mpsc_pbuf_buffer buffer; in item_put_no_overwrite() 139 struct mpsc_pbuf_buffer buffer; in item_put_overwrite() 165 struct mpsc_pbuf_buffer buffer; in item_put_saturate() 210 struct mpsc_pbuf_buffer buffer; in benchmark_item_put() 251 struct mpsc_pbuf_buffer buffer; in item_put_ext_no_overwrite() 289 struct mpsc_pbuf_buffer buffer; in item_put_word_ext_overwrite() 327 struct mpsc_pbuf_buffer buffer; in item_put_ext_saturate() 377 struct mpsc_pbuf_buffer buffer; in benchmark_item_put_ext() [all …]
|
/Zephyr-Core-2.7.6/include/shell/ |
D | shell_log_backend.h | 43 struct mpsc_pbuf_buffer *mpsc_buffer; 86 struct mpsc_pbuf_buffer _name##_mpsc_buffer; \
|
/Zephyr-Core-2.7.6/subsys/shell/ |
D | shell_log_backend.c | 328 static void copy_to_pbuffer(struct mpsc_pbuf_buffer *mpsc_buffer, in copy_to_pbuffer() 389 struct mpsc_pbuf_buffer *mpsc_buffer = log_backend->mpsc_buffer; in process_msg2_from_buffer() 412 struct mpsc_pbuf_buffer *mpsc_buffer = log_backend->mpsc_buffer; in log2_process()
|
/Zephyr-Core-2.7.6/subsys/logging/ |
D | log_core.c | 97 struct mpsc_pbuf_buffer log_buffer; 101 static void notify_drop(const struct mpsc_pbuf_buffer *buffer, 875 static void notify_drop(const struct mpsc_pbuf_buffer *buffer, in notify_drop()
|