Searched refs:tmem (Results 1 – 8 of 8) sorted by relevance
142 struct crash_mem *tmem; in get_crash_memory_ranges() local168 tmem = *mem_ranges; in get_crash_memory_ranges()169 if (tmem && (tmem->nr_ranges == tmem->max_nr_ranges)) { in get_crash_memory_ranges()170 tmem = realloc_mem_ranges(mem_ranges); in get_crash_memory_ranges()171 if (!tmem) in get_crash_memory_ranges()176 ret = crash_exclude_mem_range(tmem, crashk_res.start, crashk_res.end); in get_crash_memory_ranges()
360 arg->params[0].u.tmem.buf_ptr = virt_to_phys(pages_list) | in handle_rpc_func_cmd_shm_alloc()363 arg->params[0].u.tmem.size = tee_shm_get_size(shm); in handle_rpc_func_cmd_shm_alloc()364 arg->params[0].u.tmem.shm_ref = (unsigned long)shm; in handle_rpc_func_cmd_shm_alloc()370 arg->params[0].u.tmem.buf_ptr = pa; in handle_rpc_func_cmd_shm_alloc()371 arg->params[0].u.tmem.size = sz; in handle_rpc_func_cmd_shm_alloc()372 arg->params[0].u.tmem.shm_ref = (unsigned long)shm; in handle_rpc_func_cmd_shm_alloc()
69 p->u.memref.size = mp->u.tmem.size; in optee_from_msg_param()71 mp->u.tmem.shm_ref; in optee_from_msg_param()80 p->u.memref.shm_offs = mp->u.tmem.buf_ptr - pa; in optee_from_msg_param()128 mp->u.tmem.shm_ref = (unsigned long)p->u.memref.shm; in to_msg_param_tmp_mem()129 mp->u.tmem.size = p->u.memref.size; in to_msg_param_tmp_mem()132 mp->u.tmem.buf_ptr = 0; in to_msg_param_tmp_mem()140 mp->u.tmem.buf_ptr = pa; in to_msg_param_tmp_mem()
159 struct optee_msg_param_tmem tmem; member
610 msg_arg->params->u.tmem.shm_ref = (unsigned long)shm; in optee_shm_register()611 msg_arg->params->u.tmem.size = tee_shm_get_size(shm); in optee_shm_register()616 msg_arg->params->u.tmem.buf_ptr = virt_to_phys(pages_list) | in optee_shm_register()
127 this transcendent memory (aka "tmem"), which conceptually lies between129 Disallowing direct kernel or userland reads/writes to tmem
22 to the requirements of transcendent memory (such as Xen's "tmem", or
449 bool "Enable cleancache driver to cache clean pages if tmem is present"471 bool "Enable frontswap to cache swap pages if tmem is present"