Searched refs:m_top (Results 1 – 1 of 1) sorted by relevance
59 s16 m_top; /**< Top offset of stored data */ member103 return pMbuf_->m_top; in nnnetOslMbuf_leadingspace()108 return pMbuf_->m_capacity - (pMbuf_->m_top + pMbuf_->m_len); in nnnetOslMbuf_trailingspace()113 if (pMbuf_->m_top >= len) in nnnetOslMbuf_prepend()115 pMbuf_->m_top -= len; in nnnetOslMbuf_prepend()128 return &(pMbuf_->m_data[pMbuf_->m_top]); in nnnetOslMbuf_tod()144 if (pMbuf_->m_top + pMbuf_->m_len + len > pMbuf_->m_capacity) in nnnetOslMbuf_expand()156 NN_TASSERT_(pMbuf_->m_len == 0 && pMbuf_->m_top + len <= pMbuf_->m_capacity); in nnnetOslMbuf_reserve()157 pMbuf_->m_top += len; in nnnetOslMbuf_reserve()294 m_top = top; in SetTop()[all …]