Home
last modified time | relevance | path

Searched refs:last_ctx (Results 1 – 4 of 4) sorted by relevance

/linux/io_uring/
H A Dtw.c90 struct io_ring_ctx *last_ctx = NULL; in __io_fallback_tw() local
96 if (last_ctx != req->ctx) { in __io_fallback_tw()
97 if (last_ctx) { in __io_fallback_tw()
99 flush_delayed_work(&last_ctx->fallback_work); in __io_fallback_tw()
100 percpu_ref_put(&last_ctx->refs); in __io_fallback_tw()
102 last_ctx = req->ctx; in __io_fallback_tw()
103 percpu_ref_get(&last_ctx->refs); in __io_fallback_tw()
105 if (llist_add(&req->io_task_work.node, &last_ctx->fallback_llist)) in __io_fallback_tw()
106 schedule_delayed_work(&last_ctx->fallback_work, 1); in __io_fallback_tw()
109 if (last_ctx) { in __io_fallback_tw()
[all …]
/linux/drivers/media/platform/st/sti/hva/
H A Dhva-debugfs.c305 struct hva_ctx *last_ctx = &hva->dbg.last_ctx; in last_show() local
307 if (last_ctx->flags & HVA_FLAG_STREAMINFO) { in last_show()
310 hva_dbg_perf_compute(last_ctx); in last_show()
311 format_ctx(s, last_ctx); in last_show()
393 memcpy(&hva->dbg.last_ctx, ctx, sizeof(*ctx)); in hva_dbg_ctx_remove()
/linux/drivers/media/platform/nxp/imx8-isi/
H A Dimx8-isi-m2m.c133 if (m2m->last_ctx != ctx) { in mxc_isi_m2m_device_run()
158 m2m->last_ctx = ctx; in mxc_isi_m2m_device_run()
342 if (m2m->last_ctx == ctx) in mxc_isi_m2m_vb2_unprepare_streaming()
343 m2m->last_ctx = NULL; in mxc_isi_m2m_vb2_unprepare_streaming()
717 m2m->last_ctx = NULL; in mxc_isi_m2m_resume()
/linux/drivers/gpu/drm/i915/gvt/
H A Dgtt.c2283 if (!s->last_ctx[i].valid) in intel_vgpu_emulate_ggtt_mmio_write()
2286 if (s->last_ctx[i].lrca == (off >> info->gtt_entry_size_shift)) in intel_vgpu_emulate_ggtt_mmio_write()
2287 s->last_ctx[i].valid = false; in intel_vgpu_emulate_ggtt_mmio_write()