Searched refs:tee_mm_pool_t (Results 1 – 8 of 8) sorted by relevance
| /optee_os/core/include/mm/ |
| H A D | tee_mm.h | 39 typedef struct _tee_mm_pool_t tee_mm_pool_t; typedef 45 tee_mm_entry_t *tee_mm_find(const tee_mm_pool_t *pool, paddr_t addr); 53 static inline bool tee_mm_validate(const tee_mm_pool_t *pool, paddr_t addr) in tee_mm_validate() 65 bool tee_mm_init(tee_mm_pool_t *pool, paddr_t lo, paddr_size_t size, 69 void tee_mm_final(tee_mm_pool_t *pool); 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); 108 bool tee_mm_addr_is_within_range(const tee_mm_pool_t *pool, paddr_t addr); 110 bool tee_mm_is_empty(tee_mm_pool_t *pool); [all …]
|
| H A D | core_mmu.h | 281 extern tee_mm_pool_t core_virt_mem_pool; 284 extern tee_mm_pool_t core_virt_shm_pool;
|
| /optee_os/core/mm/ |
| H A D | phys_mem.c | 14 static tee_mm_pool_t *nex_core_pool __nex_bss; 15 static tee_mm_pool_t *nex_ta_pool __nex_bss; 17 static tee_mm_pool_t *init_pool(paddr_t b, paddr_size_t sz, uint32_t flags) in init_pool() 19 tee_mm_pool_t *pool = NULL; in init_pool() 68 static bool is_in_pool_range(tee_mm_pool_t *pool, paddr_t addr) in is_in_pool_range() 73 static tee_mm_entry_t *mm_find(tee_mm_pool_t *p0, tee_mm_pool_t *p1, in mm_find() 88 static tee_mm_entry_t *mm_alloc(tee_mm_pool_t *p0, tee_mm_pool_t *p1, in mm_alloc() 111 static tee_mm_entry_t *mm_alloc2(tee_mm_pool_t *p0, tee_mm_pool_t *p1, in mm_alloc2() 126 static void partial_carve_out(tee_mm_pool_t *pool, paddr_t base, size_t size) in partial_carve_out() 151 static void add_pool_stats(tee_mm_pool_t *pool, struct pta_stats_alloc *stats, in add_pool_stats() [all …]
|
| H A D | tee_mm.c | 15 bool tee_mm_init(tee_mm_pool_t *pool, paddr_t lo, paddr_size_t size, in tee_mm_init() 30 *pool = (tee_mm_pool_t){ in tee_mm_init() 52 void tee_mm_final(tee_mm_pool_t *pool) in tee_mm_final() 71 static size_t tee_mm_stats_allocated(tee_mm_pool_t *pool) in tee_mm_stats_allocated() 88 void tee_mm_get_pool_stats(tee_mm_pool_t *pool, struct pta_stats_alloc *stats, in tee_mm_get_pool_stats() 109 static void update_max_allocated(tee_mm_pool_t *pool) in update_max_allocated() 117 static inline void update_max_allocated(tee_mm_pool_t *pool __unused) in update_max_allocated() 122 tee_mm_entry_t *tee_mm_alloc_flags(tee_mm_pool_t *pool, size_t size, 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() [all …]
|
| H A D | page_alloc.c | 16 static tee_mm_pool_t core_virt_nex_pool __nex_bss; 17 static tee_mm_pool_t core_virt_tee_pool; 19 static void init_virt_pool(tee_mm_pool_t *pool, uint32_t flags, in init_virt_pool() 49 tee_mm_pool_t *pool = NULL; in virt_page_alloc()
|
| H A D | core_mmu.c | 42 tee_mm_pool_t core_virt_mem_pool; 45 tee_mm_pool_t core_virt_shm_pool;
|
| /optee_os/core/tee/ |
| H A D | tee_rpmb_fs.c | 2201 static TEE_Result read_fat(struct rpmb_file_handle *fh, tee_mm_pool_t *p) in read_fat() 2341 tee_mm_pool_t p; in rpmb_fs_open_internal() 2549 tee_mm_pool_t p = { }; in rpmb_fs_write_primitive() 2775 tee_mm_pool_t p; in rpmb_fs_truncate() 3184 tee_mm_pool_t pool = { }; in rpmb_mem_stats()
|
| /optee_os/core/arch/arm/kernel/ |
| H A D | boot.c | 406 static void init_virt_pool(tee_mm_pool_t *virt_pool) in init_virt_pool()
|