Lines Matching refs:ctx_hdr
41 #define log_context_cursor(ctx) &(ctx)->ctx_hdr->hdr_data[(ctx)->ctx_content_off]
93 return log_fits(ctx, sizeof(*ctx->ctx_hdr) + data_size); in log_fits_cmd()
185 ctx->ctx_hdr->hdr_cmd_cnt++; in log_add_range_arg()
201 ctx->ctx_hdr->hdr_cmd_cnt++; in log_add_arg()
212 os_log_fmt_hdr_t const hdr = ctx->ctx_hdr; in log_encode_public_data()
255 const size_t hdr_size = (uint8_t *)ctx->ctx_hdr - ctx->ctx_buffer; in log_expand()
256 const size_t copy_size = hdr_size + sizeof(*ctx->ctx_hdr) + ctx->ctx_content_sz; in log_expand()
266 ctx->ctx_content_sz = (uint16_t)(ctx->ctx_buffer_sz - hdr_size - sizeof(*ctx->ctx_hdr)); in log_expand()
267 ctx->ctx_hdr = (os_log_fmt_hdr_t)&ctx->ctx_buffer[hdr_size]; in log_expand()
284 ctx->ctx_hdr->hdr_flags |= OSLF_HDR_FLAG_HAS_PRIVATE; in log_encode_fmt_arg()
291 ctx->ctx_hdr->hdr_flags |= OSLF_HDR_FLAG_HAS_NON_SCALAR; in log_encode_fmt_arg()
526 ctx->ctx_hdr = (os_log_fmt_hdr_t)&ctx->ctx_buffer[hdr_size]; in os_log_encode_location()
527 ctx->ctx_content_sz = (uint16_t)(ctx->ctx_buffer_sz - hdr_size - sizeof(*ctx->ctx_hdr)); in os_log_encode_location()