Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/tee/optee/
Drpc.c277 arg->params[0].u.tmem.buf_ptr = virt_to_phys(pages_list) | in handle_rpc_func_cmd_shm_alloc()
280 arg->params[0].u.tmem.size = tee_shm_get_size(shm); in handle_rpc_func_cmd_shm_alloc()
281 arg->params[0].u.tmem.shm_ref = (unsigned long)shm; in handle_rpc_func_cmd_shm_alloc()
287 arg->params[0].u.tmem.buf_ptr = pa; in handle_rpc_func_cmd_shm_alloc()
288 arg->params[0].u.tmem.size = sz; in handle_rpc_func_cmd_shm_alloc()
289 arg->params[0].u.tmem.shm_ref = (unsigned long)shm; in handle_rpc_func_cmd_shm_alloc()
Dcore.c77 p->u.memref.size = mp->u.tmem.size; in optee_from_msg_param()
79 mp->u.tmem.shm_ref; in optee_from_msg_param()
88 p->u.memref.shm_offs = mp->u.tmem.buf_ptr - pa; in optee_from_msg_param()
136 mp->u.tmem.shm_ref = (unsigned long)p->u.memref.shm; in to_msg_param_tmp_mem()
137 mp->u.tmem.size = p->u.memref.size; in to_msg_param_tmp_mem()
140 mp->u.tmem.buf_ptr = 0; in to_msg_param_tmp_mem()
148 mp->u.tmem.buf_ptr = pa; in to_msg_param_tmp_mem()
Doptee_msg.h181 struct optee_msg_param_tmem tmem; member
Dcall.c606 msg_arg->params->u.tmem.shm_ref = (unsigned long)shm; in optee_shm_register()
607 msg_arg->params->u.tmem.size = tee_shm_get_size(shm); in optee_shm_register()
612 msg_arg->params->u.tmem.buf_ptr = virt_to_phys(pages_list) | in optee_shm_register()
/Linux-v4.19/drivers/xen/
DMakefile28 obj-$(CONFIG_XEN_TMEM) += tmem.o
DKconfig23 with the 'tmem.selfshrink=0' kernel boot parameter; and self-ballooning
24 is enabled by default but can be disabled with the 'tmem.selfballooning=0'
202 (e.g. cleancache and frontswap) to Xen tmem hypercalls.
/Linux-v4.19/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-v4.19/mm/
DKconfig443 bool "Enable cleancache driver to cache clean pages if tmem is present"
466 bool "Enable frontswap to cache swap pages if tmem is present"
/Linux-v4.19/Documentation/admin-guide/
Dkernel-parameters.txt4439 tmem [KNL,XEN]
4442 tmem.cleancache=0|1 [KNL, XEN]
4446 tmem.frontswap=0|1 [KNL, XEN]
4451 tmem.selfballooning=0|1 [KNL, XEN]
4455 tmem.selfshrinking=0|1 [KNL, XEN]