| /optee_os/core/include/mm/ |
| H A D | phys_mem.h | 16 tee_mm_entry_t *nex_phys_mem_mm_find(paddr_t addr); 17 tee_mm_entry_t *nex_phys_mem_core_alloc(size_t size); 18 tee_mm_entry_t *nex_phys_mem_ta_alloc(size_t size); 19 tee_mm_entry_t *nex_phys_mem_alloc2(paddr_t base, size_t size); 28 tee_mm_entry_t *phys_mem_mm_find(paddr_t addr); 29 tee_mm_entry_t *phys_mem_core_alloc(size_t size); 30 tee_mm_entry_t *phys_mem_ta_alloc(size_t size); 31 tee_mm_entry_t *phys_mem_alloc2(paddr_t base, size_t size); 42 static inline tee_mm_entry_t *phys_mem_mm_find(paddr_t addr) in phys_mem_mm_find() 47 static inline tee_mm_entry_t *phys_mem_core_alloc(size_t size) in phys_mem_core_alloc() [all …]
|
| H A D | tee_mm.h | 26 typedef struct _tee_mm_entry_t tee_mm_entry_t; typedef 29 tee_mm_entry_t *entry; 45 tee_mm_entry_t *tee_mm_find(const tee_mm_pool_t *pool, paddr_t addr); 62 uintptr_t tee_mm_get_smem(const tee_mm_entry_t *mm); 71 tee_mm_entry_t *tee_mm_alloc_flags(tee_mm_pool_t *pool, size_t size, 79 static inline tee_mm_entry_t *tee_mm_alloc(tee_mm_pool_t *pool, size_t size) in tee_mm_alloc() 85 tee_mm_entry_t *tee_mm_alloc2(tee_mm_pool_t *pool, paddr_t base, size_t size); 91 void tee_mm_free(tee_mm_entry_t *p); 94 static inline size_t tee_mm_get_size(tee_mm_entry_t *p) in tee_mm_get_size() 100 static inline uint32_t tee_mm_get_offset(tee_mm_entry_t *p) in tee_mm_get_offset() [all …]
|
| H A D | tee_pager.h | 52 void tee_pager_set_alias_area(tee_mm_entry_t *mm_alias);
|
| /optee_os/core/mm/ |
| H A D | phys_mem.c | 73 static tee_mm_entry_t *mm_find(tee_mm_pool_t *p0, tee_mm_pool_t *p1, in mm_find() 83 tee_mm_entry_t *nex_phys_mem_mm_find(paddr_t addr) in nex_phys_mem_mm_find() 88 static tee_mm_entry_t *mm_alloc(tee_mm_pool_t *p0, tee_mm_pool_t *p1, in mm_alloc() 91 tee_mm_entry_t *mm = NULL; in mm_alloc() 101 tee_mm_entry_t *nex_phys_mem_core_alloc(size_t size) in nex_phys_mem_core_alloc() 106 tee_mm_entry_t *nex_phys_mem_ta_alloc(size_t size) in nex_phys_mem_ta_alloc() 111 static tee_mm_entry_t *mm_alloc2(tee_mm_pool_t *p0, tee_mm_pool_t *p1, in mm_alloc2() 121 tee_mm_entry_t *nex_phys_mem_alloc2(paddr_t base, size_t size) in nex_phys_mem_alloc2() 130 tee_mm_entry_t *mm __maybe_unused = NULL; in partial_carve_out() 190 tee_mm_entry_t *phys_mem_mm_find(paddr_t addr) in phys_mem_mm_find() [all …]
|
| H A D | tee_mm.c | 39 sizeof(tee_mm_entry_t)); in tee_mm_init() 63 static void tee_mm_add(tee_mm_entry_t *p, tee_mm_entry_t *nn) in tee_mm_add() 73 tee_mm_entry_t *entry; in tee_mm_stats_allocated() 122 tee_mm_entry_t *tee_mm_alloc_flags(tee_mm_pool_t *pool, size_t size, in tee_mm_alloc_flags() 126 tee_mm_entry_t *entry = NULL; in tee_mm_alloc_flags() 127 tee_mm_entry_t *nn = NULL; in tee_mm_alloc_flags() 138 sizeof(tee_mm_entry_t)); in tee_mm_alloc_flags() 212 static inline bool fit_in_gap(tee_mm_pool_t *pool, tee_mm_entry_t *e, in fit_in_gap() 233 tee_mm_entry_t *tee_mm_alloc2(tee_mm_pool_t *pool, paddr_t base, size_t size) in tee_mm_alloc2() 235 tee_mm_entry_t *entry; in tee_mm_alloc2() [all …]
|
| H A D | page_alloc.c | 50 tee_mm_entry_t *mmv = NULL; in virt_page_alloc() 51 tee_mm_entry_t *mmp = NULL; in virt_page_alloc()
|
| H A D | fobj.c | 145 tee_mm_entry_t *mm = NULL; in rwp_paged_iv_alloc() 222 tee_mm_entry_t *mm = nex_phys_mem_mm_find(pa); in rwp_paged_iv_free() 257 tee_mm_entry_t *mm = NULL; in rwp_unpaged_iv_alloc() 333 tee_mm_entry_t *mm = NULL; in rwp_unpaged_iv_free() 748 tee_mm_entry_t *mm;
|
| H A D | boot_mem.c | 283 tee_mm_entry_t *mm = NULL; in boot_mem_release_unused() 342 tee_mm_entry_t *mm = NULL; in boot_mem_release_tmp_alloc()
|
| H A D | mobj_dyn_shm.c | 36 tee_mm_entry_t *mm;
|
| H A D | pgt_cache.c | 47 tee_mm_entry_t *mm;
|
| H A D | core_mmu.c | 2774 tee_mm_entry_t *mm __maybe_unused = NULL; in carve_out_core_mem()
|
| /optee_os/core/arch/arm/kernel/ |
| H A D | virtualization.c | 57 tee_mm_entry_t *tee_ram; 58 tee_mm_entry_t *ta_ram; 59 tee_mm_entry_t *tables;
|
| H A D | thread_spmc.c | 49 tee_mm_entry_t *mm; 330 tee_mm_entry_t *mm = NULL; in map_buf() 358 tee_mm_entry_t *mm = tee_mm_find(&core_virt_shm_pool, (vaddr_t)va); in unmap_buf() 1169 tee_mm_entry_t *mm, void *buf, size_t blen, size_t flen, in add_mem_op() 1252 tee_mm_entry_t *mm = NULL; in handle_mem_op_tmem() 1434 tee_mm_entry_t *mm = NULL; in handle_mem_frag_tx()
|
| H A D | boot.c | 459 static struct fobj *ro_paged_alloc(tee_mm_entry_t *mm, void *hashes, in ro_paged_alloc() 488 tee_mm_entry_t *mm = NULL; in init_pager_runtime()
|
| H A D | secure_partition.c | 502 tee_mm_entry_t *mm = NULL; in load_binary_sp() 846 tee_mm_entry_t *mm = NULL; in handle_fdt_load_relative_mem_regions() 1159 tee_mm_entry_t *mm = NULL; in handle_fdt_mem_regions()
|
| /optee_os/core/pta/tests/ |
| H A D | transfer_list.c | 151 tee_mm_entry_t *mm = NULL; in transfer_list_tests()
|
| /optee_os/core/arch/arm/mm/ |
| H A D | tee_pager.c | 159 static tee_mm_entry_t *pager_alias_area; 379 void tee_pager_set_alias_area(tee_mm_entry_t *mm) in tee_pager_set_alias_area() 1999 tee_mm_entry_t *mm = NULL; in tee_pager_alloc() 2029 tee_mm_entry_t *mm = NULL; in tee_pager_init_iv_region()
|
| H A D | core_mmu_v7.c | 293 tee_mm_entry_t *mm = NULL; in alloc_l2_table()
|
| H A D | mobj_ffa.c | 90 tee_mm_entry_t *mm;
|
| H A D | core_mmu_lpae.c | 652 tee_mm_entry_t *mm = NULL; in core_mmu_xlat_table_alloc()
|
| /optee_os/core/tee/ |
| H A D | tee_rpmb_fs.c | 2204 tee_mm_entry_t *mm = NULL; in read_fat() 2605 tee_mm_entry_t *mm = tee_mm_alloc(&p, new_size); in rpmb_fs_write_primitive() 2777 tee_mm_entry_t *mm; in rpmb_fs_truncate() 3183 tee_mm_entry_t *mm = NULL; in rpmb_mem_stats()
|
| /optee_os/core/kernel/ |
| H A D | thread.c | 536 tee_mm_entry_t *mm = NULL; in init_thread_stacks()
|
| H A D | ree_fs_ta.c | 685 tee_mm_entry_t *mm;
|
| /optee_os/core/arch/riscv/mm/ |
| H A D | core_mmu_arch.c | 306 tee_mm_entry_t *mm = NULL; in core_mmu_pgt_alloc()
|