Home
last modified time | relevance | path

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

/kernel/liteos_a/kernel/base/mem/tlsf/
Dlos_memory.c346 struct OsMemNodeHead *mySentinel = NULL; in TryShrinkPool() local
360 mySentinel = node->ptr.prev; in TryShrinkPool()
361 if (OsMemIsLastSentinelNode(mySentinel)) { /* prev node becomes sentinel node */ 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.c416 struct OsMemNodeHead *mySentinel = NULL; local
430 mySentinel = node->ptr.prev;
431 if (OsMemIsLastSentinelNode(mySentinel)) { /* prev node becomes sentinel node */
435 preSentinel->sizeAndFlag = mySentinel->sizeAndFlag;
436 preSentinel->ptr.next = mySentinel->ptr.next;