Searched refs:sentinelNode (Results 1 – 2 of 2) sorted by relevance
250 …TIC INLINE struct OsMemNodeHead *OsMemLastSentinelNodeGet(const struct OsMemNodeHead *sentinelNode) in OsMemLastSentinelNodeGet() argument253 VOID *ptr = sentinelNode->ptr.next; in OsMemLastSentinelNodeGet()254 UINT32 size = OS_MEM_NODE_GET_SIZE(sentinelNode->sizeAndFlag); in OsMemLastSentinelNodeGet()265 STATIC INLINE BOOL OsMemSentinelNodeCheck(struct OsMemNodeHead *sentinelNode) in OsMemSentinelNodeCheck() argument267 if (!OS_MEM_NODE_GET_USED_FLAG(sentinelNode->sizeAndFlag)) { in OsMemSentinelNodeCheck()271 if (!OS_MEM_MAGIC_VALID(sentinelNode)) { in OsMemSentinelNodeCheck()278 STATIC INLINE BOOL OsMemIsLastSentinelNode(struct OsMemNodeHead *sentinelNode) in OsMemIsLastSentinelNode() argument280 if (OsMemSentinelNodeCheck(sentinelNode) == FALSE) { in OsMemIsLastSentinelNode()285 if ((OS_MEM_NODE_GET_SIZE(sentinelNode->sizeAndFlag) == 0) || in OsMemIsLastSentinelNode()286 (sentinelNode->ptr.next == NULL)) { in OsMemIsLastSentinelNode()[all …]
327 …TIC INLINE struct OsMemNodeHead *OsMemLastSentinelNodeGet(const struct OsMemNodeHead *sentinelNode) argument330 VOID *ptr = sentinelNode->ptr.next;331 UINT32 size = OS_MEM_NODE_GET_SIZE(sentinelNode->sizeAndFlag);342 STATIC INLINE BOOL OsMemSentinelNodeCheck(struct OsMemNodeHead *sentinelNode) argument344 if (!OS_MEM_NODE_GET_USED_FLAG(sentinelNode->sizeAndFlag)) {348 if (!OS_MEM_MAGIC_VALID(sentinelNode)) {355 STATIC INLINE BOOL OsMemIsLastSentinelNode(struct OsMemNodeHead *sentinelNode) argument357 if (OsMemSentinelNodeCheck(sentinelNode) == FALSE) {362 if ((OS_MEM_NODE_GET_SIZE(sentinelNode->sizeAndFlag) == 0) ||363 (sentinelNode->ptr.next == NULL)) {[all …]