Home
last modified time | relevance | path

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

/linux/drivers/tee/optee/
H A Dsmc_abi.c679 struct optee_call_ctx *call_ctx) in handle_rpc_func_cmd_shm_alloc() argument
735 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()
770 static void free_pages_list(struct optee_call_ctx *call_ctx) in free_pages_list() argument
772 if (call_ctx->pages_list) { in free_pages_list()
773 optee_free_pages_list(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()
780 static void optee_rpc_finalize_call(struct optee_call_ctx *call_ctx) in optee_rpc_finalize_call() argument
787 handle_rpc_func_cmd(struct tee_context * ctx,struct optee * optee,struct optee_msg_arg * arg,struct optee_call_ctx * call_ctx) handle_rpc_func_cmd() argument
815 optee_handle_rpc(struct tee_context * ctx,struct optee_msg_arg * rpc_arg,struct optee_rpc_param * param,struct optee_call_ctx * call_ctx) optee_handle_rpc() argument
893 struct optee_call_ctx call_ctx = { }; optee_smc_do_call_with_arg() local
[all...]
/linux/drivers/vhost/
H A Dvdpa.c189 struct eventfd_ctx *call_ctx = vq->call_ctx.ctx; in vhost_vdpa_virtqueue_cb() local
191 if (call_ctx) in vhost_vdpa_virtqueue_cb()
192 eventfd_signal(call_ctx); in vhost_vdpa_virtqueue_cb()
224 if (!vq->call_ctx.ctx) in vhost_vdpa_setup_vq_irq()
227 ret = irq_bypass_register_producer(&vq->call_ctx.producer, in vhost_vdpa_setup_vq_irq()
228 vq->call_ctx.ctx, irq); in vhost_vdpa_setup_vq_irq()
231 qid, vq->call_ctx.ctx, ret); in vhost_vdpa_setup_vq_irq()
238 irq_bypass_unregister_producer(&vq->call_ctx.producer); in vhost_vdpa_unsetup_vq_irq()
766 if (vq->call_ctx.ctx) { in vhost_vdpa_vring_ioctl()
806 if (vq->call_ctx.ctx) { in vhost_vdpa_vring_ioctl()
[all …]
H A Dvhost.c366 static void vhost_vring_call_reset(struct vhost_vring_call *call_ctx) in vhost_vring_call_reset() argument
368 call_ctx->ctx = NULL; in vhost_vring_call_reset()
369 memset(&call_ctx->producer, 0x0, sizeof(struct irq_bypass_producer)); in vhost_vring_call_reset()
408 vhost_vring_call_reset(&vq->call_ctx); in vhost_vq_reset()
1239 if (dev->vqs[i]->call_ctx.ctx) in vhost_dev_cleanup()
1240 eventfd_ctx_put(dev->vqs[i]->call_ctx.ctx); in vhost_dev_cleanup()
2280 swap(ctx, vq->call_ctx.ctx); in vhost_vring_ioctl()
3277 if (vq->call_ctx.ctx && vhost_notify(dev, vq)) in vhost_signal()
3278 eventfd_signal(vq->call_ctx.ctx); in vhost_signal()
H A Dvhost.h107 struct vhost_vring_call call_ctx; member
/linux/net/sunrpc/auth_gss/
H A Dgss_rpc_xdr.h130 struct gssx_call_ctx call_ctx; member
H A Dgss_rpc_xdr.c795 err = gssx_enc_call_ctx(xdr, &arg->call_ctx); in gssx_enc_accept_sec_context()