Home
last modified time | relevance | path

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

/drivers/tee/optee/
A Dsmc_abi.c735 call_ctx->pages_list = pages_list; in handle_rpc_func_cmd_shm_alloc()
736 call_ctx->num_entries = page_count; in handle_rpc_func_cmd_shm_alloc()
772 if (call_ctx->pages_list) { in free_pages_list()
774 call_ctx->num_entries); in free_pages_list()
775 call_ctx->pages_list = NULL; in free_pages_list()
776 call_ctx->num_entries = 0; in free_pages_list()
782 free_pages_list(call_ctx); in optee_rpc_finalize_call()
787 struct optee_call_ctx *call_ctx) in handle_rpc_func_cmd() argument
792 free_pages_list(call_ctx); in handle_rpc_func_cmd()
893 struct optee_call_ctx call_ctx = { }; in optee_smc_do_call_with_arg() local
[all …]
/drivers/vhost/
A Dvdpa.c179 struct eventfd_ctx *call_ctx = vq->call_ctx.ctx; in vhost_vdpa_virtqueue_cb() local
181 if (call_ctx) in vhost_vdpa_virtqueue_cb()
182 eventfd_signal(call_ctx); in vhost_vdpa_virtqueue_cb()
212 if (!vq->call_ctx.ctx) in vhost_vdpa_setup_vq_irq()
216 vq->call_ctx.ctx, irq); in vhost_vdpa_setup_vq_irq()
219 qid, vq->call_ctx.ctx, ret); in vhost_vdpa_setup_vq_irq()
226 irq_bypass_unregister_producer(&vq->call_ctx.producer); in vhost_vdpa_unsetup_vq_irq()
711 if (vq->call_ctx.ctx) { in vhost_vdpa_vring_ioctl()
751 if (vq->call_ctx.ctx) { in vhost_vdpa_vring_ioctl()
754 cb.trigger = vq->call_ctx.ctx; in vhost_vdpa_vring_ioctl()
[all …]
A Dvhost.c355 static void vhost_vring_call_reset(struct vhost_vring_call *call_ctx) in vhost_vring_call_reset() argument
357 call_ctx->ctx = NULL; in vhost_vring_call_reset()
358 memset(&call_ctx->producer, 0x0, sizeof(struct irq_bypass_producer)); in vhost_vring_call_reset()
396 vhost_vring_call_reset(&vq->call_ctx); in vhost_vq_reset()
1211 if (dev->vqs[i]->call_ctx.ctx) in vhost_dev_cleanup()
1212 eventfd_ctx_put(dev->vqs[i]->call_ctx.ctx); in vhost_dev_cleanup()
2217 swap(ctx, vq->call_ctx.ctx); in vhost_vring_ioctl()
3126 if (vq->call_ctx.ctx && vhost_notify(dev, vq)) in vhost_signal()
3127 eventfd_signal(vq->call_ctx.ctx); in vhost_signal()
A Dvhost.h105 struct vhost_vring_call call_ctx; member

Completed in 17 milliseconds