Searched refs:Mbuf (Results 1 – 4 of 4) sorted by relevance
49 Mbuf* TryAllocate(void);50 void Free(Mbuf* pMbuf);52 Mbuf* GetPtrFromIndex(s32 index);53 IndexInPool GetIndexFromPtr(const Mbuf* pMbuf) const;98 return m_unitSize - Mbuf::HEADER_SIZE; in GetDataSize()101 inline Mbuf* MbufPool::GetPtrFromIndex(s32 index) in GetPtrFromIndex()104 return reinterpret_cast<Mbuf*>(m_base + m_unitSize * index); in GetPtrFromIndex()
168 class Mbuf : public nnnetOslMbuf181 Mbuf(FreeIndex nextFree) in Mbuf() function199 Mbuf* GetNext(void) in GetNext()201 return reinterpret_cast<Mbuf*>(m_next); in GetNext()204 const Mbuf* GetNext(void) const in GetNext()206 return reinterpret_cast<const Mbuf*>(m_next); in GetNext()209 Mbuf* GetPrevious(void) in GetPrevious()211 return reinterpret_cast<Mbuf*>(m_prev); in GetPrevious()214 const Mbuf* GetPrevious(void) const in GetPrevious()216 return reinterpret_cast<const Mbuf*>(m_prev); in GetPrevious()[all …]
36 class Mbuf; variable44 static MbufIndexed* ConvertToIndexed(Mbuf* pMbuf);45 static Mbuf* ConvertFromIndex(Index index);
64 static Mbuf* Allocate(size_t size);65 static Mbuf* TryAllocate(size_t size);66 static void Free(Mbuf* pMbuf);68 static Index GetIndexFromPtr(const Mbuf* pMbuf);