| /optee_os/core/tee/ |
| H A D | tee_svc.c | 152 return copy_to_user(buf, &uuid, sizeof(TEE_UUID)); in get_prop_tee_dev_id() 167 return copy_to_user(buf, &prot, sizeof(prot)); in get_prop_tee_sys_time_prot_level() 178 return copy_to_user(buf, &to_ta_session(sess)->clnt_id, in get_prop_client_id() 192 return copy_to_user(buf, &endian, sizeof(endian)); in get_prop_client_endian() 203 return copy_to_user(buf, &sess->ctx->uuid, sizeof(TEE_UUID)); in get_prop_ta_app_id() 220 return copy_to_user(buf, &bti_impl, sizeof(bti_impl)); in get_prop_feat_bti_implemented() 238 return copy_to_user(buf, &pauth_impl, sizeof(pauth_impl)); in get_prop_feat_pauth_implemented() 257 return copy_to_user(buf, &v, sizeof(v)); in get_prop_feat_memtag_implemented() 482 res = copy_to_user(prop_type, &prop->prop_type, in syscall_get_property() 498 res2 = copy_to_user(blen, &klen, sizeof(*blen)); in syscall_get_property() [all …]
|
| H A D | tee_supp_plugin_rpc.c | 83 res = copy_to_user(buf_user, va, len); in tee_invoke_supp_plugin_rpc()
|
| H A D | socket.c | 162 res2 = copy_to_user(params[1].memref.buffer, va, in socket_recv() 212 res2 = copy_to_user(params[1].memref.buffer, va, in socket_ioctl()
|
| H A D | tee_svc_cryp.c | 750 res = copy_to_user(size, &key_size, sizeof(key_size)); in op_attr_secret_value_to_user() 757 return copy_to_user(buffer, key + 1, key->key_size); in op_attr_secret_value_to_user() 856 res = copy_to_user(size, &req_size, sizeof(req_size)); in op_attr_bignum_to_user() 873 res = copy_to_user(buffer, bbuf, req_size); in op_attr_bignum_to_user() 971 return copy_to_user(buffer, value, req_size); in op_attr_value_to_user() 1030 res = copy_to_user(size, &key_size, sizeof(key_size)); in op_attr_25519_to_user() 1037 return copy_to_user(buffer, *key, key_size); in op_attr_25519_to_user() 1170 return copy_to_user(dst, &v, sizeof(v)); in put_user_u64() 4079 res = copy_to_user(buf, bbuf, blen); in syscall_cryp_random_number_generate()
|
| H A D | tee_svc_storage.c | 691 res = copy_to_user(info, &bbuf, sizeof(bbuf)); in syscall_storage_next_enum() 695 res = copy_to_user(obj_id, o->pobj->obj_id, o->pobj->obj_id_len); in syscall_storage_next_enum()
|
| H A D | tadb.c | 764 res = copy_to_user((uint8_t *)buf_user + num_bytes, in tee_tadb_ta_read()
|
| H A D | tee_ree_fs.c | 363 res = copy_to_user(data_user_ptr, block + offset, in ree_fs_read_primitive()
|
| /optee_os/core/include/kernel/ |
| H A D | user_access.h | 19 TEE_Result copy_to_user(void *uaddr, const void *kaddr, size_t len); 49 static inline TEE_Result copy_to_user(void *uaddr __unused, in copy_to_user() function 185 __res = copy_to_user((void *)__p, &(_x), sizeof(*__p)); \
|
| /optee_os/core/arch/arm/plat-vexpress/ |
| H A D | vendor_props.c | 57 return copy_to_user(buf, bin, sizeof(bin)); in get_prop_endorsement()
|
| /optee_os/core/kernel/ |
| H A D | ldelf_loader.c | 96 res = copy_to_user((void *)rw_addr, ldelf_data + ldelf_code_size, in ldelf_load_ldelf() 289 res = copy_to_user((void *)usr_stack, arg, arg_size); in ldelf_dump_state() 395 res = copy_to_user(usr_arg, arg, sizeof(*arg)); in ldelf_dlopen() 444 res = copy_to_user(usr_arg, arg, sizeof(*arg)); in ldelf_dlsym() 447 res = copy_to_user(usr_arg->dlsym.symbol, sym, symlen + 1); in ldelf_dlsym()
|
| H A D | embedded_ts.c | 135 res = copy_to_user(data_user, src, len); in read_uncompressed() 182 res = copy_to_user((uint8_t *)data_user + total, bb, in read_compressed()
|
| H A D | user_access.c | 63 TEE_Result copy_to_user(void *uaddr, const void *kaddr, size_t len) in copy_to_user() function
|
| H A D | ree_fs_ta.c | 606 res = copy_to_user((uint8_t *)data_user + num_bytes, in ree_fs_ta_read() 787 res = copy_to_user(data_user, src, len); in buf_ta_read()
|
| H A D | pseudo_ta.c | 409 res = copy_to_user(uptr, kptr, size); in from_bounce_params()
|
| H A D | user_ta.c | 86 res = copy_to_user(up, up_bbuf, sizeof(struct utee_params)); in init_utee_param()
|
| H A D | ldelf_syscalls.c | 595 return copy_to_user(buf, bb, num_bytes); in ldelf_syscall_gen_rnd_num()
|
| /optee_os/core/pta/ |
| H A D | system.c | 127 res = copy_to_user(params[1].memref.buffer, subkey_bbuf, in system_derive_ta_unique_key()
|