Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/include/mm/
A Dpgt_cache.h24 struct pgt { struct
38 SLIST_ENTRY(pgt) link; argument
91 static inline void pgt_push_to_cache_list(struct pgt *pgt __unused) { } in pgt_push_to_cache_list()
94 void pgt_push_to_cache_list(struct pgt *pgt);
106 static inline void pgt_inc_used_entries(struct pgt *pgt) in pgt_inc_used_entries() argument
108 pgt->num_used_entries++; in pgt_inc_used_entries()
112 static inline void pgt_dec_used_entries(struct pgt *pgt) in pgt_dec_used_entries() argument
118 static inline void pgt_set_used_entries(struct pgt *pgt, size_t val) in pgt_set_used_entries() argument
124 static inline void pgt_inc_used_entries(struct pgt *pgt __unused) in pgt_inc_used_entries()
128 static inline void pgt_dec_used_entries(struct pgt *pgt __unused) in pgt_dec_used_entries()
[all …]
A Dtee_pager.h225 void tee_pager_pgt_save_and_release_entries(struct pgt *pgt);
228 tee_pager_pgt_save_and_release_entries(struct pgt *pgt __unused) in tee_pager_pgt_save_and_release_entries()
A Dtee_mmu_types.h116 struct pgt **pgt_array;
/optee_os-3.20.0/core/arch/arm/mm/
A Dpgt_cache.c65 static void free_pgt(struct pgt *pgt) in free_pgt() argument
72 assert(pgt && pgt->parent); in free_pgt()
100 struct pgt *pgt = NULL; in alloc_pgt_parent() local
119 pgt = (struct pgt *)(parent + 1); in alloc_pgt_parent()
133 struct pgt *pgt = NULL; in alloc_pgt() local
483 static void push_to_cache_list(struct pgt *pgt) in push_to_cache_list() argument
495 struct pgt *pgt; in pop_from_cache_list() local
530 struct pgt *pgt = NULL; in pop_least_used_from_cache_list() local
548 pgt = SLIST_NEXT(pgt, link); in pop_least_used_from_cache_list()
857 struct pgt *pgt = NULL; in pgt_pop_from_cache_list() local
[all …]
A Dtee_pager.c61 struct pgt *pgt; member
151 struct pgt pgt; member
305 static bool region_have_pgt(struct vm_paged_region *reg, struct pgt *pgt) in region_have_pgt() argument
521 if (!tblidx.pgt) in pmem_unmap()
784 struct pgt *pgt = reg->pgt_array[n]; in map_pgts() local
895 static struct pgt **
1901 static struct pgt *find_pgt(struct pgt *pgt, vaddr_t va) in find_pgt() argument
1903 struct pgt *p = pgt; in find_pgt()
1913 struct pgt *pgt = NULL; in tee_pager_assign_um_tables() local
1923 struct pgt *p __maybe_unused = find_pgt(pgt, va); in tee_pager_assign_um_tables()
[all …]
/optee_os-3.20.0/core/mm/
A Dcore_mmu.c1567 struct vm_region *region, struct pgt **pgt, in set_pg_region() argument
1597 while ((*pgt)->vabase < pg_info->va_base) { in set_pg_region()
1598 *pgt = SLIST_NEXT(*pgt, link); in set_pg_region()
1600 assert(*pgt); in set_pg_region()
1603 pg_info->table = (*pgt)->tbl; in set_pg_region()
1895 struct pgt *pgt = NULL; in core_mmu_populate_user_map() local
1896 struct pgt *p = NULL; in core_mmu_populate_user_map()
1906 pgt = SLIST_FIRST(pgt_cache); in core_mmu_populate_user_map()
1911 set_pg_region(dir_info, r, &pgt, &pg_info); in core_mmu_populate_user_map()
1915 if (p == pgt) in core_mmu_populate_user_map()
[all …]
A Dvm.c204 struct pgt *p = SLIST_FIRST(&uctx->pgt_cache); in set_um_region()

Completed in 18 milliseconds