Home
last modified time | relevance | path

Searched refs:nextPool (Results 1 – 5 of 5) sorted by relevance

/kernel/liteos_a/kernel/base/mem/tlsf/
Dlos_memory.c162 VOID *nextPool; member
902 VOID *nextPool = g_poolHead; in OsMemPoolAdd() local
905 while (nextPool != NULL) { in OsMemPoolAdd()
906 poolEnd = (UINTPTR)nextPool + LOS_MemPoolSizeGet(nextPool); in OsMemPoolAdd()
907 if (((pool <= nextPool) && (((UINTPTR)pool + size) > (UINTPTR)nextPool)) || in OsMemPoolAdd()
911 nextPool, (UINTPTR)nextPool + LOS_MemPoolSizeGet(nextPool)); in OsMemPoolAdd()
914 curPool = nextPool; in OsMemPoolAdd()
915 nextPool = ((struct OsMemPoolHead *)nextPool)->nextPool; in OsMemPoolAdd()
921 ((struct OsMemPoolHead *)curPool)->nextPool = pool; in OsMemPoolAdd()
924 ((struct OsMemPoolHead *)pool)->nextPool = NULL; in OsMemPoolAdd()
[all …]
/kernel/liteos_m/kernel/src/mm/
Dlos_memory.c925 VOID *nextPool = g_poolHead; local
928 while (nextPool != NULL) {
929 poolEnd = (UINTPTR)nextPool + LOS_MemPoolSizeGet(nextPool);
930 if (((pool <= nextPool) && (((UINTPTR)pool + size) > (UINTPTR)nextPool)) ||
933 … (UINTPTR)pool + size, (UINTPTR)nextPool, (UINTPTR)nextPool + LOS_MemPoolSizeGet(nextPool));
936 curPool = nextPool;
937 nextPool = ((struct OsMemPoolHead *)nextPool)->nextPool;
943 ((struct OsMemPoolHead *)curPool)->nextPool = pool;
946 ((struct OsMemPoolHead *)pool)->nextPool = NULL;
953 VOID *nextPool = NULL; local
[all …]
Dlos_membox.c94 LOS_MEMBOX_INFO *nextPool = g_memBoxHead; in OsMemBoxAdd() local
97 while (nextPool != NULL) { in OsMemBoxAdd()
98 curPool = nextPool; in OsMemBoxAdd()
99 nextPool = nextPool->nextMemBox; in OsMemBoxAdd()
/kernel/liteos_m/kernel/include/
Dlos_memory.h555 VOID *nextPool; member
/kernel/liteos_m/testsuites/sample/kernel/mem/
DIt_los_mem.h129 VOID *nextPool; member