Lines Matching refs:buffer
26 // to the trace buffer during shutdown. See point of use for details.
82 // count: buffer acquisitions and prolonged acquisitions. Buffer acquisitions
83 // are for the purpose of writing to the trace buffer. Prolonged acquisitions
94 // |31 ... 8| = buffer acquisition count
97 // assert-fail if there are more. This allows for 2^24 buffer acquisitions
170 void* buffer,
174 ZX_DEBUG_ASSERT(buffer);
185 // The buffer size must be a multiple of 4096 (simplifies buffer size
223 g_context = new trace_context(buffer, buffer_num_bytes, buffering_mode, handler);
301 // This is called by the handler after it has saved a buffer.
315 // The concern is that we want to update buffer state ASAP to reduce the
316 // window where records might be dropped because the buffer is full.
353 // Update final buffer state.
393 // into the trace buffer so allow a brief timeout. If the release event
410 "TraceEngine: Timed out waiting for %u buffer, %u prolonged trace context\n"
461 // Fail fast: Check whether we could possibly write into the trace buffer.
462 // The count must be at least 1 to indicate that the buffer is initialized.
470 // This also acts as a fence for future access to buffer state variables.
505 // Note the RELEASE fence here since the trace context and trace buffer
525 // This also acts as a fence for future access to buffer state variables.
547 // Note the RELEASE fence here since the trace context and trace buffer