Home
last modified time | relevance | path

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

/optee_os/core/include/mm/
H A Dphys_mem.h16 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 Dtee_mm.h26 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 Dtee_pager.h52 void tee_pager_set_alias_area(tee_mm_entry_t *mm_alias);
/optee_os/core/mm/
H A Dphys_mem.c73 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 Dtee_mm.c39 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 Dpage_alloc.c50 tee_mm_entry_t *mmv = NULL; in virt_page_alloc()
51 tee_mm_entry_t *mmp = NULL; in virt_page_alloc()
H A Dfobj.c145 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 Dboot_mem.c283 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 Dmobj_dyn_shm.c36 tee_mm_entry_t *mm;
H A Dpgt_cache.c47 tee_mm_entry_t *mm;
H A Dcore_mmu.c2774 tee_mm_entry_t *mm __maybe_unused = NULL; in carve_out_core_mem()
/optee_os/core/arch/arm/kernel/
H A Dvirtualization.c57 tee_mm_entry_t *tee_ram;
58 tee_mm_entry_t *ta_ram;
59 tee_mm_entry_t *tables;
H A Dthread_spmc.c49 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 Dboot.c459 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 Dsecure_partition.c502 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 Dtransfer_list.c151 tee_mm_entry_t *mm = NULL; in transfer_list_tests()
/optee_os/core/arch/arm/mm/
H A Dtee_pager.c159 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 Dcore_mmu_v7.c293 tee_mm_entry_t *mm = NULL; in alloc_l2_table()
H A Dmobj_ffa.c90 tee_mm_entry_t *mm;
H A Dcore_mmu_lpae.c652 tee_mm_entry_t *mm = NULL; in core_mmu_xlat_table_alloc()
/optee_os/core/tee/
H A Dtee_rpmb_fs.c2204 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 Dthread.c536 tee_mm_entry_t *mm = NULL; in init_thread_stacks()
H A Dree_fs_ta.c685 tee_mm_entry_t *mm;
/optee_os/core/arch/riscv/mm/
H A Dcore_mmu_arch.c306 tee_mm_entry_t *mm = NULL; in core_mmu_pgt_alloc()