Home
last modified time | relevance | path

Searched refs:NN_OS_MEMORY_PAGE_SIZE (Results 1 – 10 of 10) sorted by relevance

/CTR-SDK-2.4.0/sources/libraries/os/
Dos_TransferMemoryBlock.cpp53 if ( (reinterpret_cast<uptr>(p) % NN_OS_MEMORY_PAGE_SIZE ) != 0 ) in TryInitialize()
57 if ( ( size % NN_OS_MEMORY_PAGE_SIZE ) != 0 ) in TryInitialize()
91 if ( ( size % NN_OS_MEMORY_PAGE_SIZE ) != 0 ) in AttachAndMap()
113 if ( ( size % NN_OS_MEMORY_PAGE_SIZE ) != 0 ) in Map()
Dos_SharedMemory.cpp36 return (size + NN_OS_MEMORY_PAGE_SIZE - 1) & ~(NN_OS_MEMORY_PAGE_SIZE - 1); in GetPageAlignedSize()
49 return pManager->Allocate(p, s, NN_OS_MEMORY_PAGE_SIZE); in AllocateFromSharedMemorySpace()
70 if ( ( size % NN_OS_MEMORY_PAGE_SIZE ) != 0 ) in Map()
Dos_StackMemoryBlock.cpp43 return (size + NN_OS_MEMORY_PAGE_SIZE - 1) & ~(NN_OS_MEMORY_PAGE_SIZE - 1); in GetPageAlignedSize()
Dos_StackMemory.cpp69 if ( ( size % NN_OS_MEMORY_PAGE_SIZE ) != 0 ) in TryInitialize()
73 if ( ( reinterpret_cast<uptr>(pMem) % NN_OS_MEMORY_PAGE_SIZE ) != 0 ) in TryInitialize()
79 …dressSpaceManagerAllocate(&s_SpaceManager, detail::ConvertToC(this), size, NN_OS_MEMORY_PAGE_SIZE); in TryInitialize()
Dos_Memory.cpp62 if ( (size % NN_OS_MEMORY_PAGE_SIZE) != 0 ) in SetDeviceMemorySize()
144 if ( (size % NN_OS_MEMORY_PAGE_SIZE) != 0 ) in SetHeapSize()
Dos_AddressSpaceManager.cpp40 NN_ALIGN_TASSERT_(size, NN_OS_MEMORY_PAGE_SIZE); in Allocate()
41 NN_ALIGN_TASSERT_(skipSize, NN_OS_MEMORY_PAGE_SIZE); in Allocate()
Dos_Alarm.cpp79 … NUM_ALARM_THREAD + (sizeof(nn::os::ThreadPool) / NN_OS_MEMORY_PAGE_SIZE + 1) * NN_OS_MEMORY_PAGE_… in GetRequiredMemorySizeForAlarmSystem()
/CTR-SDK-2.4.0/include/nn/os/
Dos_MemoryBlock.h118 …GetPageAlignedSize(size_t size) { return (size + NN_OS_MEMORY_PAGE_SIZE - 1) & ~(NN_OS_MEMORY_PAGE… in GetPageAlignedSize()
/CTR-SDK-2.4.0/include/nn/os/CTR/
Dos_MemoryConfig.h19 #define NN_OS_MEMORY_PAGE_SIZE 0x1000 macro
/CTR-SDK-2.4.0/include/nn/net/osl/
Dosl_Mbuf.h25 #define NN_NET_OSL_PAGE_SIZE NN_OS_MEMORY_PAGE_SIZE
27 #define NN_NET_OSL_MBUF_UNIT_SIZE (NN_OS_MEMORY_PAGE_SIZE / 2)