Home
last modified time | relevance | path

Searched refs:Mbuf (Results 1 – 4 of 4) sorted by relevance

/CTR-SDK-1.0.0/CTR_SDK/include/nn/net/osl/
Dosl_MbufPool.h49 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()
Dosl_Mbuf.h168 class Mbuf : public nnnetOslMbuf
181 Mbuf(FreeIndex nextFree) in Mbuf() function
199 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 …]
Dosl_MbufIndexed.h36 class Mbuf; variable
44 static MbufIndexed* ConvertToIndexed(Mbuf* pMbuf);
45 static Mbuf* ConvertFromIndex(Index index);
Dosl_MbufSystem.h64 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);