• Home
  • Raw
  • Download

Lines Matching refs:os_

150     memory_threads_ = os_->num_cpus();  in CheckEnvironment()
156 size_mb_ = os_->FindFreeMemSize() / kMegabyte; in CheckEnvironment()
162 list<string> locations = os_->FindFileDevices(); in CheckEnvironment()
203 if (!os_->IsSupported()) { in CheckEnvironment()
222 bool result = os_->AllocateTestMem(size_, paddr_base_); in AllocateMemory()
264 pe->addr = os_->PrepareTestMem(pe->offset, page_length_); // Map it. in GetValid()
267 pe->ts = os_->GetTimestamp(); in GetValid()
277 os_->ReleaseTestMem(pe->addr, pe->offset, page_length_); // Unmap the page. in PutValid()
303 pe->addr = os_->PrepareTestMem(pe->offset, page_length_); // Map it. in GetEmpty()
311 os_->ReleaseTestMem(pe->addr, pe->offset, page_length_); // Unmap the page. in PutEmpty()
331 uint64 maxsize = os_->FindFreeMemSize() * 4; in AddrMapInit()
358 uint64 paddr = os_->VirtualToPhysical(base + i); in AddrMapUpdate()
467 thread->InitThread(i, this, os_, patternlist_, &fill_status); in InitializePages()
512 int64 paddr = os_->VirtualToPhysical(pe.addr); in InitializePages()
513 int32 region = os_->FindRegion(paddr); in InitializePages()
582 os_ = OsLayerFactory(options); in Initialize()
583 if (!os_) { in Initialize()
589 os_->SetMinimumHugepagesSize(min_hugepages_mbytes_ * kMegabyte); in Initialize()
592 os_->SetReserveSize(reserve_mb_); in Initialize()
599 os_->SetDramMappingParams(channel_hash_, channel_width_, &channels_); in Initialize()
602 if (!os_->Initialize()) { in Initialize()
605 delete os_; in Initialize()
614 os_->set_error_injection(true); in Initialize()
643 finelock_q_->set_os(os_); in Initialize()
644 os_->set_err_log_callback(finelock_q_->get_err_log_callback()); in Initialize()
741 os_ = 0; in Sat()
1193 thread->InitThread(total_threads_++, this, os_, patternlist_, in InitializeThreads()
1211 thread->InitThread(total_threads_++, this, os_, patternlist_, in InitializeThreads()
1216 cpu_set_t *cpuset = os_->FindCoreMask(region); in InitializeThreads()
1261 thread->InitThread(total_threads_++, this, os_, patternlist_, in InitializeThreads()
1278 thread->InitThread(total_threads_++, this, os_, patternlist_, in InitializeThreads()
1285 thread->InitThread(total_threads_++, this, os_, patternlist_, in InitializeThreads()
1298 thread->InitThread(total_threads_++, this, os_, patternlist_, in InitializeThreads()
1310 thread->InitThread(total_threads_++, this, os_, patternlist_, in InitializeThreads()
1324 thread->InitThread(total_threads_++, this, os_, patternlist_, in InitializeThreads()
1341 rthread->InitThread(total_threads_++, this, os_, patternlist_, in InitializeThreads()
1365 thread->InitThread(total_threads_++, this, os_, patternlist_, in InitializeThreads()
1451 thread->InitThread(total_threads_++, this, os_, patternlist_, in InitializeThreads()
1469 thread->InitThread(total_threads_++, this, os_, NULL, in InitializeThreads()
1528 thread->InitThread(total_threads_++, this, os_, patternlist_, in JoinThreads()
2002 if (os_) { in Cleanup()
2003 os_->FreeTestMem(); in Cleanup()
2004 delete os_; in Cleanup()
2005 os_ = 0; in Cleanup()