Lines Matching refs:proc
71 Processor *proc; member
73 GlobalProc() : mtx(MutexTypeGlobalProc), proc(ProcCreate()) {} in GlobalProc()
84 if (thr->proc()) in ScopedGlobalProcessor()
101 ProcWire(gp->proc, thr); in ScopedGlobalProcessor()
107 if (thr->proc() != gp->proc) in ~ScopedGlobalProcessor()
109 ProcUnwire(gp->proc, thr); in ~ScopedGlobalProcessor()
129 void AllocatorProcStart(Processor *proc) { in AllocatorProcStart() argument
130 allocator()->InitCache(&proc->alloc_cache); in AllocatorProcStart()
131 internal_allocator()->InitCache(&proc->internal_alloc_cache); in AllocatorProcStart()
134 void AllocatorProcFinish(Processor *proc) { in AllocatorProcFinish() argument
135 allocator()->DestroyCache(&proc->alloc_cache); in AllocatorProcFinish()
136 internal_allocator()->DestroyCache(&proc->internal_alloc_cache); in AllocatorProcFinish()
169 void *p = allocator()->Allocate(&thr->proc()->alloc_cache, sz, align); in user_alloc_internal()
188 allocator()->Deallocate(&thr->proc()->alloc_cache, p); in user_free()
231 uptr sz = ctx->metamap.FreeBlock(thr->proc(), p); in OnUserFree()
345 return InternalAlloc(sz, &thr->proc()->internal_alloc_cache); in internal_alloc()
354 InternalFree(p, &thr->proc()->internal_alloc_cache); in internal_free()
396 thr->clock.ResetCached(&thr->proc()->clock_cache); in __tsan_on_thread_idle()
397 thr->last_sleep_clock.ResetCached(&thr->proc()->clock_cache); in __tsan_on_thread_idle()
398 allocator()->SwallowCache(&thr->proc()->alloc_cache); in __tsan_on_thread_idle()
399 internal_allocator()->SwallowCache(&thr->proc()->internal_alloc_cache); in __tsan_on_thread_idle()
400 ctx->metamap.OnProcIdle(thr->proc()); in __tsan_on_thread_idle()