Home
last modified time | relevance | path

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

/external/stressapptest/src/
Dos.cc113 sat_assert(CPU_SETSIZE >= num_cpus_); in Initialize()
322 sat_assert(region >= 0); in FindCoreMask()
494 sat_assert(length >= 0); in AllocateTestMem()
687 sat_assert((offset + length) <= testmemsize_); in PrepareTestMem()
705 sat_assert(0); in PrepareTestMem()
722 sat_assert(0); in ReleaseTestMem()
770 sat_assert((width == 32) || (width == 16) || (width == 8)); in PciRead()
771 sat_assert(offset <= (256 - size)); in PciRead()
785 sat_assert(&(datacast.l8) == reinterpret_cast<uint8*>(&datacast)); in PciRead()
788 sat_assert(&(datacast.l16) == reinterpret_cast<uint16*>(&datacast)); in PciRead()
[all …]
Ddisk_blocks.cc110 sat_assert(size_ > 0); in RemoveBlock()
111 sat_assert(last_it != addr_to_block_.end()); in RemoveBlock()
167 sat_assert(it != addr_to_block_.end()); in GetRandomBlock()
185 sat_assert(size_ == 0); in SetParameters()
205 sat_assert(device_sectors_ != 0); in GetUnusedBlock()
Dsat.cc332 sat_assert(maxsize != 0); in AddrMapInit()
339 sat_assert(bitmap); in AddrMapInit()
367 sat_assert(0); in AddrMapUpdate()
712 sat_assert(0 == pthread_mutex_init(&worker_lock_, NULL)); in Sat()
1217 sat_assert(cpuset); in InitializeThreads()
1405 sat_assert(cc_cacheline_data_ != NULL); in InitializeThreads()
1437 sat_assert(err_result == 0); in InitializeThreads()
1649 sat_assert(mem_it != workers_map_.end()); in MemoryStats()
1650 sat_assert(file_it != workers_map_.end()); in MemoryStats()
1677 sat_assert(file_it != workers_map_.end()); in FileStats()
[all …]
Dworker.h144 sat_assert(error == 0); in WaitOnPauseBarrier()
149 sat_assert(0 == pthread_mutex_lock(&num_workers_mutex_)); in AcquireNumWorkersLock()
153 sat_assert(0 == pthread_mutex_unlock(&num_workers_mutex_)); in ReleaseNumWorkersLock()
157 sat_assert(0 == pthread_rwlock_rdlock(&status_rwlock_)); in AcquireStatusReadLock()
161 sat_assert(0 == pthread_rwlock_wrlock(&status_rwlock_)); in AcquireStatusWriteLock()
165 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.cc130 sat_assert(0 == pthread_mutex_init(&num_workers_mutex_, NULL)); in Initialize()
131 sat_assert(0 == pthread_rwlock_init(&status_rwlock_, NULL)); in Initialize()
133 sat_assert(0 == pthread_barrier_init(&pause_barrier_, NULL, in Initialize()
139 sat_assert(0 == pthread_mutex_destroy(&num_workers_mutex_)); in Destroy()
140 sat_assert(0 == pthread_rwlock_destroy(&status_rwlock_)); in Destroy()
142 sat_assert(0 == pthread_barrier_destroy(&pause_barrier_)); in Destroy()
216 sat_assert(0 == pthread_barrier_destroy(&pause_barrier_)); in RemoveSelf()
217 sat_assert(0 == pthread_barrier_init(&pause_barrier_, NULL, num_workers_)); in RemoveSelf()
285 sat_assert(worker_status); in InitThread()
584 sat_assert(error->expected != error->actual); in ProcessError()
[all …]
Dsattypes.h83 #define sat_assert(x) \ macro