Lines Matching refs:memref
257 params[n].u.memref.shm_offs = ip.a; in params_from_user()
258 params[n].u.memref.size = ip.b; in params_from_user()
259 params[n].u.memref.shm = shm; in params_from_user()
288 if (put_user((u64)p->u.memref.size, &up->b)) in params_to_user()
361 params[n].u.memref.shm) in tee_ioctl_open_session()
362 tee_shm_put(params[n].u.memref.shm); in tee_ioctl_open_session()
423 params[n].u.memref.shm) in tee_ioctl_invoke()
424 tee_shm_put(params[n].u.memref.shm); in tee_ioctl_invoke()
481 ip.b = p->u.memref.size; in params_to_supp()
482 if (!p->u.memref.shm) { in params_to_supp()
487 ip.a = p->u.memref.shm_offs; in params_to_supp()
488 ip.c = p->u.memref.shm->id; in params_to_supp()
589 p->u.memref.shm = NULL; in params_from_supp()
590 p->u.memref.shm_offs = 0; in params_from_supp()
591 p->u.memref.size = ip.b; in params_from_supp()