Searched refs:startNode (Results 1 – 2 of 2) sorted by relevance
/kernel/liteos_a/kernel/base/mem/tlsf/ |
D | los_memory.c | 1167 …LINE BOOL OsMemIsNodeValid(const struct OsMemNodeHead *node, const struct OsMemNodeHead *startNode, in OsMemIsNodeValid() argument 1171 if (!OS_MEM_MIDDLE_ADDR(startNode, node, endNode)) { in OsMemIsNodeValid() 1190 … const struct OsMemNodeHead *startNode, const struct OsMemNodeHead *endNode) in MemCheckUsedNode() argument 1192 if (!OsMemIsNodeValid(node, startNode, endNode, pool)) { in MemCheckUsedNode() 1201 if (!OsMemIsNodeValid(nextNode, startNode, endNode, pool)) { in MemCheckUsedNode() 1211 if ((node != startNode) && in MemCheckUsedNode() 1212 ((!OsMemIsNodeValid(node->ptr.prev, startNode, endNode, pool)) || in MemCheckUsedNode() 1222 struct OsMemNodeHead *startNode = (struct OsMemNodeHead *)OS_MEM_FIRST_NODE(pool); in OsMemCheckUsedNode() local 1227 doneFlag = MemCheckUsedNode(pool, node, startNode, endNode); in OsMemCheckUsedNode() 1231 startNode = OsMemSentinelNodeGet(endNode); in OsMemCheckUsedNode() [all …]
|
/kernel/liteos_m/kernel/src/mm/ |
D | los_memory.c | 1200 …LINE BOOL OsMemIsNodeValid(const struct OsMemNodeHead *node, const struct OsMemNodeHead *startNode, argument 1204 if (!OS_MEM_MIDDLE_ADDR(startNode, node, endNode)) { 1224 struct OsMemNodeHead *startNode = (struct OsMemNodeHead *)OS_MEM_FIRST_NODE(pool); local 1235 if (!OsMemIsNodeValid(node, startNode, endNode, pool)) { 1244 if (!OsMemIsNodeValid(nextNode, startNode, endNode, pool)) { 1254 if ((node != startNode) && 1255 ((!OsMemIsNodeValid(node->ptr.prev, startNode, endNode, pool)) || 1265 startNode = OsMemSentinelNodeGet(endNode); 1266 endNode = OS_MEM_END_NODE(startNode, OS_MEM_NODE_GET_SIZE(endNode->sizeAndFlag));
|