Lines Matching refs:start
78 int CacheFlush(uintptr_t start, uintptr_t limit) { in CacheFlush() argument
81 int r = cacheflush(start, limit, kCacheFlushFlags); in CacheFlush()
88 bool TouchAndFlushCacheLinesWithinPage(uintptr_t start, uintptr_t limit, size_t attempts) { in TouchAndFlushCacheLinesWithinPage() argument
89 CHECK_LT(start, limit); in TouchAndFlushCacheLinesWithinPage()
90 CHECK_EQ(RoundDown(start, kPageSize), RoundDown(limit - 1, kPageSize)) << "range spans pages"; in TouchAndFlushCacheLinesWithinPage()
95 v = *reinterpret_cast<uint8_t*>(start); in TouchAndFlushCacheLinesWithinPage()
97 if (LIKELY(CacheFlush(start, limit) == 0)) { in TouchAndFlushCacheLinesWithinPage()
129 uintptr_t start = reinterpret_cast<uintptr_t>(begin); in FlushCpuCaches() local
131 if (LIKELY(CacheFlush(start, limit) == 0)) { in FlushCpuCaches()
138 uintptr_t next_page = RoundUp(start + 1, kPageSize); in FlushCpuCaches()
139 while (start < limit) { in FlushCpuCaches()
141 if (!TouchAndFlushCacheLinesWithinPage(start, boundary, kMaxFlushAttempts)) { in FlushCpuCaches()
144 start = boundary; in FlushCpuCaches()
245 const char* start = p; in Split() local
249 result->push_back(std::string(start, p - start)); in Split()