Lines Matching refs:mem
589 p->u[n].mem.offs = memtag_strip_tag_vaddr((void *)a); in utee_param_to_param()
590 p->u[n].mem.size = b; in utee_param_to_param()
592 if (!p->u[n].mem.offs) { in utee_param_to_param()
594 if (p->u[n].mem.size) in utee_param_to_param()
596 p->u[n].mem.mobj = NULL; in utee_param_to_param()
600 p->u[n].mem.mobj = &mobj_virt; in utee_param_to_param()
707 va = (void *)param->u[n].mem.offs; in tee_svc_copy_param()
708 s = param->u[n].mem.size; in tee_svc_copy_param()
724 ¶m->u[n].mem.mobj, in tee_svc_copy_param()
725 ¶m->u[n].mem.offs); in tee_svc_copy_param()
747 s = ROUNDUP(param->u[n].mem.size, sizeof(uint32_t)); in tee_svc_copy_param()
752 va = (void *)param->u[n].mem.offs; in tee_svc_copy_param()
755 param->u[n].mem.size); in tee_svc_copy_param()
758 param->u[n].mem.offs = dst_offs; in tee_svc_copy_param()
759 param->u[n].mem.mobj = *mobj_tmp; in tee_svc_copy_param()
761 tmp_buf_size[n] = param->u[n].mem.size; in tee_svc_copy_param()
768 va = (void *)param->u[n].mem.offs; in tee_svc_copy_param()
770 param->u[n].mem.offs = dst_offs; in tee_svc_copy_param()
771 param->u[n].mem.mobj = *mobj_tmp; in tee_svc_copy_param()
773 tmp_buf_size[n] = param->u[n].mem.size; in tee_svc_copy_param()
813 sz = param->u[n].mem.size; in tee_svc_update_out_param()