Home
last modified time | relevance | path

Searched refs:endAddr (Results 1 – 8 of 8) sorted by relevance

/kernel/liteos_a/kernel/extended/lms/
Dlos_lms.c228 VOID OsLmsSetShadowValue(LmsMemListNode *node, UINTPTR startAddr, UINTPTR endAddr, UINT8 value) in OsLmsSetShadowValue() argument
240 OsLmsMem2Shadow(node, endAddr - 1, &shadowEnd, &endOffset)) { in OsLmsSetShadowValue()
291 VOID OsLmsSimpleMark(UINTPTR startAddr, UINTPTR endAddr, UINT32 value) in OsLmsSimpleMark() argument
294 if (endAddr <= startAddr) { in OsLmsSimpleMark()
295 …PRINT_DEBUG("[LMS]mark 0x%x, 0x%x, 0x%x\n", startAddr, endAddr, (UINTPTR)__builtin_return_address(… in OsLmsSimpleMark()
299 if (!IS_ALIGNED(startAddr, OS_MEM_ALIGN_SIZE) || !IS_ALIGNED(endAddr, OS_MEM_ALIGN_SIZE)) { in OsLmsSimpleMark()
300 PRINT_ERR("[LMS]mark addr is not aligned! 0x%x, 0x%x\n", startAddr, endAddr); in OsLmsSimpleMark()
312 OsLmsSetShadowValue(node, startAddr, endAddr, value); in OsLmsSimpleMark()
Dlos_lms_pri.h101 VOID (*simpleMark)(UINTPTR startAddr, UINTPTR endAddr, UINT32 value);
109 VOID OsLmsSimpleMark(UINTPTR startAddr, UINTPTR endAddr, UINT32 value);
/kernel/liteos_m/components/lms/
Dlos_lms.c241 VOID OsLmsSetShadowValue(LmsMemListNode *node, UINTPTR startAddr, UINTPTR endAddr, UINT8 value) in OsLmsSetShadowValue() argument
253 OsLmsMem2Shadow(node, endAddr - 1, &shadowEnd, &endOffset)) { in OsLmsSetShadowValue()
304 VOID OsLmsSimpleMark(UINTPTR startAddr, UINTPTR endAddr, UINT32 value) in OsLmsSimpleMark() argument
307 if (endAddr <= startAddr) { in OsLmsSimpleMark()
308 …PRINT_DEBUG("[LMS]mark 0x%x, 0x%x, 0x%x\n", startAddr, endAddr, (UINTPTR)__builtin_return_address(… in OsLmsSimpleMark()
312 if (!IS_ALIGNED(startAddr, OS_MEM_ALIGN_SIZE) || !IS_ALIGNED(endAddr, OS_MEM_ALIGN_SIZE)) { in OsLmsSimpleMark()
313 PRINT_ERR("[LMS]mark addr is not aligned! 0x%x, 0x%x\n", startAddr, endAddr); in OsLmsSimpleMark()
325 OsLmsSetShadowValue(node, startAddr, endAddr, value); in OsLmsSimpleMark()
Dlos_lms_pri.h101 VOID (*simpleMark)(UINTPTR startAddr, UINTPTR endAddr, UINT32 value);
110 VOID OsLmsSimpleMark(UINTPTR startAddr, UINTPTR endAddr, UINT32 value);
/kernel/liteos_a/kernel/extended/lms/usr/
Dlos_lms_pri.h120 void LmsSetShadowValue(uintptr_t startAddr, uintptr_t endAddr, char value);
Dlos_lms.c120 ATTRIBUTE_NO_SANITIZE_ADDRESS void LmsSetShadowValue(uintptr_t startAddr, uintptr_t endAddr, char v… in LmsSetShadowValue() argument
132 LmsMem2Shadow(endAddr - 1, &shadowEnd, &endOffset); in LmsSetShadowValue()
/kernel/liteos_a/kernel/base/mem/tlsf/
Dlos_memory.c212 #define OS_MEM_MIDDLE_ADDR_OPEN_END(startAddr, middleAddr, endAddr) \ argument
213 … (((UINT8 *)(startAddr) <= (UINT8 *)(middleAddr)) && ((UINT8 *)(middleAddr) < (UINT8 *)(endAddr)))
214 #define OS_MEM_MIDDLE_ADDR(startAddr, middleAddr, endAddr) \ argument
215 … (((UINT8 *)(startAddr) <= (UINT8 *)(middleAddr)) && ((UINT8 *)(middleAddr) <= (UINT8 *)(endAddr)))
/kernel/liteos_m/kernel/src/mm/
Dlos_memory.c208 #define OS_MEM_MIDDLE_ADDR_OPEN_END(startAddr, middleAddr, endAddr) \ argument
209 … (((UINT8 *)(startAddr) <= (UINT8 *)(middleAddr)) && ((UINT8 *)(middleAddr) < (UINT8 *)(endAddr)))
210 #define OS_MEM_MIDDLE_ADDR(startAddr, middleAddr, endAddr) \ argument
211 … (((UINT8 *)(startAddr) <= (UINT8 *)(middleAddr)) && ((UINT8 *)(middleAddr) <= (UINT8 *)(endAddr)))