Home
last modified time | relevance | path

Searched refs:shm_arg (Results 1 - 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/tee/optee/
H A Dcall.c615 struct tee_shm *shm_arg = NULL; in optee_shm_register() local
632 shm_arg = get_msg_arg(ctx, 1, &msg_arg, &msg_parg); in optee_shm_register()
633 if (IS_ERR(shm_arg)) { in optee_shm_register()
634 rc = PTR_ERR(shm_arg); in optee_shm_register()
657 tee_shm_free(shm_arg); in optee_shm_register()
665 struct tee_shm *shm_arg; in optee_shm_unregister() local
670 shm_arg = get_msg_arg(ctx, 1, &msg_arg, &msg_parg); in optee_shm_unregister()
671 if (IS_ERR(shm_arg)) in optee_shm_unregister()
672 return PTR_ERR(shm_arg); in optee_shm_unregister()
682 tee_shm_free(shm_arg); in optee_shm_unregister()
[all...]
/kernel/linux/linux-6.6/drivers/tee/optee/
H A Dsmc_abi.c458 struct tee_shm *shm_arg; in optee_shm_register() local
482 shm_arg = tee_shm_alloc_priv_buf(ctx, sz); in optee_shm_register()
483 if (IS_ERR(shm_arg)) { in optee_shm_register()
484 rc = PTR_ERR(shm_arg); in optee_shm_register()
487 msg_arg = tee_shm_get_va(shm_arg, 0); in optee_shm_register()
510 if (optee->ops->do_call_with_arg(ctx, shm_arg, 0) || in optee_shm_register()
514 tee_shm_free(shm_arg); in optee_shm_register()
524 struct tee_shm *shm_arg; in optee_shm_unregister() local
538 shm_arg = tee_shm_alloc_priv_buf(ctx, sz); in optee_shm_unregister()
539 if (IS_ERR(shm_arg)) in optee_shm_unregister()
[all...]
H A Doptee_private.h157 struct tee_shm *shm_arg, u_int offs);

Completed in 6 milliseconds