Lines Matching refs:shm_arg
458 struct tee_shm *shm_arg;
482 shm_arg = tee_shm_alloc_priv_buf(ctx, sz);
483 if (IS_ERR(shm_arg)) {
484 rc = PTR_ERR(shm_arg);
487 msg_arg = tee_shm_get_va(shm_arg, 0);
510 if (optee->ops->do_call_with_arg(ctx, shm_arg, 0) ||
514 tee_shm_free(shm_arg);
524 struct tee_shm *shm_arg;
538 shm_arg = tee_shm_alloc_priv_buf(ctx, sz);
539 if (IS_ERR(shm_arg))
540 return PTR_ERR(shm_arg);
541 msg_arg = tee_shm_get_va(shm_arg, 0);
553 if (optee->ops->do_call_with_arg(ctx, shm_arg, 0) ||
557 tee_shm_free(shm_arg);