Home
last modified time | relevance | path

Searched refs:sat_assert (Results 1 – 7 of 7) sorted by relevance

/external/stressapptest/src/
Dos.cc102 sat_assert(CPU_SETSIZE >= num_cpus_); in Initialize()
271 sat_assert(region >= 0); in FindCoreMask()
416 sat_assert(length >= 0); in AllocateTestMem()
593 sat_assert((offset + length) <= testmemsize_); in PrepareTestMem()
611 sat_assert(0); in PrepareTestMem()
628 sat_assert(0); in ReleaseTestMem()
676 sat_assert((width == 32) || (width == 16) || (width == 8)); in PciRead()
677 sat_assert(offset <= (256 - size)); in PciRead()
691 sat_assert(&(datacast.l8) == reinterpret_cast<uint8*>(&datacast)); in PciRead()
694 sat_assert(&(datacast.l16) == reinterpret_cast<uint16*>(&datacast)); in PciRead()
[all …]
Dsat.cc312 sat_assert(maxsize != 0); in AddrMapInit()
319 sat_assert(bitmap); in AddrMapInit()
347 sat_assert(0); in AddrMapUpdate()
675 sat_assert(0 == pthread_mutex_init(&worker_lock_, NULL)); in Sat()
1083 sat_assert(cpuset); in InitializeThreads()
1271 sat_assert(cc_cacheline_data_ != NULL); in InitializeThreads()
1290 sat_assert(err_result == 0); in InitializeThreads()
1473 sat_assert(mem_it != workers_map_.end()); in MemoryStats()
1474 sat_assert(file_it != workers_map_.end()); in MemoryStats()
1501 sat_assert(file_it != workers_map_.end()); in FileStats()
[all …]
Ddisk_blocks.cc98 sat_assert(nelems_ > 0); in RemoveBlock()
99 sat_assert(last_it != addr_to_block_.end()); in RemoveBlock()
155 sat_assert(it != addr_to_block_.end()); in GetRandomBlock()
196 sat_assert(device_sectors_ != 0); in GetUnusedBlock()
Dworker.h146 sat_assert(error == 0); in WaitOnPauseBarrier()
151 sat_assert(0 == pthread_mutex_lock(&num_workers_mutex_)); in AcquireNumWorkersLock()
155 sat_assert(0 == pthread_mutex_unlock(&num_workers_mutex_)); in ReleaseNumWorkersLock()
159 sat_assert(0 == pthread_rwlock_rdlock(&status_rwlock_)); in AcquireStatusReadLock()
163 sat_assert(0 == pthread_rwlock_wrlock(&status_rwlock_)); in AcquireStatusWriteLock()
167 sat_assert(0 == pthread_rwlock_unlock(&status_rwlock_)); in ReleaseStatusLock()
Dfinelock_queue.cc55 sat_assert(pthread_mutex_lock(&(pagelocks_[i])) == 0); in FineLockPEQueue()
226 sat_assert(g_os); in ErrorLogCallback()
315 sat_assert(0); in GetRandom64()
Dworker.cc145 sat_assert(0 == pthread_mutex_init(&num_workers_mutex_, NULL)); in Initialize()
146 sat_assert(0 == pthread_rwlock_init(&status_rwlock_, NULL)); in Initialize()
148 sat_assert(0 == pthread_barrier_init(&pause_barrier_, NULL, in Initialize()
154 sat_assert(0 == pthread_mutex_destroy(&num_workers_mutex_)); in Destroy()
155 sat_assert(0 == pthread_rwlock_destroy(&status_rwlock_)); in Destroy()
157 sat_assert(0 == pthread_barrier_destroy(&pause_barrier_)); in Destroy()
224 sat_assert(0 == pthread_barrier_destroy(&pause_barrier_)); in RemoveSelf()
225 sat_assert(0 == pthread_barrier_init(&pause_barrier_, NULL, num_workers_)); in RemoveSelf()
293 sat_assert(worker_status); in InitThread()
592 sat_assert(error->expected != error->actual); in ProcessError()
[all …]
Dsattypes.h80 #define sat_assert(x) \ macro