Home
last modified time | relevance | path

Searched refs:memaccess (Results 1 – 3 of 3) sorted by relevance

/xen/xen/arch/arm/
A Dmem_access.c34 static const xenmem_access_t memaccess[] = { in __p2m_get_mem_access() local
50 *access = memaccess[p2m->default_access]; in __p2m_get_mem_access()
62 *access = memaccess[p2m->default_access]; in __p2m_get_mem_access()
86 if ( index >= ARRAY_SIZE(memaccess) ) in __p2m_get_mem_access()
89 *access = memaccess[index]; in __p2m_get_mem_access()
363 static const p2m_access_t memaccess[] = { in p2m_set_mem_access() local
380 case 0 ... ARRAY_SIZE(memaccess) - 1: in p2m_set_mem_access()
381 a = memaccess[access]; in p2m_set_mem_access()
/xen/xen/arch/x86/mm/
A Dmem_access.c48 static const xenmem_access_t memaccess[] = { in _p2m_get_mem_access() local
66 *access = memaccess[p2m->default_access]; in _p2m_get_mem_access()
77 if ( (unsigned int)a >= ARRAY_SIZE(memaccess) ) in _p2m_get_mem_access()
80 *access = memaccess[a]; in _p2m_get_mem_access()
320 static const p2m_access_t memaccess[] = { in xenmem_access_to_p2m_access() local
337 case 0 ... ARRAY_SIZE(memaccess) - 1: in xenmem_access_to_p2m_access()
338 xaccess = array_index_nospec(xaccess, ARRAY_SIZE(memaccess)); in xenmem_access_to_p2m_access()
339 *paccess = memaccess[xaccess]; in xenmem_access_to_p2m_access()
/xen/tools/tests/xen-access/
A Dxen-access.c386 int memaccess = 0; in main() local
430 memaccess = 1; in main()
436 memaccess = 1; in main()
447 memaccess = 1; in main()
453 memaccess = 1; in main()
459 memaccess = 1; in main()
517 if ( memaccess && altp2m ) in main()
580 if ( memaccess && !altp2m ) in main()

Completed in 6 milliseconds