Lines Matching +full:maximum +full:- +full:write
4 * SPDX-License-Identifier: Apache-2.0
35 /** @brief Size of the field which stores maximum utilization. */
38 /** @brief Offset of the field which stores maximum utilization. */
56 /** @brief Maximum packet length. */
74 MAX(0, Z_SPSC_PBUF_DCACHE_LINE - (int)sizeof(struct spsc_pbuf_common))
97 * with read/write semantics on top of a memory region shared
125 return pb->common.len - sizeof(uint32_t); in spsc_pbuf_capacity()
150 * @brief Write specified amount of data to the packet buffer.
154 * @param pb A buffer to which to write.
159 * -EINVAL, if len == 0.
160 * -ENOMEM, if len is bigger than the buffer can fit.
178 * @note If data cache is used, it is the user responsibility to write back the
181 * @param[in] pb A buffer to which to write.
189 * @retval non-negative Amount of space that got allocated. Can be equal or smaller than %p len.
190 * @retval -EINVAL if @p len is forbidden.
200 * @param pb A buffer to which to write.
208 * Single read allows to read the message send by the single write.
219 * -ENOMEM, if message can not fit in provided buf.
220 * -EAGAIN, if not whole message is ready yet.
254 * @brief Get maximum utilization of the packet buffer.
261 * @retval -ENOTSUP Feature not enabled.
262 * @retval non-negative Maximum utilization.