Searched refs:shm_arg (Results 1 – 1 of 1) sorted by relevance
581 struct tee_shm *shm_arg = NULL; in optee_shm_register() local598 shm_arg = get_msg_arg(ctx, 1, &msg_arg, &msg_parg); in optee_shm_register()599 if (IS_ERR(shm_arg)) { in optee_shm_register()600 rc = PTR_ERR(shm_arg); in optee_shm_register()623 tee_shm_free(shm_arg); in optee_shm_register()631 struct tee_shm *shm_arg; in optee_shm_unregister() local636 shm_arg = get_msg_arg(ctx, 1, &msg_arg, &msg_parg); in optee_shm_unregister()637 if (IS_ERR(shm_arg)) in optee_shm_unregister()638 return PTR_ERR(shm_arg); in optee_shm_unregister()648 tee_shm_free(shm_arg); in optee_shm_unregister()