Home
last modified time | relevance | path

Searched refs:tmem (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/drivers/tee/optee/
Drpc.c268 arg->params[0].u.tmem.buf_ptr = virt_to_phys(pages_list) | in handle_rpc_func_cmd_shm_alloc()
271 arg->params[0].u.tmem.size = tee_shm_get_size(shm); in handle_rpc_func_cmd_shm_alloc()
272 arg->params[0].u.tmem.shm_ref = (unsigned long)shm; in handle_rpc_func_cmd_shm_alloc()
278 arg->params[0].u.tmem.buf_ptr = pa; in handle_rpc_func_cmd_shm_alloc()
279 arg->params[0].u.tmem.size = sz; in handle_rpc_func_cmd_shm_alloc()
280 arg->params[0].u.tmem.shm_ref = (unsigned long)shm; in handle_rpc_func_cmd_shm_alloc()
Dcore.c68 p->u.memref.size = mp->u.tmem.size; in optee_from_msg_param()
70 mp->u.tmem.shm_ref; in optee_from_msg_param()
79 p->u.memref.shm_offs = mp->u.tmem.buf_ptr - pa; in optee_from_msg_param()
127 mp->u.tmem.shm_ref = (unsigned long)p->u.memref.shm; in to_msg_param_tmp_mem()
128 mp->u.tmem.size = p->u.memref.size; in to_msg_param_tmp_mem()
131 mp->u.tmem.buf_ptr = 0; in to_msg_param_tmp_mem()
139 mp->u.tmem.buf_ptr = pa; in to_msg_param_tmp_mem()
Doptee_msg.h159 struct optee_msg_param_tmem tmem; member
Dcall.c598 msg_arg->params->u.tmem.shm_ref = (unsigned long)shm; in optee_shm_register()
599 msg_arg->params->u.tmem.size = tee_shm_get_size(shm); in optee_shm_register()
604 msg_arg->params->u.tmem.buf_ptr = virt_to_phys(pages_list) | in optee_shm_register()
/Linux-v5.4/Documentation/vm/
Dcleancache.rst127 this transcendent memory (aka "tmem"), which conceptually lies between
129 Disallowing direct kernel or userland reads/writes to tmem
Dfrontswap.rst22 to the requirements of transcendent memory (such as Xen's "tmem", or
/Linux-v5.4/mm/
DKconfig435 bool "Enable cleancache driver to cache clean pages if tmem is present"
457 bool "Enable frontswap to cache swap pages if tmem is present"