/kernel/linux/linux-5.10/drivers/tee/optee/ |
H A D | rpc.c | 289 struct optee_call_ctx *call_ctx) in handle_rpc_func_cmd_shm_alloc() 354 call_ctx->pages_list = pages_list; in handle_rpc_func_cmd_shm_alloc() 355 call_ctx->num_entries = page_num; in handle_rpc_func_cmd_shm_alloc() 436 static void free_pages_list(struct optee_call_ctx *call_ctx) in free_pages_list() argument 438 if (call_ctx->pages_list) { in free_pages_list() 439 optee_free_pages_list(call_ctx->pages_list, in free_pages_list() 440 call_ctx->num_entries); in free_pages_list() 441 call_ctx->pages_list = NULL; in free_pages_list() 442 call_ctx->num_entries = 0; in free_pages_list() 446 void optee_rpc_finalize_call(struct optee_call_ctx *call_ctx) in optee_rpc_finalize_call() argument 286 handle_rpc_func_cmd_shm_alloc(struct tee_context *ctx, struct optee *optee, struct optee_msg_arg *arg, struct optee_call_ctx *call_ctx) handle_rpc_func_cmd_shm_alloc() argument 451 handle_rpc_func_cmd(struct tee_context *ctx, struct optee *optee, struct tee_shm *shm, struct optee_call_ctx *call_ctx) handle_rpc_func_cmd() argument 496 optee_handle_rpc(struct tee_context *ctx, struct optee_rpc_param *param, struct optee_call_ctx *call_ctx) optee_handle_rpc() argument [all...] |
H A D | optee_private.h | 133 struct optee_call_ctx *call_ctx); 134 void optee_rpc_finalize_call(struct optee_call_ctx *call_ctx);
|
H A D | call.c | 131 struct optee_call_ctx call_ctx = { }; in optee_do_call_with_arg() local 158 optee_handle_rpc(ctx, ¶m, &call_ctx); in optee_do_call_with_arg() 165 optee_rpc_finalize_call(&call_ctx); in optee_do_call_with_arg()
|
/kernel/linux/linux-6.6/drivers/tee/optee/ |
H A D | smc_abi.c | 679 struct optee_call_ctx *call_ctx) in handle_rpc_func_cmd_shm_alloc() 743 call_ctx->pages_list = pages_list; in handle_rpc_func_cmd_shm_alloc() 744 call_ctx->num_entries = page_num; in handle_rpc_func_cmd_shm_alloc() 773 static void free_pages_list(struct optee_call_ctx *call_ctx) in free_pages_list() argument 775 if (call_ctx->pages_list) { in free_pages_list() 776 optee_free_pages_list(call_ctx->pages_list, in free_pages_list() 777 call_ctx->num_entries); in free_pages_list() 778 call_ctx->pages_list = NULL; in free_pages_list() 779 call_ctx->num_entries = 0; in free_pages_list() 783 static void optee_rpc_finalize_call(struct optee_call_ctx *call_ctx) in optee_rpc_finalize_call() argument 676 handle_rpc_func_cmd_shm_alloc(struct tee_context *ctx, struct optee *optee, struct optee_msg_arg *arg, struct optee_call_ctx *call_ctx) handle_rpc_func_cmd_shm_alloc() argument 788 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 814 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...] |
/kernel/linux/linux-5.10/drivers/vhost/ |
H A D | vdpa.c | 70 struct eventfd_ctx *call_ctx = vq->call_ctx.ctx; in vhost_vdpa_virtqueue_cb() local 72 if (call_ctx) in vhost_vdpa_virtqueue_cb() 73 eventfd_signal(call_ctx, 1); in vhost_vdpa_virtqueue_cb() 103 irq_bypass_unregister_producer(&vq->call_ctx.producer); in vhost_vdpa_setup_vq_irq() 104 if (!vq->call_ctx.ctx) in vhost_vdpa_setup_vq_irq() 107 vq->call_ctx.producer.token = vq->call_ctx.ctx; in vhost_vdpa_setup_vq_irq() 108 vq->call_ctx.producer.irq = irq; in vhost_vdpa_setup_vq_irq() 109 ret = irq_bypass_register_producer(&vq->call_ctx in vhost_vdpa_setup_vq_irq() [all...] |
H A D | vhost.c | 301 static void vhost_vring_call_reset(struct vhost_vring_call *call_ctx) in vhost_vring_call_reset() argument 303 call_ctx->ctx = NULL; in vhost_vring_call_reset() 304 memset(&call_ctx->producer, 0x0, sizeof(struct irq_bypass_producer)); in vhost_vring_call_reset() 340 vhost_vring_call_reset(&vq->call_ctx); in vhost_vq_reset() 701 if (dev->vqs[i]->call_ctx.ctx) in vhost_dev_cleanup() 702 eventfd_ctx_put(dev->vqs[i]->call_ctx.ctx); in vhost_dev_cleanup() 1673 swap(ctx, vq->call_ctx.ctx); in vhost_vring_ioctl() 2479 if (vq->call_ctx.ctx && vhost_notify(dev, vq)) in vhost_signal() 2480 eventfd_signal(vq->call_ctx.ctx, 1); in vhost_signal()
|
H A D | vhost.h | 81 struct vhost_vring_call call_ctx; member
|
/kernel/linux/linux-6.6/drivers/vhost/ |
H A D | vdpa.c | 161 struct eventfd_ctx *call_ctx = vq->call_ctx.ctx; in vhost_vdpa_virtqueue_cb() local 163 if (call_ctx) in vhost_vdpa_virtqueue_cb() 164 eventfd_signal(call_ctx, 1); in vhost_vdpa_virtqueue_cb() 194 irq_bypass_unregister_producer(&vq->call_ctx.producer); in vhost_vdpa_setup_vq_irq() 195 if (!vq->call_ctx.ctx) in vhost_vdpa_setup_vq_irq() 198 vq->call_ctx.producer.token = vq->call_ctx.ctx; in vhost_vdpa_setup_vq_irq() 199 vq->call_ctx.producer.irq = irq; in vhost_vdpa_setup_vq_irq() 200 ret = irq_bypass_register_producer(&vq->call_ctx in vhost_vdpa_setup_vq_irq() [all...] |
H A D | vhost.c | 351 static void vhost_vring_call_reset(struct vhost_vring_call *call_ctx) in vhost_vring_call_reset() argument 353 call_ctx->ctx = NULL; in vhost_vring_call_reset() 354 memset(&call_ctx->producer, 0x0, sizeof(struct irq_bypass_producer)); in vhost_vring_call_reset() 391 vhost_vring_call_reset(&vq->call_ctx); in vhost_vq_reset() 980 if (dev->vqs[i]->call_ctx.ctx) in vhost_dev_cleanup() 981 eventfd_ctx_put(dev->vqs[i]->call_ctx.ctx); in vhost_dev_cleanup() 1959 swap(ctx, vq->call_ctx.ctx); in vhost_vring_ioctl() 2765 if (vq->call_ctx.ctx && vhost_notify(dev, vq)) in vhost_signal() 2766 eventfd_signal(vq->call_ctx.ctx, 1); in vhost_signal()
|
H A D | vhost.h | 91 struct vhost_vring_call call_ctx; member
|
/kernel/linux/linux-5.10/net/sunrpc/auth_gss/ |
H A D | gss_rpc_xdr.h | 130 struct gssx_call_ctx call_ctx; member
|
H A D | gss_rpc_xdr.c | 740 err = gssx_enc_call_ctx(xdr, &arg->call_ctx); in gssx_enc_accept_sec_context()
|
/kernel/linux/linux-6.6/net/sunrpc/auth_gss/ |
H A D | gss_rpc_xdr.h | 130 struct gssx_call_ctx call_ctx; member
|
H A D | gss_rpc_xdr.c | 740 err = gssx_enc_call_ctx(xdr, &arg->call_ctx); in gssx_enc_accept_sec_context()
|