Searched refs:SM_SIZE (Results 1 - 3 of 3) sorted by relevance

/external/valgrind/main/memcheck/
H A Dmc_include.h226 #define SM_SIZE 65536 /* DO NOT CHANGE */ macro
227 #define SM_MASK (SM_SIZE-1) /* DO NOT CHANGE */
H A Dmc_leakcheck.c739 ptr = VG_ROUNDUP(ptr+1, SM_SIZE);
748 VKI_PAGE_SIZE, SM_SIZE and sizeof(Addr) which are asserted in
755 if (UNLIKELY((ptr % SM_SIZE) == 0)) {
757 ptr = VG_ROUNDUP(ptr+1, SM_SIZE);
1336 tl_assert((SM_SIZE % sizeof(Addr)) == 0);
1341 tl_assert((SM_SIZE % VKI_PAGE_SIZE) == 0);
H A Dmc_main.c1434 aNext = start_of_this_sm(a) + SM_SIZE;
1515 // Nb: we can reach here with lenB < SM_SIZE
1518 if (lenB < SM_SIZE) break;
1532 lenB -= SM_SIZE;
1533 a += SM_SIZE;
1544 tl_assert(is_start_of_sm(a) && lenB < SM_SIZE);

Completed in 97 milliseconds