Lines Matching refs:kd_buf
334 #define KD_EARLY_EVENT_COUNT (KD_EARLY_BUFFER_SIZE / sizeof(kd_buf))
337 static kd_buf kd_early_buffer[KD_EARLY_EVENT_COUNT];
341 extern kd_buf kd_early_buffer[KD_EARLY_EVENT_COUNT];
354 #define TRACE_KDCOPYBUF_SIZE (TRACE_KDCOPYBUF_COUNT * sizeof(kd_buf))
717 static kd_buf *
763 kd_buf *kd = &store->kds_records[store_index]; in _next_timestamped_coproc_record()
783 kd_buf *kd = _next_timestamped_coproc_record(cpu, timestamp); in _write_trace_record_coproc_nopreempt()
796 static kd_buf *
820 kd_buf *kd = &store->kds_records[store_index]; in _next_timestamped_record()
861 kd_buf *kd = _next_timestamped_record(cpu); in _write_trace_record()
2179 sizeof(kd_buf); in kdbg_set_nkdbufs_trace()
2389 _event_should_disable(kd_buf *event) in _event_should_disable()
2477 kd_buf *tempbuf = kd_buffer_trace.kdcopybuf; in _read_trace_events_internal()
2528 tempbuf[used_count++] = (kd_buf){ in _read_trace_events_internal()
2546 tempbuf[used_count++] = (kd_buf){ in _read_trace_events_internal()
2556 kd_buf *earliest_event = &min_store->kds_records[min_store->kds_readlast]; in _read_trace_events_internal()
2567 tempbuf[used_count++] = (kd_buf){ in _read_trace_events_internal()
2599 tempbuf[used_count] = (kd_buf){ in _read_trace_events_internal()
2755 .length = event_count * sizeof(kd_buf), in _send_event_chunk_header()
2770 return _send_data(dest, src, event_count * sizeof(kd_buf)); in _send_events()
2970 size_t event_count = *sizep / sizeof(kd_buf); in _kd_sysctl_internal()
3503 kd_buf end_event = { in kdbg_dump_trace_to_file()
3512 (void)_send_data_vfs(&file_dest, &end_event, sizeof(kd_buf)); in kdbg_dump_trace_to_file()