Searched refs:shm_arg (Results 1 – 1 of 1) sorted by relevance
618 struct tee_shm *shm_arg = NULL; in optee_shm_register() local635 shm_arg = get_msg_arg(ctx, 1, &msg_arg, &msg_parg); in optee_shm_register()636 if (IS_ERR(shm_arg)) { in optee_shm_register()637 rc = PTR_ERR(shm_arg); in optee_shm_register()660 tee_shm_free(shm_arg); in optee_shm_register()668 struct tee_shm *shm_arg; in optee_shm_unregister() local673 shm_arg = get_msg_arg(ctx, 1, &msg_arg, &msg_parg); in optee_shm_unregister()674 if (IS_ERR(shm_arg)) in optee_shm_unregister()675 return PTR_ERR(shm_arg); in optee_shm_unregister()685 tee_shm_free(shm_arg); in optee_shm_unregister()