Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/tee/optee/
Dsmc_abi.c659 struct optee_call_ctx *call_ctx) in handle_rpc_func_cmd_shm_alloc() argument
723 call_ctx->pages_list = pages_list; in handle_rpc_func_cmd_shm_alloc()
724 call_ctx->num_entries = page_num; in handle_rpc_func_cmd_shm_alloc()
753 static void free_pages_list(struct optee_call_ctx *call_ctx) in free_pages_list() argument
755 if (call_ctx->pages_list) { in free_pages_list()
756 optee_free_pages_list(call_ctx->pages_list, in free_pages_list()
757 call_ctx->num_entries); in free_pages_list()
758 call_ctx->pages_list = NULL; in free_pages_list()
759 call_ctx->num_entries = 0; in free_pages_list()
763 static void optee_rpc_finalize_call(struct optee_call_ctx *call_ctx) in optee_rpc_finalize_call() argument
[all …]
/linux-5.19.10/drivers/vhost/
Dvdpa.c157 struct eventfd_ctx *call_ctx = vq->call_ctx.ctx; in vhost_vdpa_virtqueue_cb() local
159 if (call_ctx) in vhost_vdpa_virtqueue_cb()
160 eventfd_signal(call_ctx, 1); in vhost_vdpa_virtqueue_cb()
190 irq_bypass_unregister_producer(&vq->call_ctx.producer); in vhost_vdpa_setup_vq_irq()
191 if (!vq->call_ctx.ctx) in vhost_vdpa_setup_vq_irq()
194 vq->call_ctx.producer.token = vq->call_ctx.ctx; in vhost_vdpa_setup_vq_irq()
195 vq->call_ctx.producer.irq = irq; in vhost_vdpa_setup_vq_irq()
196 ret = irq_bypass_register_producer(&vq->call_ctx.producer); in vhost_vdpa_setup_vq_irq()
199 qid, vq->call_ctx.producer.token, ret); in vhost_vdpa_setup_vq_irq()
206 irq_bypass_unregister_producer(&vq->call_ctx.producer); in vhost_vdpa_unsetup_vq_irq()
[all …]
Dvhost.c293 static void vhost_vring_call_reset(struct vhost_vring_call *call_ctx) in vhost_vring_call_reset() argument
295 call_ctx->ctx = NULL; in vhost_vring_call_reset()
296 memset(&call_ctx->producer, 0x0, sizeof(struct irq_bypass_producer)); in vhost_vring_call_reset()
332 vhost_vring_call_reset(&vq->call_ctx); in vhost_vq_reset()
692 if (dev->vqs[i]->call_ctx.ctx) in vhost_dev_cleanup()
693 eventfd_ctx_put(dev->vqs[i]->call_ctx.ctx); in vhost_dev_cleanup()
1676 swap(ctx, vq->call_ctx.ctx); in vhost_vring_ioctl()
2482 if (vq->call_ctx.ctx && vhost_notify(dev, vq)) in vhost_signal()
2483 eventfd_signal(vq->call_ctx.ctx, 1); in vhost_signal()
Dvhost.h79 struct vhost_vring_call call_ctx; member
/linux-5.19.10/net/sunrpc/auth_gss/
Dgss_rpc_xdr.h130 struct gssx_call_ctx call_ctx; member
Dgss_rpc_xdr.c729 err = gssx_enc_call_ctx(xdr, &arg->call_ctx); in gssx_enc_accept_sec_context()