Home
last modified time | relevance | path

Searched refs:PGT_SIZE (Results 1 – 4 of 4) sorted by relevance

/optee_os/core/include/mm/
H A Dpgt_cache.h15 #define PGT_SIZE (4 * 1024) macro
18 #define PGT_SIZE (1 * 1024) macro
/optee_os/core/mm/
H A Dpgt_cache.c60 #define PGT_PARENT_TBL_COUNT (PGT_PARENT_SIZE / PGT_SIZE)
124 pgt[n].tbl = tbl + n * PGT_SIZE; in alloc_pgt_parent()
377 p->tbl = tee_pager_alloc(PGT_SIZE); in pgt_init()
392 COMPILE_TIME_ASSERT(PGT_SIZE * PGT_NUM_PGT_PER_PAGE == SMALL_PAGE_SIZE); in pgt_init()
402 p->tbl = tbl + m * PGT_SIZE; in pgt_init()
417 static uint8_t pgt_tables[PGT_CACHE_SIZE][PGT_SIZE] in pgt_init()
418 __aligned(PGT_SIZE) __section(".nozi.pgt_cache"); in pgt_init()
438 memset(p->tbl, 0, PGT_SIZE); in pop_from_free_list()
448 tee_pager_release_phys(p->tbl, PGT_SIZE); in push_to_free_list()
466 memset(p->tbl, 0, PGT_SIZE); in pop_from_free_list()
[all …]
/optee_os/core/arch/arm/mm/
H A Dcore_mmu_lpae.c1264 COMPILE_TIME_ASSERT(sizeof(uint64_t) * XLAT_TABLE_ENTRIES == PGT_SIZE); in core_mmu_create_user_map()
1267 memset(dir_info.table, 0, PGT_SIZE); in core_mmu_create_user_map()
H A Dcore_mmu_v7.c569 COMPILE_TIME_ASSERT(L2_TBL_SIZE == PGT_SIZE); in core_mmu_create_user_map()