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()
149 void AllocatorProcStart(Processor *proc) { in AllocatorProcStart() argument
150 allocator()->InitCache(&proc->alloc_cache); in AllocatorProcStart()
151 internal_allocator()->InitCache(&proc->internal_alloc_cache); in AllocatorProcStart()
154 void AllocatorProcFinish(Processor *proc) { in AllocatorProcFinish() argument
155 allocator()->DestroyCache(&proc->alloc_cache); in AllocatorProcFinish()
156 internal_allocator()->DestroyCache(&proc->internal_alloc_cache); in AllocatorProcFinish()
195 void *p = allocator()->Allocate(&thr->proc()->alloc_cache, sz, align); in user_alloc_internal()
214 allocator()->Deallocate(&thr->proc()->alloc_cache, p); in user_free()
268 UNUSED uptr sz = ctx->metamap.FreeBlock(thr->proc(), p, false); in OnUserFree()
273 uptr sz = ctx->metamap.FreeBlock(thr->proc(), p, true); in OnUserFree()
386 return InternalAlloc(sz, &thr->proc()->internal_alloc_cache); in Alloc()
396 InternalFree(p, &thr->proc()->internal_alloc_cache); in FreeImpl()
438 allocator()->SwallowCache(&thr->proc()->alloc_cache); in __tsan_on_thread_idle()
439 internal_allocator()->SwallowCache(&thr->proc()->internal_alloc_cache); in __tsan_on_thread_idle()
440 ctx->metamap.OnProcIdle(thr->proc()); in __tsan_on_thread_idle()