Searched refs:pgt (Results 1 – 6 of 6) sorted by relevance
/optee_os/core/arch/arm/mm/ |
A D | pgt_cache.c | 171 static void push_to_cache_list(struct pgt *pgt) in push_to_cache_list() argument 178 return pgt->ctx == ctx && pgt->vabase == vabase; in match_pgt() 183 struct pgt *pgt; in pop_from_cache_list() local 184 struct pgt *p; in pop_from_cache_list() 187 if (!pgt) in pop_from_cache_list() 191 return pgt; in pop_from_cache_list() 202 pgt = p; in pop_from_cache_list() 209 struct pgt *pgt; in pop_least_used_from_cache_list() local 214 if (!pgt) in pop_least_used_from_cache_list() 227 pgt = SLIST_NEXT(pgt, link); in pop_least_used_from_cache_list() [all …]
|
A D | tee_pager.c | 61 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 …]
|
A D | core_mmu.c | 1559 struct vm_region *region, struct pgt **pgt, in set_pg_region() argument 1590 while ((*pgt)->vabase < pg_info->va_base) { in set_pg_region() 1591 *pgt = SLIST_NEXT(*pgt, link); in set_pg_region() 1593 assert(*pgt); in set_pg_region() 1595 assert((*pgt)->vabase == pg_info->va_base); in set_pg_region() 1596 pg_info->table = (*pgt)->tbl; in set_pg_region() 1599 pg_info->table = (*pgt)->tbl; in set_pg_region() 1600 *pgt = SLIST_NEXT(*pgt, link); in set_pg_region() 1891 struct pgt *pgt = NULL; in core_mmu_populate_user_map() local 1906 pgt = SLIST_FIRST(pgt_cache); in core_mmu_populate_user_map() [all …]
|
/optee_os/core/arch/arm/include/mm/ |
A D | pgt_cache.h | 24 struct pgt { struct 36 SLIST_ENTRY(pgt) link; argument 53 SLIST_HEAD(pgt_cache, pgt); 83 static inline void pgt_inc_used_entries(struct pgt *pgt) in pgt_inc_used_entries() argument 85 pgt->num_used_entries++; in pgt_inc_used_entries() 89 static inline void pgt_dec_used_entries(struct pgt *pgt) in pgt_dec_used_entries() argument 92 pgt->num_used_entries--; in pgt_dec_used_entries() 95 static inline void pgt_set_used_entries(struct pgt *pgt, size_t val) in pgt_set_used_entries() argument 105 static inline void pgt_inc_used_entries(struct pgt *pgt __unused) in pgt_inc_used_entries() 109 static inline void pgt_dec_used_entries(struct pgt *pgt __unused) in pgt_dec_used_entries() [all …]
|
A D | tee_pager.h | 225 void tee_pager_pgt_save_and_release_entries(struct pgt *pgt);
|
/optee_os/core/include/mm/ |
A D | tee_mmu_types.h | 102 struct pgt **pgt_array;
|
Completed in 16 milliseconds