Home
last modified time | relevance | path

Searched refs:pages (Results 1 – 11 of 11) sorted by relevance

/optee_os-3.20.0/core/kernel/
A Dmsg_param.c62 static bool msg_param_extract_pages(paddr_t buffer, paddr_t *pages, in msg_param_extract_pages() argument
104 pages[cnt] = *va; in msg_param_extract_pages()
105 if (pages[cnt] & SMALL_PAGE_MASK) in msg_param_extract_pages()
119 paddr_t *pages = NULL; in msg_param_mobj_from_noncontig() local
132 pages = malloc(msize); in msg_param_mobj_from_noncontig()
133 if (!pages) in msg_param_mobj_from_noncontig()
137 pages, num_pages)) in msg_param_mobj_from_noncontig()
141 mobj = mobj_mapped_shm_alloc(pages, num_pages, page_offset, in msg_param_mobj_from_noncontig()
144 mobj = mobj_reg_shm_alloc(pages, num_pages, page_offset, in msg_param_mobj_from_noncontig()
147 free(pages); in msg_param_mobj_from_noncontig()
/optee_os-3.20.0/core/arch/arm/mm/
A Dmobj_dyn_shm.c44 paddr_t pages[]; member
82 p = mobj_reg_shm->pages[full_offset / SMALL_PAGE_SIZE] + in mobj_reg_shm_get_pa()
86 p = mobj_reg_shm->pages[full_offset / SMALL_PAGE_SIZE]; in mobj_reg_shm_get_pa()
214 res = core_mmu_map_pages(tee_mm_get_smem(r->mm), r->pages, in mobj_reg_shm_inc_map()
296 struct mobj *mobj_reg_shm_alloc(paddr_t *pages, size_t num_pages, in mobj_reg_shm_alloc() argument
321 memcpy(mobj_reg_shm->pages, pages, sizeof(*pages) * num_pages); in mobj_reg_shm_alloc()
325 if (mobj_reg_shm->pages[i] & SMALL_PAGE_MASK) in mobj_reg_shm_alloc()
329 if (!core_pbuf_is(CORE_MEM_NON_SEC, mobj_reg_shm->pages[i], in mobj_reg_shm_alloc()
433 struct mobj *mobj_mapped_shm_alloc(paddr_t *pages, size_t num_pages, in mobj_mapped_shm_alloc() argument
436 struct mobj *mobj = mobj_reg_shm_alloc(pages, num_pages, in mobj_mapped_shm_alloc()
A Dsp_mem.c26 paddr_t pages[]; member
46 struct mobj *sp_mem_new_mobj(uint64_t pages, uint32_t mem_type, bool is_secure) in sp_mem_new_mobj() argument
51 s = mobj_sp_size(pages); in sp_mem_new_mobj()
60 m->mobj.size = pages * SMALL_PAGE_SIZE; in sp_mem_new_mobj()
99 ms->pages[n + *idx] = pa + n * SMALL_PAGE_SIZE; in sp_mem_add_pages()
138 p = ms->pages[offset / SMALL_PAGE_SIZE] + in get_pa()
142 p = ms->pages[offset / SMALL_PAGE_SIZE]; in get_pa()
A Dmobj_ffa.c27 paddr_t pages[]; member
222 mf->pages[n + *idx] = pa + n * SMALL_PAGE_SIZE; in mobj_ffa_add_pages_at()
445 p = mf->pages[full_offset / SMALL_PAGE_SIZE] + in ffa_get_pa()
449 p = mf->pages[full_offset / SMALL_PAGE_SIZE]; in ffa_get_pa()
558 res = core_mmu_map_pages(tee_mm_get_smem(mf->mm), mf->pages, in ffa_inc_map()
/optee_os-3.20.0/core/include/mm/
A Dmobj.h258 struct mobj *mobj_reg_shm_alloc(paddr_t *pages, size_t num_pages,
290 struct mobj *mobj_mapped_shm_alloc(paddr_t *pages, size_t num_pages,
295 static inline struct mobj *mobj_mapped_shm_alloc(paddr_t *pages __unused, in mobj_mapped_shm_alloc()
A Dsp_mem.h81 struct mobj *sp_mem_new_mobj(uint64_t pages, uint32_t mem_type, bool is_secure);
A Dcore_mmu.h493 TEE_Result core_mmu_map_pages(vaddr_t vstart, paddr_t *pages, size_t num_pages,
/optee_os-3.20.0/core/arch/arm/plat-totalcompute/fdts/
A Doptee_sp_manifest.dts32 pages-count = <1>;
/optee_os-3.20.0/
A DCHANGELOG.md3 - Links to the release pages, commits and pull requests merged into this release for:
33 - Links to the release pages, commits and pull requests merged into this release for:
64 - Links to the release pages, commits and pull requests merged into this release for:
94 - Links to the release pages, commits and pull requests merged into this release for:
124 - Links to the release pages, commits and pull requests merged into this release for:
154 - Links to the release pages, commits and pull requests merged into this release for:
184 - Links to the release pages, commits and pull requests merged into this release for:
214 - Links to the release pages, commits and pull requests merged into this release for:
752 pages.
771 * Make pager aliased pages not always writable ([#1551])
[all …]
/optee_os-3.20.0/core/mm/
A Dcore_mmu.c1714 TEE_Result core_mmu_map_pages(vaddr_t vstart, paddr_t *pages, size_t num_pages, in core_mmu_map_pages() argument
1744 if (pages[i] & SMALL_PAGE_MASK) { in core_mmu_map_pages()
1768 core_mmu_set_entry(&tbl_info, idx, pages[i], in core_mmu_map_pages()
/optee_os-3.20.0/lib/libmbedtls/mbedtls/
A DChangeLog2674 https://www.mitls.org/pages/attacks/SLOTH

Completed in 23 milliseconds