Searched refs:log_context_cursor (Results 1 – 1 of 1) sorted by relevance
41 #define log_context_cursor(ctx) &(ctx)->ctx_hdr->hdr_data[(ctx)->ctx_content_off] macro81 assert(log_context_cursor(ctx) <= (ctx->ctx_buffer + ctx->ctx_buffer_sz)); in log_context_cursor_advance()124 cmd = (os_log_fmt_cmd_t)log_context_cursor(ctx); in log_add_cmd()149 (void) memcpy(log_context_cursor(ctx), arg, range->length); in log_add_range_data()577 size_t space_needed = log_context_cursor(ctx) + ctx->ctx_pubdata_sz - ctx->ctx_buffer; in os_log_context_encode()588 ctx->ctx_content_sz = (uint16_t)(log_context_cursor(ctx) - ctx->ctx_buffer); in os_log_context_encode()