Lines Matching refs:proc
59 Processor *proc; member
69 proc(ProcCreate()), in GlobalProc()
86 if (thr->proc()) in ScopedGlobalProcessor()
103 ProcWire(gp->proc, thr); in ScopedGlobalProcessor()
109 if (thr->proc() != gp->proc) in ~ScopedGlobalProcessor()
111 ProcUnwire(gp->proc, thr); in ~ScopedGlobalProcessor()
143 void AllocatorProcStart(Processor *proc) { in AllocatorProcStart() argument
144 allocator()->InitCache(&proc->alloc_cache); in AllocatorProcStart()
145 internal_allocator()->InitCache(&proc->internal_alloc_cache); in AllocatorProcStart()
148 void AllocatorProcFinish(Processor *proc) { in AllocatorProcFinish() argument
149 allocator()->DestroyCache(&proc->alloc_cache); in AllocatorProcFinish()
150 internal_allocator()->DestroyCache(&proc->internal_alloc_cache); in AllocatorProcFinish()
189 void *p = allocator()->Allocate(&thr->proc()->alloc_cache, sz, align); in user_alloc_internal()
208 allocator()->Deallocate(&thr->proc()->alloc_cache, p); in user_free()
251 uptr sz = ctx->metamap.FreeBlock(thr->proc(), p); in OnUserFree()
364 return InternalAlloc(sz, &thr->proc()->internal_alloc_cache); in Alloc()
374 InternalFree(p, &thr->proc()->internal_alloc_cache); in FreeImpl()
416 thr->clock.ResetCached(&thr->proc()->clock_cache); in __tsan_on_thread_idle()
417 thr->last_sleep_clock.ResetCached(&thr->proc()->clock_cache); in __tsan_on_thread_idle()
418 allocator()->SwallowCache(&thr->proc()->alloc_cache); in __tsan_on_thread_idle()
419 internal_allocator()->SwallowCache(&thr->proc()->internal_alloc_cache); in __tsan_on_thread_idle()
420 ctx->metamap.OnProcIdle(thr->proc()); in __tsan_on_thread_idle()