Home
last modified time | relevance | path

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

/optee_os/core/arch/arm/mm/
A Dpgt_cache.c43 static struct pgt_parent pgt_parents[PGT_CACHE_SIZE / PGT_NUM_PGT_PER_PAGE]; variable
85 for (n = 0; n < ARRAY_SIZE(pgt_parents); n++) { in pgt_init()
88 SLIST_INIT(&pgt_parents[n].pgt_cache); in pgt_init()
94 p->parent = &pgt_parents[n]; in pgt_init()
95 SLIST_INSERT_HEAD(&pgt_parents[n].pgt_cache, p, link); in pgt_init()
144 for (n = 0; n < ARRAY_SIZE(pgt_parents); n++) { in pop_from_free_list()
145 struct pgt *p = SLIST_FIRST(&pgt_parents[n].pgt_cache); in pop_from_free_list()
148 SLIST_REMOVE_HEAD(&pgt_parents[n].pgt_cache, link); in pop_from_free_list()
149 pgt_parents[n].num_used++; in pop_from_free_list()

Completed in 3 milliseconds