Lines Matching refs:func
55 memory, and must be initialized with :c:func:`ring_buf_init` or
56 :c:func:`ring_buf_item_init` before use. This must be provided a region
70 :c:func:`ring_buf_put`, passing a data pointer and byte count. These
73 fewer than provided) will be returned. Likewise :c:func:`ring_buf_get`
79 byte mode. :c:func:`ring_buf_put_claim` takes a byte size value from the
85 :c:func:`ring_buf_put_finish` can be used to signal the buffer that the
88 Similarly, :c:func:`ring_buf_get_claim` returns a pointer to internal ring
90 copy, and :c:func:`ring_buf_get_finish` signals the buffer with how many
96 :c:func:`ring_buf_item_put` and :c:func:`ring_buf_item_get`, and work
99 :c:func:`ring_buf_put`, :c:func:`ring_buf_item_put` will not do a partial
104 using either :c:func:`ring_buf_space_get` or :c:func:`ring_buf_item_space_get`
106 or by testing the :c:func:`ring_buf_is_empty` predicate.
108 Finally, a :c:func:`ring_buf_reset` call exists to immediately empty a
119 :c:func:`ring_buf_put_claim`, :c:func:`ring_buf_put_finish`,
120 :c:func:`ring_buf_get_claim`, :c:func:`ring_buf_get_finish`,
121 :c:func:`ring_buf_put` and :c:func:`ring_buf_get`.
124 :c:func:`ring_buf_put`) or ring buffer memory can be used
127 1. allocating the buffer (:c:func:`ring_buf_put_claim`) when
131 (:c:func:`ring_buf_put_finish`). The amount
135 (see :c:func:`ring_buf_get`) or accessed directly by address. In the latter
139 (see :c:func:`ring_buf_get_claim`).
141 #. freeing processed data (see :c:func:`ring_buf_get_finish`).
149 :c:func:`ring_buf_item_put` and :c:func:`ring_buf_item_get`.
152 in length. When a data item is **enqueued** (:c:func:`ring_buf_item_put`)
157 A data item is **dequeued** (:c:func:`ring_buf_item_get`) from a ring
202 It must then be initialized by calling :c:func:`ring_buf_init` or
203 :c:func:`ring_buf_item_init`.
247 :c:func:`ring_buf_put`.
284 :c:func:`ring_buf_item_put`.
315 :c:func:`ring_buf_get`. For example:
356 :c:func:`ring_buf_item_get`.