Searched refs:log_ctx (Results 1 – 5 of 5) sorted by relevance
467 struct dc_log_buffer_ctx *log_ctx) in dm_dtn_log_begin() argument471 if (!log_ctx) { in dm_dtn_log_begin()476 dm_dtn_log_append_v(ctx, log_ctx, "%s", msg); in dm_dtn_log_begin()481 struct dc_log_buffer_ctx *log_ctx, in dm_dtn_log_append_v() argument488 if (!log_ctx) { in dm_dtn_log_append_v()511 total = log_ctx->pos + n + 1; in dm_dtn_log_append_v()513 if (total > log_ctx->size) { in dm_dtn_log_append_v()517 memcpy(buf, log_ctx->buf, log_ctx->pos); in dm_dtn_log_append_v()518 kfree(log_ctx->buf); in dm_dtn_log_append_v()520 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()1214 if (dev->log_ctx) in vhost_dev_cleanup()1215 eventfd_ctx_put(dev->log_ctx); in vhost_dev_cleanup()1216 dev->log_ctx = NULL; in vhost_dev_cleanup()2390 swap(ctx, d->log_ctx); in vhost_dev_ioctl()2393 d->vqs[i]->log_ctx = d->log_ctx; in vhost_dev_ioctl()2560 if (vq->log_ctx) in vhost_log_write()2561 eventfd_signal(vq->log_ctx); in vhost_log_write()2579 if (vq->log_ctx) in vhost_update_used_flags()[all …]
108 struct eventfd_ctx *log_ctx; member183 struct eventfd_ctx *log_ctx; member
32 struct dc_log_buffer_ctx *log_ctx);