Searched refs:log_ctx (Results 1 – 3 of 3) sorted by relevance
511 struct dc_log_buffer_ctx *log_ctx) in dm_dtn_log_begin() argument515 if (!log_ctx) { in dm_dtn_log_begin()520 dm_dtn_log_append_v(ctx, log_ctx, "%s", msg); in dm_dtn_log_begin()526 struct dc_log_buffer_ctx *log_ctx, in dm_dtn_log_append_v() argument533 if (!log_ctx) { in dm_dtn_log_append_v()556 total = log_ctx->pos + n + 1; in dm_dtn_log_append_v()558 if (total > log_ctx->size) { in dm_dtn_log_append_v()562 memcpy(buf, log_ctx->buf, log_ctx->pos); in dm_dtn_log_append_v()563 kfree(log_ctx->buf); in dm_dtn_log_append_v()565 log_ctx->buf = buf; in dm_dtn_log_append_v()[all …]
36 struct dc_log_buffer_ctx *log_ctx);
389 vq->log_ctx = NULL; in vhost_vq_reset()593 dev->log_ctx = NULL; in vhost_dev_init()1217 if (dev->log_ctx) in vhost_dev_cleanup()1218 eventfd_ctx_put(dev->log_ctx); in vhost_dev_cleanup()1219 dev->log_ctx = NULL; in vhost_dev_cleanup()2413 swap(ctx, d->log_ctx); in vhost_dev_ioctl()2416 d->vqs[i]->log_ctx = d->log_ctx; in vhost_dev_ioctl()2583 if (vq->log_ctx) in vhost_log_write()2584 eventfd_signal(vq->log_ctx); in vhost_log_write()2602 if (vq->log_ctx) in vhost_update_used_flags()[all …]