Searched refs:ctx_buffer (Results 1 – 3 of 3) sorted by relevance
| /xnu-8019.80.24/libkern/os/ ! |
| H A D | log_encode.c | 81 assert(log_context_cursor(ctx) <= (ctx->ctx_buffer + ctx->ctx_buffer_sz)); in log_context_cursor_advance() 255 const size_t hdr_size = (uint8_t *)ctx->ctx_hdr - ctx->ctx_buffer; in log_expand() 258 (void) memcpy(buf, ctx->ctx_buffer, copy_size); in log_expand() 261 logmem_free_locked(ctx->ctx_logmem, ctx->ctx_buffer, ctx->ctx_buffer_sz); in log_expand() 264 ctx->ctx_buffer = buf; in log_expand() 267 ctx->ctx_hdr = (os_log_fmt_hdr_t)&ctx->ctx_buffer[hdr_size]; in log_expand() 525 const size_t hdr_size = write_address_location(ctx->ctx_buffer, dso, addr, ft_flags, driverKit); in os_log_encode_location() 526 ctx->ctx_hdr = (os_log_fmt_hdr_t)&ctx->ctx_buffer[hdr_size]; in os_log_encode_location() 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() [all …]
|
| H A D | log_encode_types.h | 115 uint8_t *ctx_buffer; member
|
| H A D | log.c | 476 _os_log_actual(type, fmt, dso, addr, ctx.ctx_buffer, ctx.ctx_content_sz, in _os_log_to_log_internal()
|