reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

projects/compiler-rt/lib/xray/xray_buffer_queue.cpp
   30 BufferQueue::ControlBlock *allocControlBlock(size_t Size, size_t Count) {
   32       allocateBuffer((sizeof(BufferQueue::ControlBlock) - 1) + (Size * Count));
   37 void deallocControlBlock(BufferQueue::ControlBlock *C, size_t Size,
   40                    (sizeof(BufferQueue::ControlBlock) - 1) + (Size * Count));
   43 void decRefCount(BufferQueue::ControlBlock *C, size_t Size, size_t Count) {
   50 void incRefCount(BufferQueue::ControlBlock *C) {
   70 BufferQueue::ErrorCode BufferQueue::init(size_t BS, size_t BC) {
   74     return BufferQueue::ErrorCode::AlreadyInitialized;
   84     return BufferQueue::ErrorCode::NotEnoughMemory;
   96     return BufferQueue::ErrorCode::NotEnoughMemory;
  107     return BufferQueue::ErrorCode::NotEnoughMemory;
  142   return BufferQueue::ErrorCode::Ok;
  158   Success = init(B, N) == BufferQueue::ErrorCode::Ok;
  161 BufferQueue::ErrorCode BufferQueue::getBuffer(Buffer &Buf) {
  184 BufferQueue::ErrorCode BufferQueue::releaseBuffer(Buffer &Buf) {
  194       return BufferQueue::ErrorCode::Ok;
  199       return BufferQueue::ErrorCode::UnrecognizedBuffer;
  218 BufferQueue::ErrorCode BufferQueue::finalize() {
projects/compiler-rt/lib/xray/xray_fdr_controller.h
   26   BufferQueue *BQ;
   27   BufferQueue::Buffer &B;
   56     if (BQ->getBuffer(B) != BufferQueue::ErrorCode::Ok)
  142     return BQ->releaseBuffer(B) == BufferQueue::ErrorCode::Ok;
  236   FDRController(BufferQueue *BQ, BufferQueue::Buffer &B, FDRLogWriter &W,
  236   FDRController(BufferQueue *BQ, BufferQueue::Buffer &B, FDRLogWriter &W,
projects/compiler-rt/lib/xray/xray_fdr_log_writer.h
   78   BufferQueue::Buffer &Buffer;
   92   explicit FDRLogWriter(BufferQueue::Buffer &B, char *P)
   98   explicit FDRLogWriter(BufferQueue::Buffer &B)
projects/compiler-rt/lib/xray/xray_fdr_logging.cpp
   54   BufferQueue::Buffer Buffer{};
   55   BufferQueue *BQ = nullptr;
   80 static std::aligned_storage<sizeof(BufferQueue)>::type BufferQueueStorage;
   81 static BufferQueue *BQ = nullptr;
  222   static BufferQueue::const_iterator It{};
  223   static BufferQueue::const_iterator End{};
  468         TLD.BQ->releaseBuffer(TLD.Buffer) != BufferQueue::ErrorCode::Ok)
  472     if (TLD.BQ->getBuffer(TLD.Buffer) != BufferQueue::ErrorCode::Ok)
  667     new (BQ) BufferQueue(BufferSize, BufferMax, Success);
  673     if (BQ->init(BufferSize, BufferMax) != BufferQueue::ErrorCode::Ok) {
  697               if (EC != BufferQueue::ErrorCode::Ok)
  700                        TLD.Buffer.Data, BufferQueue::getErrorString(EC));
projects/compiler-rt/lib/xray/xray_function_call_trie.h
  165       BufferQueue::Buffer NodeBuffer;
  166       BufferQueue::Buffer RootsBuffer;
  167       BufferQueue::Buffer ShadowStackBuffer;
  168       BufferQueue::Buffer NodeIdPairBuffer;
projects/compiler-rt/lib/xray/xray_profile_collector.cpp
   60   BufferQueue *BQ;
   75     sizeof(BufferQueue), alignof(BufferQueue)>::type BufferQueueStorage;
   75     sizeof(BufferQueue), alignof(BufferQueue)>::type BufferQueueStorage;
   76 static BufferQueue *BQ = nullptr;
   77 static BufferQueue::Buffer Buffer;
  108 void post(BufferQueue *Q, FunctionCallTrie &&T,
  344         BufferQueue(profilingFlags()->global_allocator_max, 1, Success);
  352         BufferQueue::ErrorCode::Ok)
  356   if (BQ->getBuffer(Buffer) != BufferQueue::ErrorCode::Ok)
projects/compiler-rt/lib/xray/xray_profile_collector.h
   39 void post(BufferQueue *Q, FunctionCallTrie &&T,
projects/compiler-rt/lib/xray/xray_profiling.cpp
   51 static std::aligned_storage<sizeof(BufferQueue), alignof(BufferQueue)>::type
   51 static std::aligned_storage<sizeof(BufferQueue), alignof(BufferQueue)>::type
   53 static BufferQueue *BQ = nullptr;
  101     if (BQ->getBuffer(ThreadBuffers.NodeBuffer) != BufferQueue::ErrorCode::Ok)
  108     if (BQ->getBuffer(ThreadBuffers.RootsBuffer) != BufferQueue::ErrorCode::Ok)
  116         BufferQueue::ErrorCode::Ok)
  124         BufferQueue::ErrorCode::Ok)
  394         BufferQueue(profilingFlags()->per_thread_allocator_max,
  412     if (InitStatus != BufferQueue::ErrorCode::Ok) {
  415                BufferQueue::getErrorString(InitStatus));