Searched refs:ctx_buffer (Results 1 – 3 of 3) sorted by relevance
80 assert(log_context_cursor(ctx) <= (ctx->ctx_buffer + ctx->ctx_buffer_sz)); in log_context_cursor_advance()254 const size_t hdr_size = (uint8_t *)ctx->ctx_hdr - ctx->ctx_buffer; in log_expand()257 (void) memcpy(buf, ctx->ctx_buffer, copy_size); in log_expand()260 logmem_free_locked(ctx->ctx_logmem, ctx->ctx_buffer, ctx->ctx_buffer_sz); in log_expand()263 ctx->ctx_buffer = buf; in log_expand()266 ctx->ctx_hdr = (os_log_fmt_hdr_t)&ctx->ctx_buffer[hdr_size]; in log_expand()519 ctx->ctx_hdr = (os_log_fmt_hdr_t)&ctx->ctx_buffer[hdr_size]; in os_log_context_prepare_header()535 .tp_buf = ctx->ctx_buffer, in os_log_context_encode()581 size_t space_needed = log_context_cursor(ctx) + ctx->ctx_pubdata_sz - ctx->ctx_buffer; in os_log_context_encode()592 ctx->ctx_content_sz = (uint16_t)(log_context_cursor(ctx) - ctx->ctx_buffer); in os_log_context_encode()[all …]
116 uint8_t *ctx_buffer; member
760 if (!log_queue_log(&log, ctx.ctx_buffer, true)) { in _os_log_to_log_internal()