Home
last modified time | relevance | path

Searched refs:preSentinel (Results 1 – 2 of 2) sorted by relevance

/kernel/liteos_a/kernel/base/mem/tlsf/
Dlos_memory.c347 struct OsMemNodeHead *preSentinel = NULL; in TryShrinkPool() local
355 preSentinel = PreSentinelNodeGet(pool, node); in TryShrinkPool()
356 if (preSentinel == NULL) { in TryShrinkPool()
362 preSentinel->ptr.next = NULL; in TryShrinkPool()
363 OsMemSentinelNodeSet(preSentinel, NULL, 0); in TryShrinkPool()
365 preSentinel->sizeAndFlag = mySentinel->sizeAndFlag; in TryShrinkPool()
366 preSentinel->ptr.next = mySentinel->ptr.next; in TryShrinkPool()
/kernel/liteos_m/kernel/src/mm/
Dlos_memory.c417 struct OsMemNodeHead *preSentinel = NULL; local
425 preSentinel = PreSentinelNodeGet(pool, node);
426 if (preSentinel == NULL) {
432 preSentinel->ptr.next = NULL;
433 OsMemSentinelNodeSet(preSentinel, NULL, 0);
435 preSentinel->sizeAndFlag = mySentinel->sizeAndFlag;
436 preSentinel->ptr.next = mySentinel->ptr.next;