Searched refs:k_ringbuf_t (Results 1 – 5 of 5) sorted by relevance
/AliOS-Things-master/kernel/rhino/include/ |
A D | k_internal.h | 212 kstat_t ringbuf_init(k_ringbuf_t *p_ringbuf, void *buf, size_t len, size_t type,size_t block_size); 213 kstat_t ringbuf_reset(k_ringbuf_t *p_ringbuf); 214 kstat_t ringbuf_push(k_ringbuf_t *p_ringbuf, void *data, size_t len); 215 kstat_t ringbuf_head_push(k_ringbuf_t *p_ringbuf, void *data, size_t len); 216 kstat_t ringbuf_pop(k_ringbuf_t *p_ringbuf, void *pdata, size_t *plen); 217 uint8_t ringbuf_is_full(k_ringbuf_t *p_ringbuf); 218 uint8_t ringbuf_is_empty(k_ringbuf_t *p_ringbuf);
|
A D | k_ringbuf.h | 38 } k_ringbuf_t; typedef 49 RHINO_INLINE kstat_t ringbuf_queue_push(k_ringbuf_t *p_ringbuf, void *data, size_t len) in ringbuf_queue_push() 70 RHINO_INLINE kstat_t ringbuf_queue_pop(k_ringbuf_t *p_ringbuf, void *pdata, size_t *plen) in ringbuf_queue_pop()
|
A D | k_queue.h | 44 k_ringbuf_t ringbuf; /**< Msg passing by ringbuf */
|
A D | k_buf_queue.h | 27 k_ringbuf_t ringbuf; /**< ringbuf management */
|
/AliOS-Things-master/kernel/rhino/ |
A D | k_ringbuf.c | 9 kstat_t ringbuf_init(k_ringbuf_t *p_ringbuf, void *buf, size_t len, size_t type, in ringbuf_init() 23 kstat_t ringbuf_push(k_ringbuf_t *p_ringbuf, void *data, size_t len) in ringbuf_push() 103 kstat_t ringbuf_pop(k_ringbuf_t *p_ringbuf, void *pdata, size_t *plen) in ringbuf_pop() 171 uint8_t ringbuf_is_full(k_ringbuf_t *p_ringbuf) in ringbuf_is_full() 185 uint8_t ringbuf_is_empty(k_ringbuf_t *p_ringbuf) in ringbuf_is_empty() 194 kstat_t ringbuf_reset(k_ringbuf_t *p_ringbuf) in ringbuf_reset()
|
Completed in 7 milliseconds