Lines Matching refs:tmpref
193 uint32_t param_type, TEEC_TempMemoryReference *tmpref, in teec_pre_process_tmpref() argument
215 shm->size = tmpref->size; in teec_pre_process_tmpref()
217 if (!tmpref->buffer) { in teec_pre_process_tmpref()
218 if (tmpref->size) in teec_pre_process_tmpref()
232 shm->buffer = tmpref->buffer; in teec_pre_process_tmpref()
238 memcpy(shm->shadow_buffer, tmpref->buffer, in teec_pre_process_tmpref()
239 tmpref->size); in teec_pre_process_tmpref()
244 MEMREF_SIZE(param) = tmpref->size; in teec_pre_process_tmpref()
369 &operation->params[n].tmpref, params + n, in teec_pre_process_operation()
398 TEEC_TempMemoryReference *tmpref, in teec_post_process_tmpref() argument
403 if (tmpref->buffer && shm->shadow_buffer) in teec_post_process_tmpref()
404 memcpy(tmpref->buffer, shm->shadow_buffer, in teec_post_process_tmpref()
405 MIN(MEMREF_SIZE(param), tmpref->size)); in teec_post_process_tmpref()
407 tmpref->size = MEMREF_SIZE(param); in teec_post_process_tmpref()
477 &operation->params[n].tmpref, params + n, in teec_post_process_operation()