Searched refs:shm_arg (Results 1 – 1 of 1) sorted by relevance
577 struct tee_shm *shm_arg = NULL; in optee_shm_register() local594 shm_arg = get_msg_arg(ctx, 1, &msg_arg, &msg_parg); in optee_shm_register()595 if (IS_ERR(shm_arg)) { in optee_shm_register()596 rc = PTR_ERR(shm_arg); in optee_shm_register()619 tee_shm_free(shm_arg); in optee_shm_register()627 struct tee_shm *shm_arg; in optee_shm_unregister() local632 shm_arg = get_msg_arg(ctx, 1, &msg_arg, &msg_parg); in optee_shm_unregister()633 if (IS_ERR(shm_arg)) in optee_shm_unregister()634 return PTR_ERR(shm_arg); in optee_shm_unregister()644 tee_shm_free(shm_arg); in optee_shm_unregister()