dlog
static void drm_log_init_client(struct drm_log *dlog)
struct drm_client_dev *client = &dlog->client;
dlog->probed = true;
dlog->scanout = kzalloc_objs(*dlog->scanout, max_modeset);
if (!dlog->scanout)
if (drm_log_setup_modeset(client, mode_set, &dlog->scanout[n_modeset]))
dlog->n_scanout = n_modeset;
drm_client_buffer_delete(dlog->scanout[i].buffer);
kfree(dlog->scanout);
dlog->scanout = NULL;
struct drm_log *dlog = client_to_drm_log(client);
if (dlog->n_scanout) {
for (i = 0; i < dlog->n_scanout; i++)
drm_client_buffer_delete(dlog->scanout[i].buffer);
dlog->n_scanout = 0;
kfree(dlog->scanout);
dlog->scanout = NULL;
struct drm_log *dlog = client_to_drm_log(client);
kfree(dlog);
struct drm_log *dlog = client_to_drm_log(client);
unregister_console(&dlog->con);
mutex_lock(&dlog->lock);
mutex_unlock(&dlog->lock);
struct drm_log *dlog = client_to_drm_log(client);
mutex_lock(&dlog->lock);
dlog->probed = false;
mutex_unlock(&dlog->lock);
struct drm_log *dlog = client_to_drm_log(client);
console_suspend(&dlog->con);
struct drm_log *dlog = client_to_drm_log(client);
console_resume(&dlog->con);
struct drm_log *dlog = console_to_drm_log(con);
if (!dlog->probed)
drm_log_init_client(dlog);
if (drm_master_internal_acquire(dlog->client.dev)) {
drm_master_internal_release(dlog->client.dev);
for (i = 0; i < dlog->n_scanout; i++)
drm_log_draw_kmsg_record(&dlog->scanout[i], wctxt->outbuf, wctxt->len);
struct drm_log *dlog = console_to_drm_log(con);
mutex_lock(&dlog->lock);
struct drm_log *dlog = console_to_drm_log(con);
mutex_unlock(&dlog->lock);
dlog(ms, "error err/exc/fc/cl=%.8x",
dlog(ms, "msgin msg=%.8x",
dlog(ms, "halt_dma fc/count=%.6x",
dlog(ms, "data_ptr %x", ms->data_ptr);
dlog(ms, "phasemm ch/cl/seq/fc=%.8x",
dlog(ms, "cmd_complete fc=%x", mr->fifo_count);
dlog(ms, "last_mbyte err/exc/fc/cl=%.8x",
dlog(ms, "Selecting phase at command completion",0);
dlog(ms, "impatient for req", ms->n_msgout);
dlog(ms, "interrupt intr/err/exc/seq=%.8x",
dlog(ms, "start cmd=%x", (int) cmd);
dlog(ms, "about to arb, intr/exc/err/fc=%.8x",
dlog(ms, "busy b4 arb, intr/exc/err/fc=%.8x",
dlog(ms, "intr b4 arb, intr/exc/err/fc=%.8x",
dlog(ms, "intr after disresel, intr/exc/err/fc=%.8x",
dlog(ms, "after intr after disresel, intr/exc/err/fc=%.8x",
dlog(ms, "after arb, intr/exc/err/fc=%.8x",
dlog(ms, "resel? after arb, intr/exc/err/fc=%.8x",
dlog(ms, "tried reset after arb, intr/exc/err/fc=%.8x",
dlog(ms, "start_phase nmo/exc/fc/seq = %.8x",
dlog(ms, "msgout msg=%.8x", MKWORD(ms->n_msgout, ms->msgout[0],
dlog(ms, "bus0 was %.2x explicitly asserting ATN", mr->bus_status0);
dlog(ms,"hace: after explicit ATN bus0=%.2x",mr->bus_status0);
dlog(ms, "enbresel intr/exc/err/fc=%.8x",
dlog(ms, "extra resel err/exc/fc = %.6x",
dlog(ms, "reseldata %x", b);
dlog(ms, "resel prev tgt=%d", prev);
dlog(ms, "resel err/exc=%.4x", MKWORD(0, 0, mr->error, mr->exception));
dlog(ms, "abort", 0);
struct btrfs_dir_log_item *dlog;
dlog = btrfs_item_ptr(eb, i, struct btrfs_dir_log_item);
pr_info("\t\tdir log end %llu\n", btrfs_dir_log_end(eb, dlog));
struct kvm_dirty_log dlog;
rc = ioctl(self->vm_fd, KVM_GET_DIRTY_LOG, &dlog);