Searched refs:fmem (Results 1 – 3 of 3) sorted by relevance
64 static TEE_Result set_fmem_param(const struct optee_msg_param_fmem *fmem, in set_fmem_param() argument68 uint64_t global_id = READ_ONCE(fmem->global_id); in set_fmem_param()69 size_t sz = READ_ONCE(fmem->size); in set_fmem_param()78 READ_ONCE(fmem->internal_offs)); in set_fmem_param()82 mem->offs = reg_pair_to_64(READ_ONCE(fmem->offs_high), in set_fmem_param()83 READ_ONCE(fmem->offs_low)); in set_fmem_param()211 res = set_fmem_param(¶ms[n].u.fmem, in copy_in_params()
181 struct optee_msg_param_fmem fmem; member
1094 param->u.fmem.offs_low = offs; in set_fmem()1095 param->u.fmem.offs_high = offs >> 32; in set_fmem()1096 if (param->u.fmem.offs_high != offs >> 32) in set_fmem()1099 param->u.fmem.size = tpm->u.memref.size; in set_fmem()1106 param->u.fmem.global_id = cookie; in set_fmem()1108 param->u.fmem.global_id = OPTEE_MSG_FMEM_INVALID_GLOBAL_ID; in set_fmem()1180 params[n].u.memref.size = arg->params[n].u.fmem.size; in get_rpc_arg_res()1256 internal_offset = READ_ONCE(arg->params->u.fmem.internal_offs); in thread_rpc_alloc()1257 cookie = READ_ONCE(arg->params->u.fmem.global_id); in thread_rpc_alloc()
Completed in 7 milliseconds