Lines Matching defs:Depot
190 RB->Depot->enable();
198 RB->Depot->disable();
307 NOINLINE u32 collectStackTrace(UNUSED StackDepot *Depot) {
315 return Depot->insert(Stack + Min<uptr>(DiscardFrames, Size), Stack + Size);
844 return RB ? reinterpret_cast<char *>(RB->Depot) : nullptr;
876 static void collectTraceMaybe(const StackDepot *Depot,
879 if (!Depot->find(Hash, &RingPos, &Size))
882 Trace[I] = static_cast<uintptr_t>(Depot->at(RingPos + I));
900 const StackDepot *Depot = nullptr;
904 if (DepotSize < sizeof(*Depot))
906 Depot = reinterpret_cast<const StackDepot *>(DepotPtr);
907 if (!Depot->isValid(DepotSize))
916 getInlineErrorInfo(ErrorInfo, NextErrorReport, FaultAddr, Depot,
922 getRingBufferErrorInfo(ErrorInfo, NextErrorReport, FaultAddr, Depot,
928 getInlineErrorInfo(ErrorInfo, NextErrorReport, FaultAddr, Depot,
985 StackDepot *Depot = nullptr;
1395 Ptr32[MemTagAllocationTraceIndex] = collectStackTrace(RB->Depot);
1431 u32 Trace = collectStackTrace(RB->Depot);
1452 u32 DeallocationTrace = collectStackTrace(RB->Depot);
1466 const StackDepot *Depot,
1531 if (Depot) {
1532 collectTraceMaybe(Depot, R->allocation_trace,
1551 const StackDepot *Depot,
1557 if (!RingBuffer || RingBufferElements == 0 || !Depot)
1616 collectTraceMaybe(Depot, R->allocation_trace, AllocationTrace);
1618 collectTraceMaybe(Depot, R->deallocation_trace, DeallocationTrace);
1683 auto *Depot = reinterpret_cast<StackDepot *>(DepotMap.getBase());
1684 Depot->init(RingSize, TabSize);
1695 RB->Depot = Depot;